Don't show these by default.
Permissions are there to show these however its is expected that these permissions will be assigned to a group rarely. Considering removing the permissions and not import the records.
This commit is contained in:
@@ -452,11 +452,11 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
//exclude ring group legs that were not answered
|
//exclude ring group legs that were not answered
|
||||||
if (permission_exists('xml_cdr_lose_race')) {
|
if (!permission_exists('xml_cdr_lose_race')) {
|
||||||
$sql .= "and hangup_cause != 'LOSE_RACE' \n";
|
$sql .= "and hangup_cause != 'LOSE_RACE' \n";
|
||||||
}
|
}
|
||||||
if (permission_exists('xml_cdr_enterprise_leg')) {
|
if (!permission_exists('xml_cdr_enterprise_leg')) {
|
||||||
$sql .= "and originating_leg_uuid IS NULL \n";
|
$sql .= "and (hangup_cause != 'NO_ANSWER' and originating_leg_uuid IS NULL) \n";
|
||||||
}
|
}
|
||||||
|
|
||||||
if (strlen($call_result) > 0) {
|
if (strlen($call_result) > 0) {
|
||||||
|
|||||||
Reference in New Issue
Block a user