[OpenSIPS-Users] openSIPs behind NAT

Andrew Pogrebennyk andrew.pogrebennyk at portaone.com
Wed Sep 10 11:54:11 CEST 2008

Hi Andrijana,
Check the advertised_address setting at
I didn't understand well what you are trying to accomplish, but it 
sounds like setting advertised_address to the public IP should help you. 
You may also want to check the force_send_socket function. If you 
continue to have problems, please send the verbal description of what 
you are trying to do (e.g. "to setup a server proxying calls from 
internal VPN network to the external network, with rtpproxy in bridged 
mode") and accompany it with the traffic dump made on the server (e.g. 
"tcpdump -s0 -v host .. and port .." or "ngrep -Wbyline -s0 -t SIP"). 
Hope it helps.

Andrijana Popovska wrote:
> Hi all,
> I have just installed OpenSIP Server, and I am quite new to this. 
> I have configured two SIP clients that successfulli regiser to the OpenSIP proxy.
> The OpenSIPs is behind NAT so when I try to establish a call, I can see that the "via" header of the INVITE message sent from the OpenSIP proxy contains the internal address. This make the client to send their responses to the internal address of the openSIP server, so the call can not be established.
> Is there any way that I can force the OpenSIPs to use his external address inteh via header and record-route?
> Thanks for helping me :)

Andrew Pogrebennyk

More information about the Users mailing list