Thanks Molshe, Made the changes you suggested, but still having the same challenge On Tue, Jun 3, 2014 at 7:44 PM, Moishe Grunstein <max@nysolutions.com> wrote:
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.
Thanks,
Moishe Grunstein
Tornado Computer Systems, Inc.
212.400.7650 888.IPPBX.US *Service Request Email: support@nysolutions.com <support@nysolutions.com> *
Polycom Certified VAR Microsoft Small Business Specialist, Cisco SMB Select Certified
[image: cid:image001.jpg@01C72F94.9EE45D60] <http://www.nysolutions.com/>
Computer Networking * Managed Services * IP Video Surveillance * Network Assessments * Web Solutions * Voice over IP * Disaster Recovery * Network Security * Site Surveys * CMS
*From:* freeswitch-users-bounces@lists.freeswitch.org [mailto: freeswitch-users-bounces@lists.freeswitch.org] *On Behalf Of *Iwada Eja *Sent:* Tuesday, June 03, 2014 2:35 PM *To:* freeswitch-users@lists.freeswitch.org *Subject:* [Freeswitch-users] User Not found
Hi, Im Completely new to Freeswitch and appreciating it
Im trying to dynamically register a user using mod_lua, This is the returned XML from my lua script
<include>
<user id="9090">
<params>
<param name="password" value="9090"/>
<param name="vm-password" value="7000"/>
</params>
<variables>
<variable name="toll_allow" value="domestic,international,local"/>
<variable name="accountcode" value="7000"/>
<variable name="user_context" value="default"/>
<variable name="effective_caller_id_name" value="Jude"/>
<variable name="effective_caller_id_number" value="Jude"/>
<variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/>
<variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/>
<variable name="callgroup" value="techsupport"/>
</variables>
</user>
</include>
however each time i try to make a call with that user, i get a
"
Can't find user [9090@My_IP] from My_IP
You must define a domain called 'My_ip' in your directory and add a user with the id="9090" attribute
and you must configure your device to use the proper domain in it's authentication credentials.
"
However, if i manually create a 9090.xml file adding the same contents, everything works as should
this is my lua.conf
<param name="xml-handler-script" value="dp.lua"/>
<param name="xml-handler-bindings" value="directory"/>
Any help would is highly appreciated!.
Thank You
--
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
FreeSWITCH-users mailing list FreeSWITCH-users@lists.freeswitch.org http://lists.freeswitch.org/mailman/listinfo/freeswitch-users UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users http://www.freeswitch.org
-- Kind Regards Iwada