[Kamailio-Users] sip phone behind the nat

Daniel-Constantin Mierla miconda at gmail.com
Fri Aug 21 12:55:10 CEST 2009


Hello,

On 21.08.2009 12:52 Uhr, aiphie wrote:
>
>
> Hi,body.
> I'm using the kamailio as a sip server,If in the local network ,It
> works very well ,But when i set the sip server in the internet, When
> starting voice chat,Two sip phone will receive the behind net ip
> address(sip phone's local ip address).
> How i can configure sip server(kamailio) let sip server send sip
> phone's peer ip address using front nat ip address(internet ip address)?
> Any body can give me how to realize it?

you need to enable nathelper module + appropriate lines in config file
and install rtpptoxy.

If you check the default config file you will see at the top some
comments regarding nat traversal and what sed command you can use to
enable it.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/




More information about the Users mailing list