Bug in sip_rewrite_contact()

"Michael Procter" <[email protected]> Thu, 18 Aug 2005 13:25:19 +0100
Newsgroups gmane.network.siproxd
Message-ID <[email protected]>
Hi,

I have been trying to use siproxd in association with Free World Dialup,
just as an outbound proxy, and it normally works.  But I have found one
failure case concerning registration.

FWD supports several endpoints registering for the same number at the
same time.  When I register a new endpoint, the 200 response contains
a list of all currently registered contacts, and this is where the
problem lies.

sip_rewrite_contact attempts to translate the contact back to the
'true url', but it only does this for the first contact listed in the
message.  As it happens, I needed it to translate the 2nd contact in a
list of 3 contacts.

Because this translation doesn't take place, my User Agent thinks that
the registration has failed, since it can't find itself on the list of
registered contacts.

Regards,

Michael Procter


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf