Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] directory and mod_xml_curl


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
ctalle at voiceway.ca
Guest





PostPosted: Wed Sep 17, 2008 3:31 pm    Post subject: [Freeswitch-users] directory and mod_xml_curl Reply with quote

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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services