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 --
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<mailto:support@nysolutions.com> Polycom Certified VAR Microsoft Small Business Specialist, Cisco SMB Select Certified [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 --
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
You need to restart sip profile to changes to take effect. Thanks, Moishe Grunstein Tornado Computer Systems, Inc. 212.400.7650 888.IPPBX.US Service Request Email: support@nysolutions.com<mailto:support@nysolutions.com> Polycom Certified VAR Microsoft Small Business Specialist, Cisco SMB Select Certified [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 3:11 PM To: FreeSWITCH Users Help Subject: Re: [Freeswitch-users] User Not found 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<mailto: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<http://888.IPPBX.US> Service Request Email: support@nysolutions.com<mailto:support@nysolutions.com> Polycom Certified VAR Microsoft Small Business Specialist, Cisco SMB Select Certified [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> [mailto: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<mailto: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<mailto: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<mailto: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
Thanks once again, i've done that also, even shutdown and started up freeswitch with no luck On Tue, Jun 3, 2014 at 8:16 PM, Moishe Grunstein <max@nysolutions.com> wrote:
You need to restart sip profile to changes to take effect.
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 3:11 PM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] User Not found
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
_________________________________________________________________________ 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
I think your XML schema is not incorrect (see https://wiki.freeswitch.org/wiki/Mod_xml_curl#Section:_directory). Try returning something like the following: <document type="freeswitch/xml"> <section name="directory"> <domain name="somedomain.com"> <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> </domain> </section> </document> On Tue, Jun 3, 2014 at 12:23 PM, Iwada Eja <iwada.bassey@gmail.com> wrote:
Thanks once again, i've done that also, even shutdown and started up freeswitch with no luck
On Tue, Jun 3, 2014 at 8:16 PM, Moishe Grunstein <max@nysolutions.com> wrote:
You need to restart sip profile to changes to take effect.
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 3:11 PM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] User Not found
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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Thank You Zoltan and Molshe, I've been able to solve the Challenge! On Tue, Jun 3, 2014 at 9:10 PM, Zoltan Medveczky <zoltan.medveczky@8x8.com> wrote:
I think your XML schema is not incorrect (see https://wiki.freeswitch.org/wiki/Mod_xml_curl#Section:_directory). Try returning something like the following:
<document type="freeswitch/xml"> <section name="directory"> <domain name="somedomain.com"> <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> </domain> </section> </document>
On Tue, Jun 3, 2014 at 12:23 PM, Iwada Eja <iwada.bassey@gmail.com> wrote:
Thanks once again, i've done that also, even shutdown and started up freeswitch with no luck
On Tue, Jun 3, 2014 at 8:16 PM, Moishe Grunstein <max@nysolutions.com> wrote:
You need to restart sip profile to changes to take effect.
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 3:11 PM *To:* FreeSWITCH Users Help *Subject:* Re: [Freeswitch-users] User Not found
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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
_________________________________________________________________________ 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
Iwada, Weren't you on IRC yesterday? -- Brian West brian@freeswitch.org Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED) On Jun 3, 2014, at 3:48 PM, Iwada Eja <iwada.bassey@gmail.com> wrote:
Thank You Zoltan and Molshe, I've been able to solve the Challenge!
Yes i was Brian, Had the issue Solved there On Wed, Jun 4, 2014 at 2:35 PM, Brian West <brian@freeswitch.org> wrote:
Iwada, Weren't you on IRC yesterday? -- Brian West brian@freeswitch.org
Twitter: @FreeSWITCH , @briankwest http://www.freeswitchbook.com http://www.freeswitchcookbook.com
T: +1.918.420.9001 | F: +1.918.420.9002 | M: +1.918.424.WEST iNUM: +883 5100 1420 9001 ISN: 410*543 Skype:briankwest PGP Key: http://www.bkw.org/key.txt (AB93356707C76CED)
On Jun 3, 2014, at 3:48 PM, Iwada Eja <iwada.bassey@gmail.com> wrote:
Thank You Zoltan and Molshe, I've been able to solve the Challenge!
_________________________________________________________________________ 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
participants (4)
-
Brian West
-
Iwada Eja
-
Moishe Grunstein
-
Zoltan Medveczky