Cannot Do this Basic thing
I have copied 1001.xml in directory/default to a test user 2319.xm changing or instances of 1001 in the file to 2319. I then went into default.xml in directory folder and in one of the groups just mimicked 1001 details by changing 1001 to 2319. Connecting to FS gives Forbidden message. However 1001 connects without a problem. What have I missed ? Is there a place that just puts things in do this and that and that to create a new user ? Thanks
On Thu, Dec 3, 2009 at 9:46 AM, Samuel Abekah-Mensah <abeka@greatiam.com>wrote:
I have copied 1001.xml in directory/default to a test user 2319.xm changing or instances of 1001 in the file to 2319. I then went into default.xml in directory folder and in one of the groups just mimicked 1001 details by changing 1001 to 2319.
Connecting to FS gives Forbidden message. However 1001 connects without a problem. What have I missed ?
Is there a place that just puts things in do this and that and that to create a new user ?
Did you execute "reloadxml" from the fs cli before trying to connect with 2319? Also I'm assuming that "2319.xm" is a typo and you actually created "2319.xml" in the default/directory subdir. -MC
Hi Sorry .xm is a typo. I actually shut down the server and restarted. The log says I need to create a domain of aaa.bbb.ccc.ddd (which is the server IP address ) and then put the user in that domain. Isn't the default domain that of the server FS is running on ? 2319.xml is in /usr/local/freeswitch/conf/directory/default/ Thanks for your time Michael Collins wrote:
On Thu, Dec 3, 2009 at 9:46 AM, Samuel Abekah-Mensah <abeka@greatiam.com <mailto:abeka@greatiam.com>> wrote:
I have copied 1001.xml in directory/default to a test user 2319.xm changing or instances of 1001 in the file to 2319. I then went into default.xml in directory folder and in one of the groups just mimicked 1001 details by changing 1001 to 2319.
Connecting to FS gives Forbidden message. However 1001 connects without a problem. What have I missed ?
Is there a place that just puts things in do this and that and that to create a new user ?
Did you execute "reloadxml" from the fs cli before trying to connect with 2319? Also I'm assuming that "2319.xm" is a typo and you actually created "2319.xml" in the default/directory subdir. -MC
On Thu, Dec 3, 2009 at 10:34 AM, Samuel Abekah-Mensah <abeka@greatiam.com>wrote:
Hi
Sorry .xm is a typo. I actually shut down the server and restarted. The log says I need to create a domain of aaa.bbb.ccc.ddd (which is the server IP address ) and then put the user in that domain. Isn't the default domain that of the server FS is running on ? 2319.xml is in /usr/local/freeswitch/conf/directory/default/
Thanks for your time
Okay, here's exactly what I did: cd /usr/local/freeswitch/conf/directory/default cp 1001.xml 2319.xml perl -pi -e 's/1001/2319/g' 2319.xml cat 2319.xml <include> <user id="2319"> <params> <param name="password" value="$${default_password}"/> <param name="vm-password" value="2319"/> </params> <variables> <variable name="toll_allow" value="domestic,international,local"/> <variable name="accountcode" value="2319"/> <variable name="user_context" value="default"/> <variable name="effective_caller_id_name" value="Extension 2319"/> <variable name="effective_caller_id_number" value="2319"/> <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> Then I logged into fs_cli, pressed F6 (which does "reloadxml") and then I set up my x-lite: Display Name: Test User name: 2319 Password: 1234 Authorization user name: 2319 Domain: 10.15.0.91 It registered just fine as can be seen by the output of "sofia status profile internal": <snip> Call-ID: MzRiOGI4NTA2YjA0ZTkzMDYwZjA3MTlkZGQ3ZjNhMjg. User: 2319@10.15.0.91 Contact: "Test" <sip:2319@10.15.0.124:41680 ;rinstance=09c51f8aa23d6738> Agent: X-Lite release 1014k stamp 47051 Status: Registered(UDP)(unknown) EXP(2009-12-03 13:41:38) Host: freeswitch1.yt IP: 10.15.0.124 Port: 41680 Auth-User: 2319 Auth-Realm: 10.15.0.91 MWI-Account: 2319@10.15.0.91 So, most likely you've got an issue with the XML file itself or the configuration on your SIP device. Double check the username and auth username values. If need be delete your 2319.xml file and start over. -MC
Hi Sorry .xm is a typo. I actually shut down the server and restarted. The log says I need to create a domain of aaa.bbb.ccc.ddd (which is the server IP address ) and then put the user in that domain. Isn't the default domain that of the server FS is running on ? 2319.xml is in /usr/local/freeswitch/conf/directory/default/ Thanks for your time Michael Collins wrote:
On Thu, Dec 3, 2009 at 9:46 AM, Samuel Abekah-Mensah <abeka@greatiam.com <mailto:abeka@greatiam.com>> wrote:
I have copied 1001.xml in directory/default to a test user 2319.xm changing or instances of 1001 in the file to 2319. I then went into default.xml in directory folder and in one of the groups just mimicked 1001 details by changing 1001 to 2319.
Connecting to FS gives Forbidden message. However 1001 connects without a problem. What have I missed ?
Is there a place that just puts things in do this and that and that to create a new user ?
Did you execute "reloadxml" from the fs cli before trying to connect with 2319? Also I'm assuming that "2319.xm" is a typo and you actually created "2319.xml" in the default/directory subdir. -MC
Hi Sorry .xm is a typo. I actually shut down the server and restarted. The log says I need to create a domain of aaa.bbb.ccc.ddd (which is the server IP address ) and then put the user in that domain. Isn't the default domain that of the server FS is running on ? 2319.xml is in /usr/local/freeswitch/conf/directory/default/ Thanks for your time Michael Collins wrote:
On Thu, Dec 3, 2009 at 9:46 AM, Samuel Abekah-Mensah <abeka@greatiam.com <mailto:abeka@greatiam.com>> wrote:
I have copied 1001.xml in directory/default to a test user 2319.xm changing or instances of 1001 in the file to 2319. I then went into default.xml in directory folder and in one of the groups just mimicked 1001 details by changing 1001 to 2319.
Connecting to FS gives Forbidden message. However 1001 connects without a problem. What have I missed ?
Is there a place that just puts things in do this and that and that to create a new user ?
Did you execute "reloadxml" from the fs cli before trying to connect with 2319? Also I'm assuming that "2319.xm" is a typo and you actually created "2319.xml" in the default/directory subdir. -MC
You didn't say the exact error was. was 10.15.0.91 == aaa.bbb.ccc.ddd ? 2009/12/4 Samuel Abekah-Mensah <abeka@greatiam.com>:
Hi
Sorry .xm is a typo. I actually shut down the server and restarted. The log says I need to create a domain of aaa.bbb.ccc.ddd (which is the server IP address ) and then put the user in that domain. Isn't the default domain that of the server FS is running on ? 2319.xml is in /usr/local/freeswitch/conf/directory/default/
Thanks for your time
Michael Collins wrote:
On Thu, Dec 3, 2009 at 9:46 AM, Samuel Abekah-Mensah <abeka@greatiam.com <mailto:abeka@greatiam.com>> wrote:
I have copied 1001.xml in directory/default to a test user 2319.xm changing or instances of 1001 in the file to 2319. I then went into default.xml in directory folder and in one of the groups just mimicked 1001 details by changing 1001 to 2319.
Connecting to FS gives Forbidden message. However 1001 connects without a problem. What have I missed ?
Is there a place that just puts things in do this and that and that to create a new user ?
Did you execute "reloadxml" from the fs cli before trying to connect with 2319? Also I'm assuming that "2319.xm" is a typo and you actually created "2319.xml" in the default/directory subdir. -MC
_______________________________________________ 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
participants (3)
-
Michael Collins
-
Samuel Abekah-Mensah
-
Seven Du