changes to make it simpler for users to understand inbound vs outbound contexts
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@9697 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
parent
7c72bb0b53
commit
b81ef0dcb5
|
@ -425,7 +425,7 @@
|
||||||
</condition>
|
</condition>
|
||||||
</extension>
|
</extension>
|
||||||
|
|
||||||
<X-PRE-PROCESS cmd="include" data="extensions/*.xml"/>
|
<X-PRE-PROCESS cmd="include" data="default/*.xml"/>
|
||||||
<!--
|
<!--
|
||||||
<extension name="refer">
|
<extension name="refer">
|
||||||
<condition field="${sip_refer_to}">
|
<condition field="${sip_refer_to}">
|
||||||
|
|
|
@ -15,11 +15,7 @@
|
||||||
</condition>
|
</condition>
|
||||||
</extension>
|
</extension>
|
||||||
|
|
||||||
<extension name="public_did">
|
<X-PRE-PROCESS cmd="include" data="public/*.xml"/>
|
||||||
<condition field="destination_number" expression="^(5551212)$">
|
|
||||||
<action application="transfer" data="$1 XML default"/>
|
|
||||||
</condition>
|
|
||||||
</extension>
|
|
||||||
|
|
||||||
</context>
|
</context>
|
||||||
</include>
|
</include>
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
<include>
|
||||||
|
<extension name="public_did">
|
||||||
|
<condition field="destination_number" expression="^(5551212)$">
|
||||||
|
<!-- This example maps the DID 5551212 to ring 1000 in the default context -->
|
||||||
|
<action application="transfer" data="1000 XML default"/>
|
||||||
|
</condition>
|
||||||
|
</extension>
|
||||||
|
</include>
|
Loading…
Reference in New Issue