From 97654672a99d619fc2b14e10bc7051b4597748db Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Wed, 18 Sep 2013 04:06:59 +0000 Subject: [PATCH] Fix the confirm dial string for follow me. --- app/calls/resources/classes/follow_me.php | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/app/calls/resources/classes/follow_me.php b/app/calls/resources/classes/follow_me.php index 9ddece6d48..c612e6a031 100644 --- a/app/calls/resources/classes/follow_me.php +++ b/app/calls/resources/classes/follow_me.php @@ -306,17 +306,20 @@ include "root.php"; $dial_string .= ",origination_caller_id_name=".$this->cid_name_prefix."#\${caller_id_name}"; } if (strlen($this->cid_number_prefix) > 0) { - $dial_string .= ",origination_caller_id_number=".$this->cid_number_prefix.""; - //$dial_string .= ",origination_caller_id_number=".$this->cid_number_prefix."#\${caller_id_number}"; + //$dial_string .= ",origination_caller_id_number=".$this->cid_number_prefix.""; + $dial_string .= ",origination_caller_id_number=".$this->cid_number_prefix."#\${caller_id_number}"; } if (strlen($this->accountcode) > 0) { $dial_string .= ",accountcode=".$this->accountcode; } + //if ($this->call_prompt == "true") { + //$dial_string .= ",group_confirm_key=exec,group_confirm_file=lua confirm.lua"; + //} $dial_string .= "}"; foreach ($result as &$row) { $dial_string .= "[presence_id=".$row["follow_me_destination"]."@".$_SESSION['domain_name'].","; if ($this->call_prompt == "true") { - $dial_string .= ",group_confirm_key=exec,group_confirm_file=lua confirm.lua"; + $dial_string .= "group_confirm_key=exec,group_confirm_file=lua confirm.lua,"; } $dial_string .= "leg_delay_start=".$row["follow_me_delay"].","; $dial_string .= "leg_timeout=".$row["follow_me_timeout"]."]";