[Freeswitch-users] Mixing dynamic (xml_curl) and static (XML) dialplans
Weigel, Stefan
Stefan.Weigel at allianz-warranty.com
Wed Apr 18 17:20:20 MSD 2012
Hi,
I'm trying to mix static (XML file) and dynamic (mod_xml_curl) dialplan
content.
My static dialplan looks like:
/tmp/test.xml:
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<document type="freeswitch/xml">
<section name="dialplan" description="RE Dial Plan For FreeSwitch">
<context name="public">
<extension name="unloop">
<condition field="${unroll_loops}" expression="^true$"/>
<condition field="${sip_looped_call}" expression="^true$">
<action application="deflect" data="${destination_number}"/>
</condition>
</extension>
<extension name="outside_call" continue="true">
<condition>
<action application="set" data="outside_call=true"/>
</condition>
</extension>
<extension name="call_debug" continue="true">
<condition field="${call_debug}" expression="^true$" break="never">
<action application="info"/>
</condition>
</extension>
</context>
</section>
</document>
I changed parameter "dialplan" in profile internal.xml:
<param name="dialplan" value="XML:/tmp/test.xml,XML"/>
But when placing a call I only see that diaplan from static XML is parsed
and executed (message "has executed the last dialplan instruction, hanging
up.").
What's going wrong ?
Thanks and cheers
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120418/7d38bcfa/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5972 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120418/7d38bcfa/attachment-0001.bin
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users
mailing list