[Freeswitch-users] Problems with nat

Brian West brian at freeswitch.org
Thu Nov 26 07:42:37 PST 2009


Are you doing this all on a linux box thats acting as your router  
too?  If not you don't need two profiles... you also don't need to set  
the local-network-acl on ANY profile that isn't do anything with nat.

/b

On Nov 26, 2009, at 5:03 AM, Jonas Gauffin wrote:

> I got a freeswitch that is behind nat and got three profiles.
>
> External (all calls are going through a proxy):
>     <param name="rtp-ip" value="$${local_ip_v4}"/>
>     <param name="sip-ip" value="$${local_ip_v4}"/>
>     <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
>     <param name="ext-sip-ip" value="$${external_sip_ip}"/>
>     <param name="local-network-acl" value="localnet.auto"/>
>
> Internal (phones on the same lan as FS)
>     <param name="rtp-ip" value="$${local_ip_v4}"/>
>     <param name="sip-ip" value="$${local_ip_v4}"/>
>     <param name="local-network-acl" value="localnet.auto"/>
>
> Wan (phones that are not in the same LAN, connecting from internet)
>     <param name="rtp-ip" value="$${local_ip_v4}"/>
>     <param name="sip-ip" value="$${local_ip_v4}"/>
>     <param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
>     <param name="ext-sip-ip" value="$${external_sip_ip}"/>
>     <param name="local-network-acl" value="localnet.auto"/>
>
> The problem is that phones registered on the internal profile gets  
> RECOVERY_ON_TIMER_EXPIRE error after 40-60 seconds. Audio works fine  
> in all profiles.
>
> Log from a call:
> http://pastebin.freeswitch.org/11303
>
> I'm running freeswitch with the -nonat option.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091126/e7541c6f/attachment-0002.html 


More information about the FreeSWITCH-users mailing list