[OpenSIPS-Users] Trouble with nat handling.
Гогичашвили Андрей
a.gogichashvili at ptl.ru
Fri Apr 5 07:06:33 CEST 2013
Hello. Yes, we use it in “Invite method”.
From: voipfreak.net at gmail.com [mailto:voipfreak.net at gmail.com] On Behalf Of Laszlo
Sent: Thursday, April 04, 2013 9:07 PM
To: a.gogichashvili at ptl.ru
Subject: Re: [OpenSIPS-Users] Trouble with nat handling.
Hi Andrei,
Do you use force_rport(); in the config?
2013/4/4 Гогичашвили Андрей <a.gogichashvili at ptl.ru>
Hello! I have some trouble with nat handling.
I have such scheme:
uac1---opensips---(NAT)---uac2
I call to UAC2 and signaling establishment is ok. When UAC2 sends BYE opensips translates 200OK (received from UAC1) to the wrong port.
BYE generated by UAC2 has such via header:
“Via: SIP/2.0/UDP 192.168.18.137:5060;branch=z9hG4bK8b517b11a415”
and the BYE comes from U 2013/04/04 17:21:50.287792 1.1.1.1:59292 -> 2.2.2.2:5068
Where 1.1.1.1 – nat, 2.2.2.2 - opensips
Opensips adds one more via header to the BYE:
Via: SIP/2.0/UDP 2.2.2.2;branch=z9hG4bK7f45.debc1592.0.
and changes first via header by adding received field:
Via: SIP/2.0/UDP 192.168.18.137:5060;received=1.1.1.1;branch=z9hG4bK8b517b11a415
200 OK got from UAC1 opensips tries to send not to 1.1.1.1:59292 but to 1.1.1.1:5060
The question is how can we make opensips to send 200 OK to 59292 port?
Thank you for any help.
_______________________________________________
Users mailing list
Users at lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20130405/a601eda3/attachment.htm>
More information about the Users
mailing list