Dear all, I am new to FreeSwitch. I added a new user ext 1100 by below two steps. 1. Create a new XML file for the user, usually by copying an existing file 2. Modify the Local_Extension Dialplan entry Now, I tried to connect to the FS Server using SIP protocol and Soft Phone X-lite. On X-lite, it is giving error "Account cant be enable" At FS CLI, it is giving the error freeswitch@ankit-PC> 2011-06-14 13:37:45.695430 [WARNING] sofia_reg.c:1872 Can't find user [1100@192.168.1.5] You must define a domain called '192.168.1.5' in your directory and add a user w ith the id="1100" attribute and you must configure your device to use the proper domain in it's authenticati on credentials. 2011-06-14 13:37:45.703430 [WARNING] sofia_reg.c:1030 SIP auth failure (REGISTER ) on sofia profile 'internal' for [1100@192.168.1.5] from ip 192.168.1.5 I reloaded the XML also. My SIP soft phone and my Freeswitch server is at the same machine having same IP address. I did some hit and trial and also tried to find on mailing list. I could not find what could be the problem. Please help. Thanks Ankit -- Life is like a rose its upto u feel it as its fragrance or thorns
freeswitch@ankit-PC> 2011-06-14 13:37:45.695430 [WARNING] sofia_reg.c:1872 Can't find user [1100@192.168.1.5] You must define a domain called '192.168.1.5' in your directory and add a user w ith the id="1100" attribute and you must configure your device to use the proper domain in it's authenticati on credentials. 2011-06-14 13:37:45.703430 [WARNING] sofia_reg.c:1030 SIP auth failure (REGISTER ) on sofia profile 'internal' for [1100@192.168.1.5] from ip 192.168.1.5 I reloaded the XML also.
Hi Ankit! Ignore the X-Lite message - this is a (minor) configuration error in FreeSWITCH. Is there more than one network-device configured on the machine? If yes, open /usr/local/freeswitch/conf/vars.xml and verify that you have the following settings somewhere: <!--IP Adress--> <X-PRE-PROCESS cmd="set" data="local_ip_v4=192.168.1.5"/> <!-- Domain --> <!-- Sets the default domain. --> <X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/> <X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/> Best regards Christian
Thanks for responding Christian!!! I am only having one network device. Just to try my luck, I even tried setting the local_ip_v4 after your suggestion. Still, the same issue :-( Thanks Ankit On Tue, Jun 14, 2011 at 6:12 PM, Christian Benke <benkokakao@gmail.com>wrote:
freeswitch@ankit-PC> 2011-06-14 13:37:45.695430 [WARNING] sofia_reg.c:1872 Can't find user [1100@192.168.1.5] You must define a domain called '192.168.1.5' in your directory and add a user w ith the id="1100" attribute and you must configure your device to use the proper domain in it's authenticati on credentials. 2011-06-14 13:37:45.703430 [WARNING] sofia_reg.c:1030 SIP auth failure (REGISTER ) on sofia profile 'internal' for [1100@192.168.1.5] from ip 192.168.1.5 I reloaded the XML also.
Hi Ankit!
Ignore the X-Lite message - this is a (minor) configuration error in FreeSWITCH.
Is there more than one network-device configured on the machine?
If yes, open /usr/local/freeswitch/conf/vars.xml and verify that you have the following settings somewhere:
<!--IP Adress--> <X-PRE-PROCESS cmd="set" data="local_ip_v4=192.168.1.5"/>
<!-- Domain --> <!-- Sets the default domain. --> <X-PRE-PROCESS cmd="set" data="domain=$${local_ip_v4}"/> <X-PRE-PROCESS cmd="set" data="domain_name=$${domain}"/>
Best regards Christian
_______________________________________________ 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
-- Life is like a rose its upto u feel it as its fragrance or thorns
On 14 June 2011 16:06, ankIT WALiA <ankitwalia4u@gmail.com> wrote:
Thanks for responding Christian!!!
I am only having one network device.
Just to try my luck, I even tried setting the local_ip_v4 after your suggestion. Still, the same issue :-(
Add a cidr-parameter to the user-configuration in conf/directory/default/ like that: http://wiki.freeswitch.org/wiki/Acl#Users Background: conf/sip_profiles/internal.xml is the sip-profile authenticating the directory-users, there you have a setting <param name="apply-inbound-acl" value="domains"/> The "domains"-acl is set in conf/autoload_configs/acl.conf.xml: <list name="domains" default="deny"> <node type="allow" domain="$${domain}"/> </list> Best regards, Christian
participants (2)
-
ankIT WALiA
-
Christian Benke