mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-21 18:36:31 +00:00
To increase security and conform to other feature codes prefix the call park extensions with a '*'.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
<context name="{v_context}">
|
||||
<extension name="park_in" app_uuid="ffb30da6-30e4-43b8-9847-2ed40e232f89" enabled="false">
|
||||
<condition field="destination_number" expression="^5900$" >
|
||||
<condition field="destination_number" expression="^\*5900$" >
|
||||
<action application="set" data="park_direction=in" />
|
||||
<action application="set" data="park_extension=5901" />
|
||||
<action application="set" data="park_extension=\*5901" />
|
||||
<action application="set" data="park_range=3" />
|
||||
<action application="set" data="park_announce=true" />
|
||||
<action application="set" data="park_timeout_seconds=70" />
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<context name="{v_context}">
|
||||
<extension name="park_out" app_uuid="cf8234b6-a039-4ec2-87bd-3db0799a3f75" enabled="false">
|
||||
<condition field="destination_number" expression="(^5901$|^5902$|^5903$)" >
|
||||
<condition field="destination_number" expression="(^\*5901$|^\*5902$|^\*5903$)" >
|
||||
<action application="set" data="park_direction=out" />
|
||||
<action application="set" data="park_extension=$1" />
|
||||
<action application="lua" data="park.lua" />
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<context name="{v_context}">
|
||||
<extension name="park_slots" app_uuid="f096f899-c78e-409c-8290-00f6d423b31c" enabled="false">
|
||||
<condition field="destination_number" expression="(^5901$|^5902$|^5903$)" >
|
||||
<extension name="park_slots" app_uuid="f096f899-c78e-409c-8290-00f6d423b31c" enabled="true">
|
||||
<condition field="destination_number" expression="(^\*5901$|^\*5902$|^\*5903$)" >
|
||||
<action application="set" data="park_extension=$1" />
|
||||
<action application="set" data="park_direction=both" />
|
||||
<action application="set" data="park_announce=true" />
|
||||
|
||||
Reference in New Issue
Block a user