[OpenSIPS-Users] NAT configuration residential script
Vlad Paiu
vladpaiu at opensips.org
Wed Dec 3 12:57:49 CET 2014
Hello,
Always using rtpproxy_engage() on the initlal INVITE is not an ideal
solution.
At the script level, in OpenSIPS you can know if either the source or
destination is NATed.
The residential script can be configured to properly support NAT - do
'make menuconfig' , then go to 'Generate OpenSIPS Script' -> Residenti
Script -> Configure Residential Script, and Check USE_NAT option (
spacebar key ), then go back ( q key ) and hit Generate Residential Script .
That should give you a good starting point on how to properly handle
both the source and destination NAT.
Best Regards,
Vlad Paiu
OpenSIPS Developer
http://www.opensips-solutions.com
On 03.12.2014 06:50, campusvtv wrote:
> Hello,
>
> I'm tryng residential script in a basic scenario.
>
> I'm using Jitsi and XLite for my tests. Both are behind a NAT and
> OpenSIPs listen on a Public IP.
>
> If I call from Jitsi to X-LIte the audio work on both ways because
> OpenSIPs detect JITSI SDP INVITE contain a private address:
>
> c=IN IP4 192.168.1.4.
>
> and change it to rtpproxy public address before send INVITE to X-Lite
> because I'm using nat_uac_test(31) where "8 - SDP is searched for
> occurrence of RFC1918 / RFC6598 addresses"
>
> If I call from X-Lite to Jitsi, audio only on X-Lite.
>
> The problem is on Jitsi SDP 200 ok there is this line:
>
> c=IN IP4 192.168.1.4.
>
> So X-Lite try to send RPT stream to this address.
>
> If I use rtpproxy_engage on the initial INVITE, audio work always but
> I think not is the best solution.
>
> Any hint?
>
> Regards
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
More information about the Users
mailing list