Update v_xml_cdr_import.php
This commit is contained in:
@@ -301,6 +301,11 @@
|
|||||||
$record_name = basename(urldecode($xml->variables->sofia_record_file));
|
$record_name = basename(urldecode($xml->variables->sofia_record_file));
|
||||||
$record_length = urldecode($xml->variables->record_seconds);
|
$record_length = urldecode($xml->variables->record_seconds);
|
||||||
}
|
}
|
||||||
|
elseif (strlen($xml->variables->cc_record_filename) > 0) {
|
||||||
|
$record_path = dirname(urldecode($xml->variables->cc_record_filename));
|
||||||
|
$record_name = basename(urldecode($xml->variables->cc_record_filename));
|
||||||
|
$record_length = urldecode($xml->variables->record_seconds);
|
||||||
|
}
|
||||||
elseif (strlen($xml->variables->api_on_answer) > 0) {
|
elseif (strlen($xml->variables->api_on_answer) > 0) {
|
||||||
$command = str_replace("\n", " ", urldecode($xml->variables->api_on_answer));
|
$command = str_replace("\n", " ", urldecode($xml->variables->api_on_answer));
|
||||||
$parts = explode(" ", $command);
|
$parts = explode(" ", $command);
|
||||||
|
|||||||
Reference in New Issue
Block a user