[Freeswitch-users] Diagnosing fairly basic directory problem
Iskren Hadzhinedev
iskren.hadzhinedev at ikiji.com
Mon Mar 24 13:31:36 MSK 2014
Hello Alex,
list_users fromfs_cli is useful to see if FreeSWITCH sees your users at
all (most probably - not).
Try moving the <users> section into a <groups><group> one, that's the
only way I was able to have it working, or FreeSWITCH wouldn't see any
of the users.
e.g.
<groups>
<group>
<users>
<user id="0095302">
..............
Regards,
Iskren.
On 24.3.2014 г. 12:06, Alex Lake wrote:
> Been reorganising the way in which our FS scripts are built and I've
> been getting quite frustrated attempting to work out why FS is saying
>
> 2014-03-24 10:00:12.744887 [WARNING] sofia_reg.c:2543 Can't find user
> [0095302 at 46.4.12.14] from 84.92.90.149
> You must define a domain called '46.4.12.14' in your directory and add a
> user with the id="0095302" attribute
> and you must configure your device to use the proper domain in it's
> authentication credentials.
>
> Yet when I look at freeswitch.xml.fsxml it all looks just fine - here's
> an extract:
>
> <domain name="46.4.12.14">
> <params>
> <param name="dial-string"
> value="{sip_invite_domain=${dialed_domain},presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
> </params>
>
> <variables>
> <variable name="record_stereo" value="true"/>
> <variable name="default_gateway" value="example.com"/>
> <variable name="default_areacode" value="918"/>
> <variable name="transfer_fallback_extension" value="operator"/>
> </variables>
>
>
> <users>
> <user id="0095302">
> <params>
> <param name="password" value="xxxx-xxxx-xxxx" />
> <param name="vm-password" value="12345678" />
> <param name="vm-alternate-greet-id" value="302" />
> <param name="vm-mailto" value="" />
> <param name="vm-mailfrom" value="vm-ext302 at sb0095.dmclub.net" />
> <param name="vm-attach-file" value="true" />
> <param name="vm-email-all-messages" value="true" />
> <param name="vm-keep-local-after-email" value="false" />
> <param name="vm-disk-quota" value="3600" />
> </params>
> <variables>
> </variable>
> </user>
> </users>
> </domain>
> ....
>
> I'm wondering:
> 1) what tools there are to list the users or to better diagnose what's
> going on
> 2) when this message is given, I presume it's irrespective of whether
> the password is correct or not (it can't even find the user, let alone
> authenticate it - right?)
>
> Thanks for any help...
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list