Problem with siproxd not rewriting request URI
"Steve Langstaff" <[email protected]> Wed, 1 Feb 2006 15:40:49 -0000
| Newsgroups | gmane.network.siproxd |
|---|---|
| Message-ID | <[email protected]> |
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=lnk&kid3432&bid#0486&dat1642