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@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@internal> eval ${domain}
192.168.2.110



I am missing something ? Any suggestion is welcome!

Thank you in advance.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

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