[OpenSIPS-Users] No final SIP-ACK relayed when callee is using 10.x.x.x IP's

Bogdan-Andrei Iancu bogdan at opensips.org
Thu Apr 11 13:35:22 CEST 2013


Hello Mark,

When dealing with NAT traversal, it really makes no sense what range of 
private IPs the client uses. You should use the functions for nat 
detection from the nathelper module (nat_uac_test() - 
http://www.opensips.org/html/docs/modules/1.9.x/nathelper.html#id292854) 
to find if user is behind NAT or not.

Also, if you want to see a working example of script doing NAT 
traversal, I suggest to check the default cfg file generated via "make 
menuconfig" -> Generate OpenSIPS Script ->  Residential Scrip -> 
Configure Residential Script and enable USE_NAT -> generate the config.

Regards,

Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
http://www.opensips-solutions.com


On 04/11/2013 12:24 PM, Mark Currie wrote:
> Hi,
>
> I have a working OpenSIPS environment where my clients are NAT'ed. I
> originally had to make some changes to the config file to get it to work
> (thanks to the advice given on this list). The system works with various
> client local IP addresses such as 41.x.x.x and 197.x.x.x. However it does
> not work properly when a 10.x.x.x client IP address is used.
>
> It actually works if the 10.x.x.x IP address is the caller and the callee
> has another IP e.g. 41.x.x.x, but if the callee has a 10.x.x.x IP address
> then OpenSIPS does not relay the final SIP-ACK to the callee.
>
> I have confirmed this by tracing on the server itself and the server just
> seems to ignore the final SIP-ACK from the caller.
>
> Please can anyone tell why this is and how to fix it?
>
> Regards
> Markc
>
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>



More information about the Users mailing list