Hello Jeff,<div><br></div><div>Here is a related thread;</div><div><a href="http://freeswitch-users.2379917.n2.nabble.com/You-must-define-a-domain-called-xx-com-in-your-directory-td7585944.html">http://freeswitch-users.2379917.n2.nabble.com/You-must-define-a-domain-called-xx-com-in-your-directory-td7585944.html</a></div>
<div><a href="http://lists.freeswitch.org/pipermail/freeswitch-users/2008-September/006232.html">http://lists.freeswitch.org/pipermail/freeswitch-users/2008-September/006232.html</a></div><div><br></div><div>You need to configure your domain and username, but as you can see here your gateway/users are sending the domain '192.168.10.32', but you have not configured this domain in sofia.conf.</div>
<div><br></div><div>If you are using multi-tenant then you'll need to put some more thought into how you're going to approach this.</div><div><br></div><div>If you are not using multi-tenant (i.e. one domain only) then you could force the domain as discussed here;</div>
<div><a href="http://www.feedingedge.co.uk/blog/2010/08/03/techie-post-opensim-and-freeswitch-problems/">http://www.feedingedge.co.uk/blog/2010/08/03/techie-post-opensim-and-freeswitch-problems/</a></div><div><br></div><div>
Hope this helps</div><div><br></div><div>Cal</div><div><br><div class="gmail_quote">On Sun, Apr 14, 2013 at 10:36 AM, Jeff Bernhardt <span dir="ltr"><<a href="mailto:jeff@askcornerstone.net" target="_blank">jeff@askcornerstone.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div>
<div style="direction:ltr;font-size:10pt;font-family:Times New Roman">
Setting up my first test box with Freeswitch. I'm really excited about getting it up and running.
<div><br>
</div>
<div>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:
<div><br>
</div>
<div>[WARNING] sofia_reg.c:2621 Can't find user [<a href="mailto:abcd_1.2.3.4@192.168.10.32" target="_blank">abcd_1.2.3.4@192.168.10.32</a>] from <vitelity-inbound-trunk-ip></div>
<div>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</div>
<div><span style="font-size:10pt">and you must configure your device to use the proper domain in it's authentication credentials.</span> </div>
<div><br>
</div>
<div>I don't know if this is related, but to get around NAT, I have this in vars.xml:</div>
<div><X-PRE-PROCESS cmd="set" data="external_rtp_ip=1.2.3.4"/></div>
<div><X-PRE-PROCESS cmd="set" data="external_sip_ip=1.2.3.4"/></div>
<div><br>
</div>
<div>and this in both internal.xml and external.xml:</div>
<div>
<div><param name="ext-rtp-ip" value="$${external_rtp_ip}"/></div>
<div><param name="ext-sip-ip" value="$${external_sip_ip}"/></div>
</div>
<div><br>
</div>
<div><span style="font-size:10pt">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?</span></div>
<div><span style="font-size:10pt"><br>
</span></div>
<div><span style="font-size:10pt">Thank you.</span></div>
</div>
</div>
</div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>