<div dir="ltr">Thanks once again, i've done that also, even shutdown and started up freeswitch with no luck</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Jun 3, 2014 at 8:16 PM, Moishe Grunstein <span dir="ltr"><<a href="mailto:max@nysolutions.com" target="_blank">max@nysolutions.com</a>></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"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">You need to restart sip profile to changes to take effect.<u></u><u></u></span></p><div class="">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333399">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333399"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333399">Moishe Grunstein<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333399">Tornado Computer Systems, Inc.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";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:"Verdana","sans-serif";color:#76923c">Service Request Email:
<a href="mailto:support@nysolutions.com" target="_blank">support@nysolutions.com</a> </span></b><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#333399"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333399">Polycom Certified VAR<br>
Microsoft Small Business Specialist, Cisco SMB Select Certified</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";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:"Arial","sans-serif";color:#1f497d;text-decoration:none"><img border="0" width="147" height="68" src="cid:image001.jpg@01CF7F3E.DC264830" alt="cid:image001.jpg@01C72F94.9EE45D60"></span></a><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";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:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> <u></u></span></p>
</div><p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <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 3:11 PM<br>
<b>To:</b> FreeSWITCH Users Help<br>
<b>Subject:</b> Re: [Freeswitch-users] User Not found<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">Thanks Molshe, <u></u><u></u></p>
<div>
<p class="MsoNormal">Made the changes you suggested, but still having the same challenge<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Tue, Jun 3, 2014 at 7:44 PM, Moishe Grunstein <<a href="mailto:max@nysolutions.com" target="_blank">max@nysolutions.com</a>> wrote:<u></u><u></u></p>
<div>
<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:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333399">Thanks,</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333399"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333399">Moishe Grunstein</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333399">Tornado Computer Systems, Inc.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";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:"Verdana","sans-serif";color:#76923c">Service Request Email:
<a href="mailto:support@nysolutions.com" target="_blank">support@nysolutions.com</a>
</span></b><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:7.5pt;font-family:"Verdana","sans-serif";color:#333399">Polycom Certified VAR<br>
Microsoft Small Business Specialist, Cisco SMB Select Certified</span><u></u><u></u></p>
<p class="MsoNormal"><a href="http://www.nysolutions.com/" target="_blank"><span style="font-size:10.0pt;font-family:"Arial","sans-serif";color:#1f497d;text-decoration:none"><img border="0" width="147" height="68" src="cid:image001.jpg@01CF7F3E.DC264830" alt="cid:image001.jpg@01C72F94.9EE45D60"></span></a><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Calibri","sans-serif";color:#c0504d">Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions
* Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<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</span><u></u><u></u></p>
<div>
<div>
<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"><include><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <user id="9090"><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <params><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <param name="password" value="9090"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <param name="vm-password" value="7000"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> </params><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <variables><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <variable name="toll_allow" value="domestic,international,local"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <variable name="accountcode" value="7000"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <variable name="user_context" value="default"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <variable name="effective_caller_id_name" value="Jude"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <variable name="effective_caller_id_number" value="Jude"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <variable name="callgroup" value="techsupport"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> </variables><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> </user><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"></include><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">"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> Can'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 'My_ip' in your directory and add a user with the id="9090" attribute<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">and you must configure your device to use the proper domain in it's authentication credentials.<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">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"> <param name="xml-handler-script" value="dp.lua"/><u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"> <param name="xml-handler-bindings" value="directory"/><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>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">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" target="_blank">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><u></u><u></u></p>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <br>
Kind Regards<br>
Iwada<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>