From 67a0f9eb0793b361111f2c58c65b69f32764f455 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Fri, 20 Oct 2017 18:02:58 -0600 Subject: [PATCH] Update v_xml_cdr_import.php --- app/xml_cdr/v_xml_cdr_import.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/xml_cdr/v_xml_cdr_import.php b/app/xml_cdr/v_xml_cdr_import.php index 528d97b1fa..29d2045d92 100644 --- a/app/xml_cdr/v_xml_cdr_import.php +++ b/app/xml_cdr/v_xml_cdr_import.php @@ -306,8 +306,8 @@ $record_length = urldecode($xml->variables->duration); } } - elseif (strlen($xml->variables->bridge) > 0) { - $commands = explode(",", urldecode($xml->variables->bridge)); + elseif (strlen($xml->variables->current_application_data) > 0) { + $commands = explode(",", urldecode($xml->variables->current_application_data)); foreach ($commands as $command) { $cmd = explode("=", $command); if ($cmd[0] == "api_on_answer") {