mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-29 20:19:19 +00:00
Fix the greeting transcription
This commit is contained in:
@@ -236,7 +236,7 @@ if (!empty($_POST) && empty($_POST["persistformvar"])) {
|
||||
}
|
||||
|
||||
//audio to text - get the transcription from the audio file
|
||||
if ($transcribe_enabled && empty($greeting_voice) && empty($greeting_message)) {
|
||||
if ($transcribe_enabled && empty($greeting_message)) {
|
||||
$transcribe->audio_path = $greeting_path;
|
||||
$transcribe->audio_filename = $greeting_filename;
|
||||
$greeting_message = $transcribe->transcribe('text');
|
||||
|
||||
Reference in New Issue
Block a user