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:
@@ -101,8 +101,16 @@
|
||||
|
||||
//parse the xml to get the call detail record info
|
||||
try {
|
||||
//send info to lthe log
|
||||
xml_cdr_log($xml_string);
|
||||
$xml = simplexml_load_string($xml_string);
|
||||
|
||||
//disable xml entities
|
||||
libxml_disable_entity_loader(true);
|
||||
|
||||
//load the string into an xml object
|
||||
$xml = simplexml_load_string($xml_string, 'SimpleXMLElement', LIBXML_NOCDATA);
|
||||
|
||||
//send info to the log
|
||||
xml_cdr_log("\nxml load done\n");
|
||||
}
|
||||
catch(Exception $e) {
|
||||
|
||||
Reference in New Issue
Block a user