[Freeswitch-users] using sip-force-contact with a gateway

Julien Chavanton jchavanton at gmail.com
Wed Oct 5 17:52:22 MSD 2011

Hi, I am dealing with an Asterisk server behind NAT that is not set
properly, with its external IP
I am asking them to fix it on there side but I am curious to know if there
is a way to deal with this implemented in FS

Freeswitch --> Internet --> NAT --> Asterisk

In the "200 OK" returned by Asterisk  as the private IP in the "Contact"
FS is returning ACK to the private IP.

<--- 200 OK
---> ACK
<--- 200 OK
---> ACK
<--- 200 OK
---> ACK

It seems   <param name="apply-nat-acl" value="rfc1918"/><param
name="aggressive-nat-detection" value="true"/>

It seems sip-force-contact could patch the problem caused by the remote
Is there a way to us sip-force-contact with gateway instead of an entry in
the directory ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111005/e6476405/attachment.html 

Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list