From 3ea3fa4436d9c8e6eb7f7d26b7b0d2b0aee842ea Mon Sep 17 00:00:00 2001 From: markjcrane Date: Fri, 13 May 2016 08:21:58 -0600 Subject: [PATCH] Use effective_caller_id_name and effective_caller_id_number with follow me. --- app/calls/resources/classes/follow_me.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/calls/resources/classes/follow_me.php b/app/calls/resources/classes/follow_me.php index 6c48b34026..d494549ccc 100644 --- a/app/calls/resources/classes/follow_me.php +++ b/app/calls/resources/classes/follow_me.php @@ -291,8 +291,8 @@ include "root.php"; $dial_string .= ",extension_uuid=".$this->extension_uuid; $dial_string .= ",group_confirm_key=exec,group_confirm_file=lua confirm.lua"; - $dial_string_caller_id_name = "\${caller_id_name}"; - $dial_string_caller_id_number = "\${caller_id_number}"; + $dial_string_caller_id_name = "\${effective_caller_id_name}"; + $dial_string_caller_id_number = "\${effective_caller_id_number}"; if (strlen($this->follow_me_caller_id_uuid) > 0){ $sql_caller = "select destination_number, destination_description, destination_caller_id_number, destination_caller_id_name from v_destinations where domain_uuid = '$this->domain_uuid' and destination_type = 'inbound' and destination_uuid = '$this->follow_me_caller_id_uuid'";