Dialplans and XML_CURL
Good morning everyone. I have a question regarding using MOD XML_CURL and returning a dial plan. I have my system setup to respond with the following dialplan. <?xml version="1.0"?> <document type="freeswitch/xml"> <section name="dialplan" description="Regex/XML Dialplan"> <context name="default"> <extension name="one"> <condition field="destination_number" expression="^(.*)$"> <!-- Do Condition stuff here ... --> </condition> </extension> <extension name="two"> <condition field="destination_number" expression="^(.*)$"> <!-- Do Condition stuff here ... --> </condition> </extension> <extension name="three"> <condition field="destination_number" expression="^(.*)$"> <!-- Do Condition stuff here ... --> </condition> </extension> </context> </section> </document> My question is this. Can extension one, use extension two and three without XML_CURL making another dialplan request? Thanks, Jonathan Pitcher
You'll get a single xml curl request, unless you use the transfer application, which will trigger another one. Mathieu Rene Avant-Garde Solutions Inc Office: + 1 (514) 664-1044 x100 Cell: +1 (514) 664-1044 x200 mrene@avgs.ca On 10-Nov-09, at 8:03 AM, Jonathan Pitcher wrote:
Good morning everyone. I have a question regarding using MOD XML_CURL and returning a dial plan.
I have my system setup to respond with the following dialplan.
<?xml version="1.0"?> <document type="freeswitch/xml"> <section name="dialplan" description="Regex/XML Dialplan"> <context name="default">
<extension name="one"> <condition field="destination_number" expression="^(.*)$"> <!-- Do Condition stuff here ... --> </condition> </extension>
<extension name="two"> <condition field="destination_number" expression="^(.*)$"> <!-- Do Condition stuff here ... --> </condition> </extension>
<extension name="three"> <condition field="destination_number" expression="^(.*)$"> <!-- Do Condition stuff here ... --> </condition> </extension>
</context> </section> </document>
My question is this. Can extension one, use extension two and three without XML_CURL making another dialplan request?
Thanks,
Jonathan Pitcher
_______________________________________________ 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
On Tue, Nov 10, 2009 at 8:55 AM, Mathieu Rene <mrene_lists@avgs.ca> wrote:
You'll get a single xml curl request, unless you use the transfer application, which will trigger another one.
Just curious: what about execute_extension? Does that cause a new XML CURL request also? I didn't see anything on the wiki about that. I'll update the wiki mod_xml_curl page accordingly. -MC
participants (3)
-
Jonathan Pitcher
-
Mathieu Rene
-
Michael Collins