mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 19:53:56 +00:00
Update the call forward lua script and remove the pin number
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
<context name="{v_context}">
|
||||
<extension name="call-forward" number="*72,*73" continue="false" app_uuid="b4b32fb4-0181-4876-9bec-b9dff1299d60" enabled="true">
|
||||
<condition field="destination_number" expression="^\*72$" break="on-true">
|
||||
<action application="set" data="pin_number={v_pin_number}"/>
|
||||
<action application="set" data="enabled=true"/>
|
||||
<action application="lua" data="call_forward.lua"/>
|
||||
</condition>
|
||||
<condition field="destination_number" expression="^\*73$">
|
||||
<action application="set" data="pin_number={v_pin_number}"/>
|
||||
<action application="set" data="enabled=false"/>
|
||||
<action application="lua" data="call_forward.lua"/>
|
||||
</condition>
|
||||
|
||||
Reference in New Issue
Block a user