From 311e6477838bd0f616a89a0c6042f2b9d2abfa43 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Mon, 6 Apr 2020 16:11:31 -0600 Subject: [PATCH] Update xml_cdr.php --- app/xml_cdr/resources/classes/xml_cdr.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 +?>