Exclude cc_side agent legs from missed_call

Excluded cc_side = agent calls from being marked as missed_call = true

Fixed the previous performance issue with adding the cc_side != 'agent' to the SQL and removed its filter from the rendering loop for the xml_cdr.
This commit is contained in:
demonspork
2021-02-21 18:26:24 -06:00
parent b5272984d1
commit 0ef2551698
4 changed files with 6 additions and 6 deletions

View File

@@ -823,10 +823,6 @@
}
$content .= "</tr>\n";
//show agent originated legs only to those with the permission
if (!permission_exists('xml_cdr_cc_agent_leg') && $row['cc_side'] == "agent") {
$content = '';
}
//show the leg b only to those with the permission
if ($row['leg'] == 'a') {
echo $content;