This sounds like the curl request is timing out. I'd look outside FS to see what's wrong. -MC On Thu, Jun 7, 2012 at 5:56 AM, Vik Killa <vipkilla@gmail.com> wrote:
Is it possible to load freeswitch with static XML and then load mod_xml_curl? It seems FreeSWITCH does not work correctly when this is done. Here is an example: In freeswitch.xml, I have: <section name="directory" description="User Directory"> <X-PRE-PROCESS cmd="include" data="static/directory.xml"/> </section>
This loads my directory configuration statically in memory. After I start FreeSWITCH, I load mod_xml_curl with 'fs_cli> load mod_xml_curl' (mod_xml_curl is not loaded when freeswitch starts)
Here is my XML_CURL configuration:
<configuration name="xml_curl.conf" description="cURL XML Gateway"> <bindings> <binding name="default"> <param name="gateway-url" value="192.168.0.158" bindings="directory" /> </binding> </bindings> </configuration>
FreeSWITCH does not seem to function properly after XML_CURL is loaded. If I run the 'user_data' API, FS hangs there for a long time and eventually returns the password from memory (it does not make an XML_CURL request) Here is example: fs_cli> user_data 1000@domain.com param password
I guess the ultimate question is this: Is there any way to setup XML_CURL to failover to static XML (loaded in memory)?
Thanks!
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com
Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com
Join Us At ClueCon - Aug 7-9, 2012
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