mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update v_xml_cdr_import.php
This commit is contained in:
@@ -106,7 +106,8 @@
|
|||||||
require_once "resources/classes/database.php";
|
require_once "resources/classes/database.php";
|
||||||
$database = new database;
|
$database = new database;
|
||||||
$database->table = "v_xml_cdr";
|
$database->table = "v_xml_cdr";
|
||||||
|
//caller info
|
||||||
|
$database->fields['caller_destination'] = check_str(urldecode($xml->variables->caller_destination));
|
||||||
//misc
|
//misc
|
||||||
$uuid = check_str(urldecode($xml->variables->uuid));
|
$uuid = check_str(urldecode($xml->variables->uuid));
|
||||||
$database->fields['uuid'] = $uuid;
|
$database->fields['uuid'] = $uuid;
|
||||||
@@ -169,7 +170,6 @@
|
|||||||
}
|
}
|
||||||
$database->fields['caller_id_name'] = check_str(urldecode($row->caller_profile->caller_id_name));
|
$database->fields['caller_id_name'] = check_str(urldecode($row->caller_profile->caller_id_name));
|
||||||
$database->fields['caller_id_number'] = check_str(urldecode($row->caller_profile->caller_id_number));
|
$database->fields['caller_id_number'] = check_str(urldecode($row->caller_profile->caller_id_number));
|
||||||
$database->fields['caller_destination_number'] = check_str(urldecode($row->caller_profile->destination_number));
|
|
||||||
$x++;
|
$x++;
|
||||||
}
|
}
|
||||||
unset($x);
|
unset($x);
|
||||||
|
|||||||
Reference in New Issue
Block a user