Update v_xml_cdr_import.php

This commit is contained in:
FusionPBX 2017-10-20 18:02:58 -06:00 committed by GitHub
parent 770f412618
commit 67a0f9eb07
1 changed files with 2 additions and 2 deletions

View File

@ -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") {