Skinny: replace skinny-route by skinny-process in dialplan
This commit is contained in:
parent
ff08ea68ce
commit
c93f7be7c4
|
@ -5,7 +5,7 @@
|
||||||
This context is used for skinny to match dialed number
|
This context is used for skinny to match dialed number
|
||||||
|
|
||||||
The special applications:
|
The special applications:
|
||||||
- skinny-route tells skinny to route the call
|
- skinny-process tells skinny to process the call (route, set call forwarding, ...)
|
||||||
- skinny-drop tells skinny to drop the call
|
- skinny-drop tells skinny to drop the call
|
||||||
- skinny-wait tells skinny to wait 'data' seconds for more numbers before drop
|
- skinny-wait tells skinny to wait 'data' seconds for more numbers before drop
|
||||||
-->
|
-->
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<include>
|
<include>
|
||||||
<extension name="Demo">
|
<extension name="Demo">
|
||||||
<condition field="destination_number" expression="^(9[0-9]{3})$">
|
<condition field="destination_number" expression="^(9[0-9]{3})$">
|
||||||
<action application="skinny-route"/>
|
<action application="skinny-process"/>
|
||||||
</condition>
|
</condition>
|
||||||
</extension>
|
</extension>
|
||||||
</include>
|
</include>
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<include>
|
<include>
|
||||||
<extension name="Local_Extension">
|
<extension name="Local_Extension">
|
||||||
<condition field="destination_number" expression="^(10[01][0-9])$">
|
<condition field="destination_number" expression="^(10[01][0-9])$">
|
||||||
<action application="skinny-route"/>
|
<action application="skinny-process"/>
|
||||||
</condition>
|
</condition>
|
||||||
</extension>
|
</extension>
|
||||||
<extension name="Local_Extension_Skinny">
|
<extension name="Local_Extension_Skinny">
|
||||||
<condition field="destination_number" expression="^(11[01][0-9])$">
|
<condition field="destination_number" expression="^(11[01][0-9])$">
|
||||||
<action application="skinny-route"/>
|
<action application="skinny-process"/>
|
||||||
</condition>
|
</condition>
|
||||||
</extension>
|
</extension>
|
||||||
</include>
|
</include>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<include>
|
<include>
|
||||||
<extension name="External">
|
<extension name="External">
|
||||||
<condition field="destination_number" expression="^(0[0-9]{10,})$">
|
<condition field="destination_number" expression="^(0[0-9]{10,})$">
|
||||||
<action application="skinny-route"/>
|
<action application="skinny-process"/>
|
||||||
</condition>
|
</condition>
|
||||||
</extension>
|
</extension>
|
||||||
</include>
|
</include>
|
||||||
|
|
Loading…
Reference in New Issue