[Freeswitch-users] FS behind NAT issue

Antonio asilva at wirelessmundi.com
Wed May 21 23:40:15 MSD 2014


Hi,

in your external profile, do you have set the parameter
force-register-domain ?

see:
https://wiki.freeswitch.org/wiki/Sofia.conf.xml#force-register-domain


Regards,
António
On Wed, 2014-05-21 at 12:54 -0400, Neo Haux wrote:

> Hi,
> 
> I am trying to use my FS behind a NAT with SIP soft from Internet. So
> I have this setup:
> 
> FS:192.168.2.110 ------ ROUTER (IP=70.70.70.70=myhost.no-ip.info)
> ----- SIP phone (SIP:24.114.103.245)
> 
> 
> I followed the wiki (http://wiki.freeswitch.org/wiki/NAT_Traversal)
> and updated these files:
> 
> external.xml:
> <param name="ext-sip-ip" value="70.70.70.70"/>
> <param name="ext-rtp-ip" value="70.70.70.70"/>
> 
> 
> vars.xml:
> <X-PRE-PROCESS cmd="set" data="bind_server_ip=myhost.no-ip.info"/> 
> 
> 
> When I try to register with the external SIP phone I get this error:
> 
> 
> 2014-05-21 12:47:54.843521 [WARNING] sofia_reg.c:2566 Can't find user
> [1001 at myhost.no-ip.info] from 24.114.103.245 You must define a domain
> called 'myhost.no-ip.info' in your directory and add a user with the
> id="1001" attribute and you must configure your device to use the
> proper domain in it's authentication credentials.
> 
> 
> 
> I don't have a multi-tennant setup, only one domain. I use this FS
> also for SIP device in the same LAN
> 
> freeswitch at internal> eval ${domain}
> 192.168.2.110
> 
> 
> 
> I am missing something ? Any suggestion is welcome!
> 
> Thank you in advance.
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> 
> 
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org


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


Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users mailing list