[OpenSIPS-Users] Fixing the Contact Header for NAT

Juan Backson juanbackson at gmail.com
Fri Nov 28 13:37:40 CET 2008

Hi Inaki

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 is when I
start up opensips with the command:
/usr/local/sbin/opensips -l -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
requested address.

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
> >;received=
> ;branch=z9hG4bK-d87543-822f892d753
> >fdb57-1--d87543-;rport=10152
> > Record-Route: <sip:;lr=on;ftag=795a0d32;nat=yes>
> This Record-Route means that the UAC MUST send the ACK to address
> adding a Route header with same content. Is it feasible for
> the
> 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
> it
> to address 233.32.345.5:5800 (since proxy does loose_routing and deletes
> top
> Route).
> --
>  Iñaki Baz Castillo
> _______________________________________________
> 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/20081128/43ea55c1/attachment-0001.htm 

More information about the Users mailing list