Kyle,
Welcome to FreeSWITCH! We'll be happy to help answer your question. In return we would just like to know what you guys are up to over there at CSU. :) Are you using FreeSWITCH for anything in particular?
As far as your question goes, you'll most likely need to employ the "dynamic config w/ static fallback" setup. The way it works is that if your xml curl program returns a special "not found" config then FreeSWITCH will go looking in the static XML for the relevant information. The trick for you will be to return the "not found" message any time that you want the static XML to effect. The "special" config is this:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="result">
<result status="not found"/>
</section>
</document>
So, you'll need your xml curl script to recognize which dialplan contexts to handle and which to send back w/ the "not found" message.
Let us know how it goes.
-MC
Hi All,
I have not been able to glean enough from the wiki and Google searches
to figure this out.
I have freeswitch xml_curl fetching a dial plan. What I would *like*
to do is have one context fetched
dynamically while another context is from a static file (or fail-back
to a static file).
I would appreciate any help.
Thanks!
--
Kyle Haefner, M.S.
Communication Systems Programmer
Colorado State University
Fort Collins, CO
Phone: 970-491-1012
Email: kyle.haefner@colostate.edu
_________________________________________________________________________
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
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