Use the callers Caller ID for local calls

With set to false the callers original outbound caller ID information is used. 
Keep original callers caller ID is now set as the default.
With these enabled to true the caller ID is picked from the extension being called.
This commit is contained in:
FusionPBX
2022-11-09 10:44:58 -07:00
committed by GitHub
parent c4a46297a0
commit 9e5f931626

View File

@@ -2,8 +2,8 @@
<extension name="call-forward-all" number="" app_uuid="57cf8f1f-9a2e-4996-bd80-d9300249b1ca" global="true" order="505">
<condition field="${forward_all_enabled}" expression="true"/>
<condition field="${call_direction}" expression="^local$" break="on-true">
<action application="set" data="outbound_caller_id_name=${user_data ${destination_number}@${domain_name} var outbound_caller_id_name}" inline="true" enabled="true"/>
<action application="set" data="outbound_caller_id_number=${user_data ${destination_number}@${domain_name} var outbound_caller_id_number}" inline="true" enabled="true"/>
<action application="set" data="outbound_caller_id_name=${user_data ${destination_number}@${domain_name} var outbound_caller_id_name}" inline="true" enabled="false"/>
<action application="set" data="outbound_caller_id_number=${user_data ${destination_number}@${domain_name} var outbound_caller_id_number}" inline="true" enabled="false"/>
<action application="set" data="accountcode=${user_data ${destination_number}@${domain_name} var accountcode}" inline="true" enabled="true"/>
<action application="transfer" data="${forward_all_destination} XML ${domain_name}" enabled="true"/>
</condition>