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:
parent
ada9f69af3
commit
e4884fa4b1
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue