Update the call forward lua script and remove the pin number

This commit is contained in:
Mark Crane
2014-07-25 11:04:16 +00:00
parent 33a0f6150d
commit 8456b1b6ca
2 changed files with 153 additions and 95 deletions

View File

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