mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Set the operator forward to *000 and do not to disturb to *363 (*dnd)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<context name="{v_context}">
|
||||
<extension name="operator-forward" app_uuid="a90d3639-3b82-4905-a65d-85f58b6c4a19" enabled="false">
|
||||
<condition field="destination_number" expression="^\*0$" >
|
||||
<extension name="operator-forward" app_uuid="a90d3639-3b82-4905-a65d-85f58b6c4a19" enabled="true">
|
||||
<condition field="destination_number" expression="^\*000$" >
|
||||
<action application="set" data="dial_string=loopback/operator/{v_context}/XML" />
|
||||
<action application="set" data="direction=both" />
|
||||
<action application="set" data="extension=true" />
|
||||
|
||||
10
app/dialplan/resources/xml/dialplan/490_do-not-disturb.xml
Normal file
10
app/dialplan/resources/xml/dialplan/490_do-not-disturb.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<context name="{v_context}">
|
||||
<extension name="do-not-disturb" app_uuid="df32d982-e39e-4ae5-a46d-aed1893873f2" enabled="true">
|
||||
<condition field="destination_number" expression="^\*363$" >
|
||||
<action application="set" data="dial_string=loopback/*99{v_unique_id)/{v_context}/XML" />
|
||||
<action application="set" data="direction=both" />
|
||||
<action application="set" data="extension=true" />
|
||||
<action application="lua" data="dial_string.lua" />
|
||||
</condition>
|
||||
</extension>
|
||||
</context>
|
||||
Reference in New Issue
Block a user