Ticket #3621: callmonitor.module.patch
| File callmonitor.module.patch, 0.8 kB (added by Nick_Lewis, 3 years ago) |
|---|
-
old/callmonitor.module
old new 500 500 if (!$recording) { 501 501 foreach($files as $key => $path) { 502 502 if (strlen($uniqueid)>1 && strpos($path,$uniqueid)!==FALSE) { 503 // XXX why not >0 ? 503 504 $recording = $path; 504 505 $files[$key] = ''; // remove it from the recording files so it will not be matched twice 505 506 break; … … 509 510 } 510 511 511 512 // try and match a file using the calldate (if no unique number from database) 512 if (!$recording ) {513 if (!$recording && !(strlen($uniqueid) > 1)) { 513 514 514 515 foreach($files as $key => $path) { 515 516 $parts = split("-", $path);
