Update v_xml_cdr_import.php
This commit is contained in:
parent
67f78dcb1a
commit
90ae681fb7
|
|
@ -549,6 +549,11 @@
|
||||||
$record_name = urldecode($xml->variables->record_name);
|
$record_name = urldecode($xml->variables->record_name);
|
||||||
$record_length = urldecode($xml->variables->billsec);
|
$record_length = urldecode($xml->variables->billsec);
|
||||||
}
|
}
|
||||||
|
if (strlen($xml->variables->record_session) > 0) {
|
||||||
|
$record_path = dirname(urldecode($xml->variables->record_session));
|
||||||
|
$record_name = basename(urldecode($xml->variables->record_session));
|
||||||
|
$record_length = urldecode($xml->variables->record_seconds);
|
||||||
|
}
|
||||||
if (strlen($xml->variables->sofia_record_file) > 0) {
|
if (strlen($xml->variables->sofia_record_file) > 0) {
|
||||||
$record_path = dirname(urldecode($xml->variables->sofia_record_file));
|
$record_path = dirname(urldecode($xml->variables->sofia_record_file));
|
||||||
$record_name = basename(urldecode($xml->variables->sofia_record_file));
|
$record_name = basename(urldecode($xml->variables->sofia_record_file));
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue