freeswitch/conf/dialplan/public.xml
2008-01-23 19:25:27 +00:00

26 lines
777 B
XML

<!-- http://wiki.freeswitch.org/wiki/Dialplan_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>
<extension name="public_extensions">
<condition field="destination_number" expression="^(10[01][0-9])$">
<action application="transfer" data="$1 XML default"/>
</condition>
</extension>
<extension name="public_did">
<condition field="destination_number" expression="^(5551212)$">
<action application="transfer" data="$1 XML default"/>
</condition>
</extension>
</context>
</include>