Add additional pre-defined variables to the disa dialplan.

This commit is contained in:
FusionPBX 2022-07-30 16:41:04 -06:00 committed by GitHub
parent 5997aae095
commit c20e83e64c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 11 additions and 4 deletions

View File

@ -1,10 +1,17 @@
<context name="{v_context}">
<extension name="disa" number="*3472" continue="false" app_uuid="3ade2d9a-f55d-4240-bb60-b4a3ab36951c" enabled="false" order="420">
<condition field="destination_number" expression="^\*(3472)$">
<action application="answer"/>
<action application="set" data="pin_number={v_pin_number}"/>
<action application="set" data="dialplan_context=${context}"/>
<action application="lua" data="disa.lua"/>
<action application="answer" enabled="true"/>
<action application="set" data="pin_number={v_pin_number}" enabled="true"/>
<action application="set" data="dialplan_context=${context}" enabled="true"/>
<action application="set" data="outbound_caller_id_name=" enabled="false"/>
<action application="set" data="outbound_caller_id_number=" enabled="false"/>
<action application="set" data="predefined_destination=" enabled="false"/>
<action application="set" data="fallback_destination=" enabled="false"/>
<action application="set" data="digit_min_length=" enabled="false"/>
<action application="set" data="digit_max_length=" enabled="false"/>
<action application="lua" data="disa.lua" enabled="true"/>
</condition>
</extension>
</context>