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
[email protected]




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
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

_______________________________________________
FreeSWITCH-users mailing list
[email protected]
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

Reply via email to