From 1f8bdece6001cc425d950d2ecdc70a8a4c69f786 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 17 Jun 2019 01:45:34 -0600 Subject: [PATCH] Update call_center_active_inc.php --- app/call_center_active/call_center_active_inc.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/call_center_active/call_center_active_inc.php b/app/call_center_active/call_center_active_inc.php index 7324ee65f4..c05bb304a2 100644 --- a/app/call_center_active/call_center_active_inc.php +++ b/app/call_center_active/call_center_active_inc.php @@ -251,14 +251,14 @@ //need to check state to so only waiting gets call, and trying/answer gets eavesdrop if ($tier_state == "Offering" || $tier_state == "Active Inbound") { - $orig_command="{origination_caller_id_name=eavesdrop,origination_caller_id_number=".escape($agent_extension)."}user/".$_SESSION['user']['extension'][0]['user']."@".$_SESSION['domain_name']." %26eavesdrop(".escape($agent_uuid).")"; + //$orig_command="{origination_caller_id_name=eavesdrop,origination_caller_id_number=".escape($agent_extension)."}user/".$_SESSION['user']['extension'][0]['user']."@".$_SESSION['domain_name']." %26eavesdrop(".escape($agent_uuid).")"; echo " ".$text['label-eavesdrop']." \n"; - $xfer_command = escape($agent_uuid)." -bleg ".escape($_SESSION['user']['extension'][0]['user'])." XML ".escape($_SESSION['domain_name']); - echo " ".$text['label-transfer']." \n"; + //$xfer_command = escape($agent_uuid)." -bleg ".escape($_SESSION['user']['extension'][0]['user'])." XML ".escape($_SESSION['domain_name']); + echo " ".$text['label-transfer']." \n"; } else { - $orig_call="{origination_caller_id_name=c2c-".urlencode(escape($name)).",origination_caller_id_number=".escape($agent_extension)."}user/".$_SESSION['user']['extension'][0]['user']."@".$_SESSION['domain_name']." %26bridge(user/".escape($agent_extension)."@".$_SESSION['domain_name'].")"; + //$orig_call="{origination_caller_id_name=c2c-".urlencode(escape($name)).",origination_caller_id_number=".escape($agent_extension)."}user/".$_SESSION['user']['extension'][0]['user']."@".$_SESSION['domain_name']." %26bridge(user/".escape($agent_extension)."@".$_SESSION['domain_name'].")"; echo " ".$text['label-call']." \n"; } echo "";