mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-03 02:23:48 +00:00
Remove outbound_caller_id_number as it overrides caller ID
When the caller is a local extension to another location extension the caller ID in the follow-me-destinations dialplan sets the caller ID to the local extension number and then the VoIP provider doesn't accept the call. As long as the local extension has Outbound Caller ID set on their extension then the information is already correct.
This commit is contained in:
@@ -4,8 +4,6 @@
|
||||
<condition field="${follow_me_enabled}" expression="^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="true"/>
|
||||
<action application="set" data="outbound_caller_id_number=${caller_id_number}" inline="true" enabled="true"/>
|
||||
<action application="unset" data="call_timeout" inline="true"/>
|
||||
<action application="lua" data="app.lua follow_me"/>
|
||||
</condition>
|
||||
|
||||
Reference in New Issue
Block a user