mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-03-15 21:12:11 +00:00
Rename the dialplan to emergency_recent_calls
Require the PIN number
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<extension name="emergency_calls" number="*911" context="global" continue="false" app_uuid="0c57d2f3-0b08-4278-abb0-918e6e81038a" global="true" order="65">
|
||||
<extension name="emergency_recent_calls" number="*911" context="global" continue="false" app_uuid="0c57d2f3-0b08-4278-abb0-918e6e81038a" global="true" order="65">
|
||||
<condition field="destination_number" expression="^\*911$" break="on-true">
|
||||
<action application="set" data="pin_number={v_pin_number}" enabled="false"/>
|
||||
<action application="lua" data="pin_number.lua" enabled="false"/>
|
||||
<action application="set" data="pin_number={v_pin_number}" enabled="true"/>
|
||||
<action application="lua" data="pin_number.lua" enabled="true"/>
|
||||
<action application="lua" data="app/emergency/resources/scripts/emergency_calls.lua" enabled="true"/>
|
||||
</condition>
|
||||
</extension>
|
||||
|
||||
Reference in New Issue
Block a user