mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update xml_cdr.php
This commit is contained in:
@@ -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") {
|
||||||
|
|||||||
Reference in New Issue
Block a user