From df8691e3a27baca693fda577eba088cc99f12113 Mon Sep 17 00:00:00 2001 From: Nate Date: Wed, 2 Oct 2019 14:17:34 -0600 Subject: [PATCH] CDR: Update permissions on CDR Archive. --- app/xml_cdr/xml_cdr_archive.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/app/xml_cdr/xml_cdr_archive.php b/app/xml_cdr/xml_cdr_archive.php index f0f8709d70..5e642dcc79 100644 --- a/app/xml_cdr/xml_cdr_archive.php +++ b/app/xml_cdr/xml_cdr_archive.php @@ -269,7 +269,7 @@ echo "\n"; echo " \n"; - if (permission_exists('hangup_cause')) { + if (permission_exists('xml_cdr_hangup_cause')) { echo " \n"; @@ -318,7 +318,7 @@ echo " \n"; echo " \n"; } - if (permission_exists('caller_destination')) { + if (permission_exists('xml_cdr_caller_destination')) { echo " \n"; echo " \n"; //caller destination - if (permission_exists('caller_destination')) { + if (permission_exists('xml_cdr_caller_destination')) { echo " \n"; } //hangup cause/call result - if (permission_exists('hangup_cause')) { + if (permission_exists('xml_cdr_hangup_cause')) { echo " \n"; } else {
\n"; echo " ".$text['label-hangup_cause']."\n"; echo "
\n"; echo " ".$text['label-caller_destination']."\n"; @@ -376,7 +376,7 @@ } echo th_order_by('caller_id_name', $text['label-caller_id_name'], $order_by, $order, null, null, $param); echo th_order_by('caller_id_number', $text['label-caller_id_number'], $order_by, $order, null, null, $param); - if (permission_exists('caller_destination')) { + if (permission_exists('xml_cdr_caller_destination')) { echo th_order_by('caller_destination', $text['label-caller_destination'], $order_by, $order, null, null, $param); } echo th_order_by('destination_number', $text['label-destination'], $order_by, $order, null, null, $param); @@ -410,7 +410,7 @@ echo th_order_by('rtp_audio_in_mos', $text['label-mos'], $order_by, $order, null, "style='text-align: center;'", $param, $text['description-mos']); $col_count++; } - if (permission_exists('hangup_cause')) { + if (permission_exists('xml_cdr_hangup_cause')) { echo th_order_by('hangup_cause', $text['label-hangup_cause'], $order_by, $order, null, null, $param); } else { @@ -542,7 +542,7 @@ echo " "; echo " ".escape($value)."".escape($hangup_cause)."