Rename the dialplan to emergency_recent_calls

Require the PIN number
This commit is contained in:
FusionPBX
2026-01-23 10:44:56 -07:00
committed by GitHub
parent 08490d647c
commit 01c13d80a7

View File

@@ -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>