Re: Problem with siproxd not rewriting request URI
Thomas Ries <[email protected]> Wed, 1 Feb 2006 20:07:05 +0100 (CET)
| Newsgroups | gmane.network.siproxd |
|---|---|
| Message-ID | <[email protected]> |
I'd really like to have more details to see what is going on exactly. Especially the whole SIP communication in front and after siproxd. Don't you have the chance to ask the admin of the machine to assist you to record a debug log? Do you have the chance to reproduce this effect on a machine that you have under control? You should also try with the latest snapshot of siproxd. Regards, /Thomas On 1 Feb, Steve Langstaff wrote: > I have a problem with an installation of siproxd not rewriting a request URI correctly. > > I'm not sure of the version number of siproxd - I don't administer the server - but it's from the back end of 2005. > > The problem that I am seeing is that I can register a contact address correctly, but the incoming INVITE URI is not rewritten to be the contact address, as the following packet fragments show: > > Here is my request to the registrar, before hitting siproxd: > > <--- REGISTER sip:service.provider.com SIP/2.0 > > To: sip:123456-6E0zOJYHXTvTF2aiyCRq+1aTQe2KTcn/@public.gmane.org > From: sip:123456-6E0zOJYHXTvTF2aiyCRq+1aTQe2KTcn/@public.gmane.org > Contact: sip:[email protected]:5065;expires=3600 > > And here is the response: > > ---> SIP/2.0 200 OK > > From: <sip:123456-6E0zOJYHXTvTF2aiyCRq+1aTQe2KTcn/@public.gmane.org> > To: <sip:123456-6E0zOJYHXTvTF2aiyCRq+1aTQe2KTcn/@public.gmane.org>;tag=something > Contact: <sip:[email protected]:5065>;q=0.00;expires=3600 > > So now siproxd knows that to reach sip:123456-6E0zOJYHXTvTF2aiyCRq+1aTQe2KTcn/@public.gmane.org it should rewrite message URIs to sip:[email protected]:5065. > > Now, here is a call coming in to sip:[email protected] > > ---> INVITE sip:[email protected]:5065 SIP/2.0 > > To which my UA responds: > > <--- SIP/2.0 404 Not Found > > Shouldn't the invite have come in with the following instead? > > ---> INVITE sip:[email protected]:5065 SIP/2.0 > > It looks like siproxd rewrote the host:port part of the URI but not the user part. > > > ------------------------------------------------------- > This SF.net email is sponsored by: Splunk Inc. Do you grep through log files > for problems? Stop! Download the new AJAX search engine that makes > searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! > http://sel.as-us.falkag.net/sel?cmd_______________________________________________ > Siproxd-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/siproxd-users -- GnuPG: pub 1024D/87BCDC94 2000-03-19 Thomas Ries <[email protected]> - Fingerprint = 13D1 19F5 77D0 4CEC 8D3F A24E 09FC C18A 87BC DC94 - Key via pgp.openpkg.org / http://www.ries.ch.vu/87BCDC94.pub VoIP: sip:17476691342-rne+wJe3e/u3Jhga2bR/9VaTQe2KTcn/@public.gmane.org | sip:[email protected]
signature.asc
(application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQBD4QbZCfzBioe83JQRAmTKAJ0dDKHrS9ttflzB9m3Cv0yJAcZU1ACdEuUR 0xnVV4/Hpzenk1uNxeXV3cw= =uZu0 -----END PGP SIGNATURE-----