Update 520_follow_me_bridge.xml

This commit is contained in:
FusionPBX
2018-10-06 12:44:13 -06:00
committed by GitHub
parent c32fa98755
commit bbfbb63c51
@@ -1,11 +1,15 @@
<context name="${domain_name}"> <extension name="follow me bridge" continue="" uuid="3ddb9142-8e3a-4a92-8f80-a49c6a21fb04">
<extension name="follow me bridge" number="" app_uuid="fc07e3d5-b9d1-4480-9bae-8da911d43eac" global="true"> <condition field="${user_exists}" expression="true"/>
<condition field="${user_exists}" expression="true"/> <condition field="${follow_me_enabled}" expression="true"/>
<condition field="${follow_me_enabled}" expression="true"> <condition field="${sofia_contact ${destination_number}@${domain_name}}" expression="error/user_not_registered" break="never"/>
<action application="set" data="hangup_after_bridge=true"/> <condition field="${forward_user_not_registered_enabled}" expression="true" break="never">
<action application="set" data="continue_on_fail=true"/> <action application="transfer" data="${forward_user_not_registered_destination} XML ${domain_name}"/>
<action application="bridge" data="${follow_me_destinations}"/> </condition>
<action application="transfer" data="*99${destination_number} XML ${domain_name}"/> <condition field="${user_exists}" expression="true"/>
</condition> <condition field="${follow_me_enabled}" expression="true">
</extension> <action application="set" data="hangup_after_bridge=true"/>
</context> <action application="set" data="continue_on_fail=true"/>
<action application="bridge" data="${follow_me_destinations}"/>
<action application="transfer" data="*99${destination_number} XML ${domain_name}"/>
</condition>
</extension>