[Freeswitch-users] XML_CURL and static XML (loaded in memory)

Michael Collins msc at freeswitch.org
Mon Jun 11 19:33:51 MSD 2012


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 at 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 at 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 at freeswitch.org
> http://www.freeswitchsolutions.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 at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120611/99bbc8d2/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list