From c2f1d8eb5460383bfebd316a3e386635c32fa981 Mon Sep 17 00:00:00 2001 From: Mark Crane Date: Sat, 24 Nov 2012 02:50:11 +0000 Subject: [PATCH] Update the files in calls active. --- app/calls_active/app_config.php | 4 ++-- app/calls_active/calls_active.php | 2 +- .../calls_active_assigned_extensions_inc.php | 10 +++++----- app/calls_active/calls_active_extensions.php | 4 ++-- app/calls_active/calls_active_extensions_inc.php | 12 ++++++------ app/calls_active/calls_active_inc.php | 10 +++++----- app/calls_active/calls_exec.php | 4 ++-- 7 files changed, 23 insertions(+), 23 deletions(-) diff --git a/app/calls_active/app_config.php b/app/calls_active/app_config.php index 97ac13d6b1..6f4e5ecb94 100644 --- a/app/calls_active/app_config.php +++ b/app/calls_active/app_config.php @@ -32,7 +32,7 @@ $apps[$x]['menu'][0]['uuid'] = 'eba3d07f-dd5c-6b7b-6880-493b44113ade'; $apps[$x]['menu'][0]['parent_uuid'] = '0438b504-8613-7887-c420-c837ffb20cb1'; $apps[$x]['menu'][0]['category'] = 'internal'; - $apps[$x]['menu'][0]['path'] = '/app/calls_active/v_calls_active.php'; + $apps[$x]['menu'][0]['path'] = '/app/calls_active/calls_active.php'; $apps[$x]['menu'][0]['groups'][] = 'superadmin'; $apps[$x]['menu'][1]['title']['en-us'] = 'Active Extensions'; @@ -48,7 +48,7 @@ $apps[$x]['menu'][1]['uuid'] = '6dd85c19-cb6b-5cca-bf32-499bbe936f79'; $apps[$x]['menu'][1]['parent_uuid'] = '0438b504-8613-7887-c420-c837ffb20cb1'; $apps[$x]['menu'][1]['category'] = 'internal'; - $apps[$x]['menu'][1]['path'] = '/app/calls_active/v_calls_active_extensions.php'; + $apps[$x]['menu'][1]['path'] = '/app/calls_active/calls_active_extensions.php'; //$apps[$x]['menu'][1]['groups'][] = 'user'; $apps[$x]['menu'][1]['groups'][] = 'admin'; $apps[$x]['menu'][1]['groups'][] = 'superadmin'; diff --git a/app/calls_active/calls_active.php b/app/calls_active/calls_active.php index cf18094920..9688b9d9ac 100644 --- a/app/calls_active/calls_active.php +++ b/app/calls_active/calls_active.php @@ -80,7 +80,7 @@ if (this.xmlHttp.readyState == 4 && (this.xmlHttp.status == 200 || !/^http/.test } var requestTime = function() { - var url = 'v_calls_active_inc.php?c='; + var url = 'calls_active_inc.php?c='; new loadXmlHttp(url, 'ajax_reponse'); setInterval(function(){new loadXmlHttp(url, 'ajax_reponse');}, 1500); } diff --git a/app/calls_active/calls_active_assigned_extensions_inc.php b/app/calls_active/calls_active_assigned_extensions_inc.php index a9411b1f4a..8b8ed7cb7c 100644 --- a/app/calls_active/calls_active_assigned_extensions_inc.php +++ b/app/calls_active/calls_active_assigned_extensions_inc.php @@ -162,20 +162,20 @@ if (permission_exists('extensions_active_assigned_view')) { echo "\n"; echo "\n"; //transfer - echo " ".$text['label-transfer']."';\" onclick=\"send_cmd('v_calls_exec.php?cmd='+get_transfer_cmd(escape('$uuid')));\">".$text['label-transfer']." \n"; + echo " ".$text['label-transfer']."';\" onclick=\"send_cmd('calls_exec.php?cmd='+get_transfer_cmd(escape('$uuid')));\">".$text['label-transfer']." \n"; //park - echo " ".$text['label-park']." \n"; + echo " ".$text['label-park']." \n"; //hangup - echo " ".$text['label-hangup']." \n"; + echo " ".$text['label-hangup']." \n"; //record start/stop $tmp_file = $_SESSION['switch']['recordings']['dir']."/archive/".date("Y")."/".date("M")."/".date("d")."/".$uuid.".wav"; if (file_exists($tmp_file)) { //stop - echo " ".$text['label-stop']." \n"; + echo " ".$text['label-stop']." \n"; } else { //start - echo " ".$text['label-start']." \n"; + echo " ".$text['label-start']." \n"; } echo "  "; echo "\n"; diff --git a/app/calls_active/calls_active_extensions.php b/app/calls_active/calls_active_extensions.php index fcb2cf4be8..abf565354c 100644 --- a/app/calls_active/calls_active_extensions.php +++ b/app/calls_active/calls_active_extensions.php @@ -168,7 +168,7 @@ if (this.xmlHttp.readyState == 4 && (this.xmlHttp.status == 200 || !/^http/.test var requestTime = function() { ".$text['label-status']." \n"; - $cmd = "'v_calls_exec.php?action=user_status&data='+this.value+'"; + $cmd = "'calls_exec.php?action=user_status&data='+this.value+'"; $cmd .= "&cmd=callcenter_config+agent+set+status+".$_SESSION['username']."@".$_SESSION['domain_name']."+'+this.value"; echo "