ctalle at voiceway.ca Guest
|
Posted: Wed Sep 17, 2008 3:31 pm Post subject: [Freeswitch-users] directory and mod_xml_curl |
|
|
Hi,
I'm new to FS. Can anyone shed some more light or point me to a place to
read on how one can use mod_xml_curl for dynamic directory lookup?
My scenario is: I define a new contact somewhere outside of FS, I have a
SIP client attempting to register with FS using the new contact info ->
that in turn invokes a custom url binding but the information returned
in the HTTP reply doesn't seem to make any difference at runtime:
mod_xml_curl.c:194 xml_url_fetch() XML response is in
/tmp/3da0973a-84ec-11dd-b435-211ade423d94.tmp.xml
2008-09-17 15:10:07 [WARNING] sofia_reg.c:1061 sofia_reg_parse_auth()
can't find user [XXXX@a.b.c.d]
The xml returned by the url is:
<document type="freeswitch/xml">
<section name="directory">
<domain name="a.b.c.d">
<user id="XXXX">
<params>
<param name="password" value="1234" />
</params>
<variables>
<variable name="user_context" value="default"/>
</variables>
</user>
</domain>
</section>
</document>
How does the xml new xml node get loaded in the directory structure in
memory?
_______________________________________________
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 |
|