[Freeswitch-users] User Not found
Iwada Eja
iwada.bassey at gmail.com
Tue Jun 3 22:35:11 MSD 2014
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 at 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
--
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140603/58b915dc/attachment.html
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users
mailing list