<div dir="ltr"><div>Hi, Im Completely new to Freeswitch and appreciating it </div><div><br></div><div>Im trying to dynamically register a user using mod_lua, This is the returned XML from my lua script</div><div><br></div>
<div><include></div><div> <user id="9090"></div><div> <params></div><div> <param name="password" value="9090"/></div><div> <param name="vm-password" value="7000"/></div>
<div> </params></div><div> <variables></div><div> <variable name="toll_allow" value="domestic,international,local"/></div><div> <variable name="accountcode" value="7000"/></div>
<div> <variable name="user_context" value="default"/></div><div> <variable name="effective_caller_id_name" value="Jude"/></div><div> <variable name="effective_caller_id_number" value="Jude"/></div>
<div> <variable name="outbound_caller_id_name" value="$${outbound_caller_name}"/></div><div> <variable name="outbound_caller_id_number" value="$${outbound_caller_id}"/></div>
<div> <variable name="callgroup" value="techsupport"/></div><div> </variables></div><div> </user></div><div> </div><div></include></div><div><br></div><div>however each time i try to make a call with that user, i get a </div>
<div>"</div><div> Can't find user [9090@My_IP] from My_IP</div><div>You must define a domain called 'My_ip' in your directory and add a user with the id="9090" attribute</div><div>and you must configure your device to use the proper domain in it's authentication credentials.</div>
<div><br></div><div>"</div><div><br></div><div>However, if i manually create a 9090.xml file adding the same contents, everything works as should </div><div><br></div><div><br></div><div><br></div><div>this is my lua.conf</div>
<div><br></div><div> <param name="xml-handler-script" value="dp.lua"/></div><div> <param name="xml-handler-bindings" value="directory"/></div><div><br></div><div> Any help would is highly appreciated!. </div>
<div><br></div><div> Thank You</div><div><br></div>-- <br>
</div>