mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Update recording_edit.php
This commit is contained in:
@@ -243,6 +243,10 @@
|
||||
$array['recordings'][0]['recording_uuid'] = $recording_uuid;
|
||||
$array['recordings'][0]['recording_filename'] = $recording_filename;
|
||||
$array['recordings'][0]['recording_name'] = $recording_name;
|
||||
if ($settings->get('recordings', 'storage_type', '') == 'base64'
|
||||
&& file_exists($recording_path.'/'.$recording_filename)) {
|
||||
$array['recordings'][0]['recording_base64'] = base64_encode(file_get_contents($recording_path.'/'.$recording_filename));
|
||||
}
|
||||
if ($speech_enabled || $transcribe_enabled) {
|
||||
$array['recordings'][0]['recording_voice'] = $recording_voice;
|
||||
$array['recordings'][0]['recording_message'] = $recording_message;
|
||||
|
||||
Reference in New Issue
Block a user