Thanks Jose, I've changed some parameters into my UAC and now they have the rport parameter and opensips is now sending the response to the right IP:PORT...the problem is that the UAC never answer with the new REGISTER, take a look:
# U 2010/12/15 14:38:35.256795 95.22.68.138:38318 -> 212.230.19.191:5060 REGISTER sip:212.230.19.191 SIP/2.0' Via: SIP/2.0/UDP 192.168.1.15:5070;branch=z9hG4bK-72e3efa3;rport' From: "1002" <sip:[email protected]>;tag=e00120622626c16co0' To: "1002" <sip:[email protected]>' Call-ID: [email protected]' CSeq: 54050 REGISTER' Max-Forwards: 70' Contact: "1002" <sip:[email protected]:5070>;expires=3600' User-Agent: Linksys/SPA942-5.2.5(a)' Content-Length: 0' Allow: ACK, BYE, CANCEL, INFO, INVITE, NOTIFY, OPTIONS, REFER' Supported: replaces' ' # U 2010/12/15 14:38:35.256795 212.230.19.191:5060 -> 95.22.68.138:38318 SIP/2.0 403 Not Here' Via: SIP/2.0/UDP 192.168.1.15:5070;branch=z9hG4bK-72e3efa3;rport=38318;received=95.22.68.138' From: "1002" <sip:[email protected]>;tag=e00120622626c16co0' To: "1002" <sip:[email protected]>;tag=1b47e1bbb59b4fcc885b2040cbaae1a6.772d' Call-ID: [email protected]' CSeq: 54050 REGISTER' Server: OpenSIPS (1.6.3-notls (x86_64/linux))' Content-Length: 0' ' # U 2010/12/15 14:38:35.256795 212.230.19.191:5060 -> 95.22.68.138:38318 SIP/2.0 401 Unauthorized' Via: SIP/2.0/UDP 192.168.1.15:5070;branch=z9hG4bK-72e3efa3;rport=38318;received=95.22.68.138' From: "1002" <sip:[email protected]>;tag=e00120622626c16co0' To: "1002" <sip:[email protected]>;tag=1b47e1bbb59b4fcc885b2040cbaae1a6.772d' Call-ID: [email protected]' CSeq: 54050 REGISTER' .... 2010/12/15 jose luis millan <[email protected]>: > There is no rport parameter in the request's via header field. > > > > On Wed, Dec 15, 2010 at 10:45 AM, Danny Dias <[email protected]> wrote: >> Hello, >> >> Attached you will find a sip trace of my problem, as you can see, >> OpenSIPS is answering to the public IP (that's ok) but not to the >> public port, instead it sends the answer to the port of the contact, >> obviously, the 401 doesn't reach the UAc and that's why it doesn't >> resend the REGISTER with the "Authorization" header...What should i >> check in my opensips.cfg? >> >> Thanks in advance >> >> -- >> Ing. Danny Dias >> www.DannTEL.net >> >> >> -- >> Ing. Danny Dias >> www.DannTEL.net >> >> _______________________________________________ >> Users mailing list >> [email protected] >> http://lists.opensips.org/cgi-bin/mailman/listinfo/users >> >> > > _______________________________________________ > Users mailing list > [email protected] > http://lists.opensips.org/cgi-bin/mailman/listinfo/users > -- Ing. Danny Dias www.DannTEL.net _______________________________________________ Users mailing list [email protected] http://lists.opensips.org/cgi-bin/mailman/listinfo/users
