[Freeswitch-users] Problems with nat

Jonas Gauffin jonas.gauffin at gmail.com
Thu Nov 26 03:03:58 PST 2009


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/e9edb679/attachment-0002.html 


More information about the FreeSWITCH-users mailing list