diff --git a/app/xml_cdr/resources/classes/xml_cdr.php b/app/xml_cdr/resources/classes/xml_cdr.php index 4f85fcfaef..8f15e920c8 100644 --- a/app/xml_cdr/resources/classes/xml_cdr.php +++ b/app/xml_cdr/resources/classes/xml_cdr.php @@ -780,6 +780,9 @@ if (!class_exists('xml_cdr')) { //get the xml cdr string $xml_string = file_get_contents($xml_cdr_dir.'/'.$file); + //decode the xml string + //$xml_string = urldecode($xml_string); + //parse the xml and insert the data into the db $this->xml_array($x, $leg, $xml_string); @@ -1311,4 +1314,4 @@ if (!class_exists('xml_cdr')) { } //class } -?> \ No newline at end of file +?>