<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style><style type="text/css"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Times New Roman;color: #000000;font-size: 10pt;">
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 &quot;abcd_efg&quot; and password is &quot;password,&quot; external IP is 1.2.3.4 and internal is 192.168.10.32. I get registered to Vitelity fine &nbsp;(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 [abcd_1.2.3.4@192.168.10.32] from &lt;vitelity-inbound-trunk-ip&gt;</div>
<div>You must define a domain called '192.168.10.32' in your directory and add a user with the id=&quot;abcd_1.2.3.4&quot; 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>&nbsp;</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>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;external_rtp_ip=1.2.3.4&quot;/&gt;</div>
<div>&lt;X-PRE-PROCESS cmd=&quot;set&quot; data=&quot;external_sip_ip=1.2.3.4&quot;/&gt;</div>
<div><br>
</div>
<div>and this in both internal.xml and external.xml:</div>
<div>
<div>&lt;param name=&quot;ext-rtp-ip&quot; value=&quot;$${external_rtp_ip}&quot;/&gt;</div>
<div>&lt;param name=&quot;ext-sip-ip&quot; value=&quot;$${external_sip_ip}&quot;/&gt;</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>
</body>
</html>