mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Exclude Call center agent as missed call
The call could have been answered by another call center agent.
This commit is contained in:
@@ -423,11 +423,15 @@ if (!class_exists('xml_cdr')) {
|
||||
//answered call
|
||||
$missed_call = 'false';
|
||||
}
|
||||
elseif (isset($xml->variables->cc_side) && $xml->variables->cc_side == 'agent') {
|
||||
//call center
|
||||
$missed_call = 'false';
|
||||
}
|
||||
else {
|
||||
//missed call
|
||||
$missed_call = 'true';
|
||||
}
|
||||
|
||||
|
||||
//get the last bridge_uuid from the call to preserve previous behavior
|
||||
foreach ($xml->variables->bridge_uuids as $bridge) {
|
||||
$last_bridge = urldecode($bridge);
|
||||
|
||||
Reference in New Issue
Block a user