mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 09:03:49 +00:00
Don't insert the cdr records for records without a time stamp.
This commit is contained in:
@@ -211,9 +211,11 @@ function process_xml_cdr($db, $leg, $xml_string) {
|
||||
}
|
||||
|
||||
//insert xml_cdr into the db
|
||||
$database->add();
|
||||
if ($debug) {
|
||||
echo $database->sql."\n";
|
||||
if (strlen($start_stamp) > 0) {
|
||||
$database->add();
|
||||
if ($debug) {
|
||||
echo $database->sql."\n";
|
||||
}
|
||||
}
|
||||
|
||||
//insert the values
|
||||
|
||||
Reference in New Issue
Block a user