Unnamed
public text v1 · immutable // get all the callmonitor recordings on server and try to find a non-exact match for this log entry
if (!$CALLMONITOR_ONLY_EXACT_MATCHING) {
// try to find a file using the uniqueid
if (!$recording) {
// try and match the unique id
if (!$recording) {
foreach($files as $key => $path) {
if (strlen($uniqueid)>1 && strpos($path,$uniqueid)!==FALSE) {
$recording = $path;
$files[$key] = ''; // remove it from the recording files so it will not be matched twice
break;
}
}
}
}