Use current caller ID name and number to set the Outbound caller ID information.

This commit is contained in:
FusionPBX 2021-11-30 14:58:59 -07:00 committed by GitHub
parent 6782195989
commit a5848ab13b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -5,6 +5,8 @@
<action application="export" data="sip_h_Diversion=&lt;sip:${caller_destination}@${external_sip_ip}:5060&gt;;reason=unconditional" 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="outbound_caller_id_name=${caller_id_name}" inline="true" enabled="false"/>
<action application="set" data="outbound_caller_id_number=${caller_id_number}" inline="true" enabled="false"/>
<action application="set" data="accountcode=${user_data ${destination_number}@${domain_name} var accountcode}" inline="true" enabled="false"/>
<action application="transfer" data="${forward_all_destination} XML ${domain_name}"/>
</condition>