[Freeswitch-users] Using XML CURL for LRN queries

Victor Chukalovskiy victor.chukalovskiy at gmail.com
Mon May 12 22:09:39 MSD 2014


Good day,

I have a web server that I can request as following:
http://192.168.1.2/pqrs/route?tn=4165555555

And it will respond with xml containing LRN which looks like this:

<pqrsd>
   <api>pqrsd</api>
   <operation>route</operation>
   <status>success</status>
   <tn>4165555555</tn>
   <region>canada</region>
*  <rn>4160000001</rn>*
   <spid/>
   <spName/>
   <routedBy>none</routedBy>
</pqrsd>


Can I use mod_xml_curl to make LRN queries from XML dialplan and put LRN 
from the response into a channel variable? Is it suitable for such 
real-time queries?
If so, how should I setup mod_xml_curl? WiKi mostly goes over standard 
stuff such as getting directory, dialplan, ACL etc

Thank you,
-Victor


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140512/256e14cf/attachment.html 


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