[Freeswitch-users] Newbie question about inbound calls/NAT (yes I checked wiki first:-) )

Jeff Bernhardt jeff at askcornerstone.net
Sun Apr 14 13:36:42 MSD 2013


Setting up my first test box with Freeswitch. I'm really excited about getting it up and running.

I'm trying to get inbound calls working from external using a Vitelity trunk. Let's say my username from Vitelity is "abcd_efg" and password is "password," external IP is 1.2.3.4 and internal is 192.168.10.32. I get registered to Vitelity fine  (their web panel shows I'm registered and fs_cli confirms). However, when I make a call inbound, I get:

[WARNING] sofia_reg.c:2621 Can't find user [abcd_1.2.3.4 at 192.168.10.32] from <vitelity-inbound-trunk-ip>
You must define a domain called '192.168.10.32' in your directory and add a user with the id="abcd_1.2.3.4" attribute
and you must configure your device to use the proper domain in it's authentication credentials.

I don't know if this is related, but to get around NAT, I have this in vars.xml:
<X-PRE-PROCESS cmd="set" data="external_rtp_ip=1.2.3.4"/>
<X-PRE-PROCESS cmd="set" data="external_sip_ip=1.2.3.4"/>

and this in both internal.xml and external.xml:
<param name="ext-rtp-ip" value="$${external_rtp_ip}"/>
<param name="ext-sip-ip" value="$${external_sip_ip}"/>

I have a feeling I've misunderstood something fundamental about setting up Freeswitch for inbound access. I've put in the above configs as per what I've found in the wiki, but I'm not sure how to do what the warning says or if it really means I have something not setup right. What am I doing wrong?

Thank you.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20130414/726dfc47/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list