<div dir="ltr">Thanks Molshe, <div>Made the changes you suggested, but still having the same challenge</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 7:44 PM, Moishe Grunstein <span dir="ltr">&lt;<a href="mailto:max@nysolutions.com" target="_blank">max@nysolutions.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">





<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal">Try either changing the user context to My_IP or if this is a single tenant/domain add force-register-domain=$${domain}  to the sip profile.<u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#333399">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#333399"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#333399">Moishe Grunstein<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#333399">Tornado Computer Systems, Inc.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#333399">212.400.7650 <a href="http://888.IPPBX.US" target="_blank">888.IPPBX.US</a><br>
</span><b><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#76923c">Service Request Email:
<a href="mailto:support@nysolutions.com" target="_blank"><span style="color:blue">support@nysolutions.com</span></a>
</span></b><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#333399"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:&quot;Verdana&quot;,&quot;sans-serif&quot;;color:#333399">Polycom Certified VAR<br>
Microsoft Small Business Specialist, Cisco SMB Select Certified</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#333399"><u></u><u></u></span></p>
<p class="MsoNormal"><a href="http://www.nysolutions.com/" target="_blank"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d;text-decoration:none"><img border="0" width="147" height="68" src="cid:image001.jpg@01CF7F3A.4A920CF0" alt="cid:image001.jpg@01C72F94.9EE45D60"></span></a><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:8.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#c0504d">Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions
 * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS</span><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> <a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a> [mailto:<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank">freeswitch-users-bounces@lists.freeswitch.org</a>]
<b>On Behalf Of </b>Iwada Eja<br>
<b>Sent:</b> Tuesday, June 03, 2014 2:35 PM<br>
<b>To:</b> <a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank">freeswitch-users@lists.freeswitch.org</a><br>
<b>Subject:</b> [Freeswitch-users] User Not found<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal">Hi, Im Completely new to Freeswitch and appreciating it <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Im trying to dynamically register a user using mod_lua, This is the returned XML from my lua script<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">&lt;include&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  &lt;user id=&quot;9090&quot;&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">    &lt;params&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      &lt;param name=&quot;password&quot; value=&quot;9090&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      &lt;param name=&quot;vm-password&quot; value=&quot;7000&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">    &lt;/params&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">    &lt;variables&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      &lt;variable name=&quot;toll_allow&quot; value=&quot;domestic,international,local&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      &lt;variable name=&quot;accountcode&quot; value=&quot;7000&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      &lt;variable name=&quot;user_context&quot; value=&quot;default&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      &lt;variable name=&quot;effective_caller_id_name&quot; value=&quot;Jude&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      &lt;variable name=&quot;effective_caller_id_number&quot; value=&quot;Jude&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      &lt;variable name=&quot;outbound_caller_id_name&quot; value=&quot;$${outbound_caller_name}&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      &lt;variable name=&quot;outbound_caller_id_number&quot; value=&quot;$${outbound_caller_id}&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">      &lt;variable name=&quot;callgroup&quot; value=&quot;techsupport&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">    &lt;/variables&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  &lt;/user&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">  <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">&lt;/include&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">however each time i try to make a call with that user, i get a <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">&quot;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> Can&#39;t find user [9090@My_IP] from My_IP<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">You must define a domain called &#39;My_ip&#39; in your directory and add a user with the id=&quot;9090&quot; attribute<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">and you must configure your device to use the proper domain in it&#39;s authentication credentials.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">&quot;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">However, if i manually create a 9090.xml file  adding the same contents, everything works as should <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">this is my lua.conf<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> &lt;param name=&quot;xml-handler-script&quot; value=&quot;dp.lua&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">    &lt;param name=&quot;xml-handler-bindings&quot; value=&quot;directory&quot;/&gt;<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">  Any help would is highly appreciated!. <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">  Thank You<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
</div>
</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><br clear="all"><div><br></div>-- <br>Kind Regards<br>Iwada<br>
</div>