Update v_xml_cdr_import.php
This commit is contained in:
parent
8f1d686d38
commit
9eb861e971
|
|
@ -358,7 +358,7 @@
|
|||
$record_path = $path;
|
||||
$record_name = $bridge_uuid.'.wav';
|
||||
$record_length = urldecode($xml->variables->duration);
|
||||
} elseif (file_exists($record_path.'/'.$bridge_uuid.'.mp3')) {
|
||||
} elseif (file_exists($path.'/'.$bridge_uuid.'.mp3')) {
|
||||
$record_path = $path;
|
||||
$record_name = $bridge_uuid.'.mp3';
|
||||
$record_length = urldecode($xml->variables->duration);
|
||||
|
|
@ -370,7 +370,7 @@
|
|||
$record_path = $path;
|
||||
$record_name = $uuid.'.wav';
|
||||
$record_length = urldecode($xml->variables->duration);
|
||||
} elseif (file_exists($record_path.'/'.$uuid.'.mp3')) {
|
||||
} elseif (file_exists($path.'/'.$uuid.'.mp3')) {
|
||||
$record_path = $path;
|
||||
$record_name = $uuid.'.mp3';
|
||||
$record_length = urldecode($xml->variables->duration);
|
||||
|
|
|
|||
Loading…
Reference in New Issue