Update xml_cdr.php
This commit is contained in:
parent
8e4fb530fa
commit
3c0ffc943d
|
|
@ -421,8 +421,8 @@ if (!class_exists('xml_cdr')) {
|
||||||
$record_length = urldecode($xml->variables->duration);
|
$record_length = urldecode($xml->variables->duration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
elseif (strlen($xml->variables->bridge) > 0) {
|
elseif (strlen($xml->variables->current_application_data) > 0) {
|
||||||
$commands = explode(",", urldecode($xml->variables->bridge));
|
$commands = explode(",", urldecode($xml->variables->current_application_data));
|
||||||
foreach ($commands as $command) {
|
foreach ($commands as $command) {
|
||||||
$cmd = explode("=", $command);
|
$cmd = explode("=", $command);
|
||||||
if ($cmd[0] == "api_on_answer") {
|
if ($cmd[0] == "api_on_answer") {
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue