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.

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to