[Freeswitch-users] Diagnosing fairly basic directory problem

Alex Lake alex at digitalmail.com
Mon Mar 24 13:06:47 MSK 2014


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...



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