[Freeswitch-users] Question with curl_xml

Pete Kay petedao at gmail.com
Fri Apr 18 02:26:02 PDT 2008


Hi,
It seems like the reloadxml function in fs still requires the server to
restart to take effect of new update.  Is it the case or it is just my set
up problem?

Sorry to ask again.  I am getting a bit frustrated.   I can login now, but
the user_context info does not get set.  The following user is still using
the default context instead of the home context as I specified in the xml.
How come?

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
  <section name="directory" description="Directory For FreeSwitch">
    <domain name="192.168.1.102">
      <user id="1001">
        <params>
          <param name="password" value="1234"/>
        </params>
        <variables>
          <variable name="user_context" value="home"/>
        </variables>
      </user>
    </domain>
  </section>
</document>

When making call, it still uses the default context instead of the home
context specified:

2008-04-19 01:29:38 [DEBUG] switch_core_state_machine.c:65
switch_core_standard_on_ring() Standard RING sofia/default/
1001 at 192.168.1.104:5060
2008-04-19 01:29:38 [INFO] mod_dialplan_xml.c:223 dialplan_hunt() Processing
1001->8661382345448 at default


Any inputs will be greatly appreciated.

Regards,
Pete
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080418/3cb76d65/attachment-0002.html 


More information about the FreeSWITCH-users mailing list