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.
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.
It's a windowsserver which is behind a router. Which profile should local-network-acl be specified on? When I bridge calls to the outside world, should I use sofia/internal/<phoneNumber>@gateway or sofia/external/<phoneNumber>@gateway? On Thu, Nov 26, 2009 at 4:42 PM, Brian West <brian@freeswitch.org> wrote:
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
In this case you should not need 2 profiles either. On Nov 26, 2009, at 1:14 PM, Jonas Gauffin wrote:
It's a windowsserver which is behind a router.
Which profile should local-network-acl be specified on?
When I bridge calls to the outside world, should I use sofia/internal/<phoneNumber>@gateway or sofia/external/<phoneNumber>@gateway?
On Thu, Nov 26, 2009 at 4:42 PM, Brian West <brian@freeswitch.org> wrote: 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
Ok. I've been running this system since FS was a beta. It stopped working after a update. I'll switch to a single profile. What NAT settings should it have? I really want to get rid of the RECOVERY_ON_TIMER_EXPIRE error. On Thu, Nov 26, 2009 at 9:44 PM, Michael Jerris <mike@jerris.com> wrote:
In this case you should not need 2 profiles either.
On Nov 26, 2009, at 1:14 PM, Jonas Gauffin wrote:
It's a windowsserver which is behind a router.
Which profile should local-network-acl be specified on?
When I bridge calls to the outside world, should I use sofia/internal/<phoneNumber>@gateway or sofia/external/<phoneNumber>@gateway?
On Thu, Nov 26, 2009 at 4:42 PM, Brian West <brian@freeswitch.org> wrote:
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
_______________________________________________ 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
participants (3)
-
Brian West
-
Jonas Gauffin
-
Michael Jerris