summaryrefslogtreecommitdiffstats
path: root/template-processdialplanxml-xml.lsp
diff options
context:
space:
mode:
Diffstat (limited to 'template-processdialplanxml-xml.lsp')
-rw-r--r--template-processdialplanxml-xml.lsp15
1 files changed, 15 insertions, 0 deletions
diff --git a/template-processdialplanxml-xml.lsp b/template-processdialplanxml-xml.lsp
index 547d8b4..0ab808a 100644
--- a/template-processdialplanxml-xml.lsp
+++ b/template-processdialplanxml-xml.lsp
@@ -5,6 +5,20 @@ Content-Type: Content Type: text/xml
<document type="freeswitch/xml">
<section name="dialplan">
<context name="default">
+
+ <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="global" continue="true">
+ <condition field="${call_debug}" expression="^true$" break="never">
+ <action application="info"/>
+ </condition>
+ </extension>
+
<extension name="Voicemail">
<condition expression="(.*)" field="destination_number">
<action application="answer" />
@@ -12,6 +26,7 @@ Content-Type: Content Type: text/xml
<action application="voicemail" data="default <%= viewtable.value.domain.value %> $1" />
</condition>
</extension>
+
</context>
</section>
</document>