[Freeswitch-users] User Not found

Moishe Grunstein max at nysolutions.com
Tue Jun 3 22:44:16 MSD 2014


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 at nysolutions.com<mailto:support at nysolutions.com>
Polycom Certified VAR
Microsoft Small Business Specialist, Cisco SMB Select Certified
[cid:image001.jpg at 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 at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Iwada Eja
Sent: Tuesday, June 03, 2014 2:35 PM
To: freeswitch-users at 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 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/e64122aa/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2424 bytes
Desc: image001.jpg
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140603/e64122aa/attachment.jpg 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list