Incorrect (?) quoting means ekiga/libopal can't connect to some sip services

Bug #297123 reported by David Gibson
8
Affects Status Importance Assigned to Milestone
opal (Ubuntu)
Fix Released
Undecided
Unassigned
Intrepid
Fix Released
Undecided
Unassigned
Jaunty
Fix Released
Undecided
Unassigned

Bug Description

I was unable to connect to my ISP's VOIP service (Internode Australia's "NodePhone") using Ekiga. It always gave a "Forbidden" error message when attempting to register. I was able to connect with Twinkle and with sipsak.

After some wiresharking and experimentation I discovered that this was because Ekiga was putting double quotes around the nonce count field of the Authorization header (e.g. nc="00000001") whereas the other clients were not (e.g. nc=00000001). Apparently the extra quotes caused this particular SIP server to reject the registration with a "403 Forbidden".

This bug already appears to have been fixed in libopal's upstream SVN (see http://www.opalvoip.org/websvn/comp.php?repname=Opal&path=%2F&compare[]=%2Fopal%2Ftrunk%2Fsrc%2Fsip@19230&compare[]=%2Fopal%2Ftrunk%2Fsrc%2Fsip@19241). But it would certainly be nice to pull the fix back into intrepid.

I'm currently in the process of uploading a package with the fix to my PPA.

Revision history for this message
David Gibson (dwg) wrote :

Fixed package is now ready in my PPA. With this installed I'm able to connect to NodePhone with Ekiga and make calls.

Revision history for this message
David Gibson (dwg) wrote :
Revision history for this message
Martin Pitt (pitti) wrote :

Fixed in Jaunty's 3.4.2.

Changed in opal:
status: New → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Sponsored to intrepid-proposed.

Changed in opal:
status: New → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Accepted into intrepid-proposed, please test and give feedback here. Please see https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in opal:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

David, anyone else, can you please test the intrepid-proposed package?

Revision history for this message
David Gibson (dwg) wrote :

Sorry, I've been away over Christmas. Looks like the 2.0.12-0ubuntu5 package works, or at least, doesn't suffer from this particular bug.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package opal - 2.2.11~dfsg1-4ubuntu1

---------------
opal (2.2.11~dfsg1-4ubuntu1) intrepid-proposed; urgency=low

  * Don't quote nonce count in Authorization header, this fixes
    problems connection to some SIP services including NodePhone
    (Internode, Australia). Backported from upstream SVN.
    (LP: #297123)

 -- David Gibson <email address hidden> Wed, 12 Nov 2008 20:51:58 +1100

Changed in opal:
status: Fix Committed → Fix Released
Revision history for this message
Darren Spiteri (dspiteri) wrote :

This bug affects Hardy LTS as well. I applied this patch and Ekiga now works fine with Nodephone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.