[OpenSIPS-Users] Opensips answers to the port of contact
Danny Dias
ing.diasdanny at gmail.com
Wed Dec 15 14:44:47 CET 2010
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:1002 at 212.230.19.191>;tag=e00120622626c16co0'
To: "1002" <sip:1002 at 212.230.19.191>'
Call-ID: e96817b8-7393fbe at 192.168.1.15'
CSeq: 54050 REGISTER'
Max-Forwards: 70'
Contact: "1002" <sip:1002 at 192.168.1.15: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:1002 at 212.230.19.191>;tag=e00120622626c16co0'
To: "1002" <sip:1002 at 212.230.19.191>;tag=1b47e1bbb59b4fcc885b2040cbaae1a6.772d'
Call-ID: e96817b8-7393fbe at 192.168.1.15'
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:1002 at 212.230.19.191>;tag=e00120622626c16co0'
To: "1002" <sip:1002 at 212.230.19.191>;tag=1b47e1bbb59b4fcc885b2040cbaae1a6.772d'
Call-ID: e96817b8-7393fbe at 192.168.1.15'
CSeq: 54050 REGISTER'
....
2010/12/15 jose luis millan <doctore96 at gmail.com>:
> There is no rport parameter in the request's via header field.
>
>
>
> On Wed, Dec 15, 2010 at 10:45 AM, Danny Dias <ing.diasdanny at gmail.com> 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
>> Users at lists.opensips.org
>> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>>
>>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
--
Ing. Danny Dias
www.DannTEL.net
More information about the Users
mailing list