mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-02-21 18:36:31 +00:00
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:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user