[OpenSIPS-Users] Fixing the Contact Header for NAT
juanbackson at gmail.com
Fri Nov 28 13:37:40 CET 2008
Thank you for taking a look at the problem. I get that it is the
Record-Route that is not pointing back to opensips's public address and
instead it is using opensips private address.
The only place that I specified the private address 192.168.1.101 is when I
start up opensips with the command:
/usr/local/sbin/opensips -l 192.168.1.101:5060 -f opensips.cfg
If I changed that to /usr/local/sbin/opensips -l 233.32.345.5:5060 -f
opensips.cfg, I am getting error saying:
ERROR:core;udp_init: bind(5,0x76512c,16) on 233.32.345.5: Cannot assign
Is this the place where my setup is having problem or is this something
Thanks alot for all your kind help.
On Fri, Nov 28, 2008 at 8:23 PM, Iñaki Baz Castillo <ibc at aliax.net> wrote:
> El Viernes, 28 de Noviembre de 2008, Juan Backson escribió:
> > SIP/2.0 200 OK
> > Via: SIP/2.0/UDP
> > 192.168.1.100:10314;received=22.214.171.124
> > Record-Route: <sip:192.168.1.101;lr=on;ftag=795a0d32;nat=yes>
> This Record-Route means that the UAC MUST send the ACK to address
> 192.168.1.101 adding a Route header with same content. Is it feasible for
> UAC to send the ACK to that private address?
> > Contact: <sip:mod_sofia at 233.32.345.5:5800;transport=udp>
> This Contact means that, when the ACK arrives to the proxy, it must forward
> to address 233.32.345.5:5800 (since proxy does loose_routing and deletes
> Iñaki Baz Castillo
> Users mailing list
> Users at lists.opensips.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Users