[Freeswitch-users] User Directory

Elliott Vogel elliott at zoogmedia.com
Fri Nov 18 18:33:00 MSK 2011


I have been trying to put a user outside of a group like how it's shown on http://wiki.freeswitch.org/wiki/XML_User_Directory_Guide but when I put a user outside of a group the user cant authenticate. Can anyone see what I'm doing wrong or is there error in the documentation?

<include>
  <domain name="lyonl.com">
    <params>
      <param name="dial-string" value="{presence_id=${dialed_user}@${dialed_domain}}${sofia_contact(${dialed_user}@${dialed_domain})}"/>
    </params>
    <variables>
      <variable name="default_areacode" value="312"/>
    </variables>
    <user id="1901">
      <params>
        <param name="password" value="123456"/>
      </params>
      <variables>
        <variable name="sip-force-contact" value="NDLB-connectile-dysfunction"/>
        <variable name="toll_allow" value="611,domestic,international,local"/>
        <variable name="accountcode" value="1000"/>
        <variable name="user_context" value="default"/>
        <variable name="outbound_caller_id_name" value="LyonL Inc" />
        <variable name="outbound_caller_id_number" value="+13127567000" />
      </variables>
    </user>
    <groups>
      <group name="default">
        <users>
          <user id="1900">
            <params>
              <param name="password" value="123456"/>
            </params>
            <variables>
              <variable name="sip-force-contact" value="NDLB-connectile-dysfunction"/>
              <variable name="toll_allow" value="611,domestic,international,local"/>
              <variable name="accountcode" value="1000"/>
              <variable name="user_context" value="default"/>
              <variable name="outbound_caller_id_name" value="LyonL Inc" />
              <variable name="outbound_caller_id_number" value="+13127567000" />
            </variables>
          </user>
          <user id="1909">
            <params>
              <param name="password" value="12345"/>
            </params>
            <variables>
              <variable name="toll_allow" value="611,domestic,international,local"/>
              <variable name="accountcode" value="1000"/>
              <variable name="user_context" value="default"/>
              <variable name="outbound_caller_id_name" value="LyonL Inc" />
              <variable name="outbound_caller_id_number" value="+13127567000" />
            </variables>
          </user>
        </users>
      </group>
    </groups>
  </domain>
</include>


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20111118/55168b0f/attachment-0001.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list