forked from Mirrors/freeswitch
37 lines
1.1 KiB
XML
37 lines
1.1 KiB
XML
<include>
|
|
<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>
|
|
<!--
|
|
Tag anything pass thru here as an outside_call so you can make sure not
|
|
to create any routing loops based on the conditions that it came from
|
|
the outside of the switch.
|
|
-->
|
|
<extension name="outside_call" continue="true">
|
|
<condition>
|
|
<action application="set" data="outside_call=true"/>
|
|
<action application="export" data="RFC2822_DATE=${strftime(%a, %d %b %Y %T %z)}"/>
|
|
</condition>
|
|
</extension>
|
|
|
|
<extension name="call_debug" continue="true">
|
|
<condition field="${call_debug}" expression="^true$" break="never">
|
|
<action application="info"/>
|
|
</condition>
|
|
</extension>
|
|
|
|
<extension name="adhearsion">
|
|
<condition>
|
|
<action application="rayo" data=""/>
|
|
</condition>
|
|
</extension>
|
|
|
|
</context>
|
|
</include>
|
|
|