Can anybody tell me where I went wrong..?
Thank you;
ERROR...
Transcription... got stuck on "pending"
log shows..
[2026-06-16 09:16:03] production.DEBUG: Listener crashed: Error connecting to 127.0.0.1:8021 at /var/www/fspbx/app/Services/FreeswitchEslService.php:48
[2026-06-16 09:16:13] production.DEBUG: Listener crashed: Error connecting to 127.0.0.1:8021 at /var/www/fspbx/app/Services/FreeswitchEslService.php:48
[2026-06-16 09:21:05] production.DEBUG: Checking email challenge enabled status...
[2026-06-18 00:29:01] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 00:23:48] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 00:25:05] production.DEBUG: VoicemailTranscriptionService@transcribe: An unexpected error occurred during transcription with provider 'openai'. {"error":"OpenAI API key is not configured. Please set the API key in your environment file.","file":"/var/lib/freeswitch/storage/voicemail/default/coxx.sxxxxx.com/4001/msg_d3475569-xxxxxxxx.wav"}
[2026-06-19 11:06:56] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 12:30:57] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 19:03:28] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 19:04:10] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 22:06:01] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 23:21:02] production.DEBUG: VoicemailTranscriptionService@transcribe: An unexpected error occurred during transcription with provider 'openai'. {"error":"OpenAI API key is not configured. Please set the API key in your environment file.","file":"/var/lib/freeswitch/storage/voicemail/default/coxx.sxxxxxx.com/4001/msg_20eefxxxxx.wav"}
[2026-06-20 00:51:27] production.DEBUG: AssemblyAI API key is not configured.
[2026-06-20 00:51:27] production.ERROR: AssemblyAI API key is not configured. {"exception":"[object] (Exception(code: 0): AssemblyAI API key is not configured. at /var/www/fspbx/app/Services/CallTranscription/CallTranscriptionService.php:55)
[stacktrace
---------------------------------------------------------------
in ".env".............
ASSEMBLYAI_API_KEY=65fxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ASSEMBLYAI_REGION=US
ASSEMBLYAI_BASE_URL="https://api.us.assemblyai.com"
ASSEMBLYAI_WEBHOOK_HEADER=X-FSPBX-Webhook
ASSEMBLYAI_WEBHOOK_SECRET=ItgpEDNg9qxxxxxxxxxxxxxxxxxxxxxxxxxxx
-------------------------------------------------------------
OPENAI_API_KEY=sk-proj-_4XT-8Pl........................................................sA
OPENAI_SPEECH_TIMEOUT=60
OPENAI_SPEECH_MAX_ATTEMPTS=2
------------------------------------------------
Thank you;
ERROR...
Transcription... got stuck on "pending"
log shows..
[2026-06-16 09:16:03] production.DEBUG: Listener crashed: Error connecting to 127.0.0.1:8021 at /var/www/fspbx/app/Services/FreeswitchEslService.php:48
[2026-06-16 09:16:13] production.DEBUG: Listener crashed: Error connecting to 127.0.0.1:8021 at /var/www/fspbx/app/Services/FreeswitchEslService.php:48
[2026-06-16 09:21:05] production.DEBUG: Checking email challenge enabled status...
[2026-06-18 00:29:01] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 00:23:48] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 00:25:05] production.DEBUG: VoicemailTranscriptionService@transcribe: An unexpected error occurred during transcription with provider 'openai'. {"error":"OpenAI API key is not configured. Please set the API key in your environment file.","file":"/var/lib/freeswitch/storage/voicemail/default/coxx.sxxxxx.com/4001/msg_d3475569-xxxxxxxx.wav"}
[2026-06-19 11:06:56] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 12:30:57] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 19:03:28] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 19:04:10] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 22:06:01] production.DEBUG: Checking email challenge enabled status...
[2026-06-19 23:21:02] production.DEBUG: VoicemailTranscriptionService@transcribe: An unexpected error occurred during transcription with provider 'openai'. {"error":"OpenAI API key is not configured. Please set the API key in your environment file.","file":"/var/lib/freeswitch/storage/voicemail/default/coxx.sxxxxxx.com/4001/msg_20eefxxxxx.wav"}
[2026-06-20 00:51:27] production.DEBUG: AssemblyAI API key is not configured.
[2026-06-20 00:51:27] production.ERROR: AssemblyAI API key is not configured. {"exception":"[object] (Exception(code: 0): AssemblyAI API key is not configured. at /var/www/fspbx/app/Services/CallTranscription/CallTranscriptionService.php:55)
[stacktrace
---------------------------------------------------------------
in ".env".............
ASSEMBLYAI_API_KEY=65fxxxxxxxxxxxxxxxxxxxxxxxxxxxx
ASSEMBLYAI_REGION=US
ASSEMBLYAI_BASE_URL="https://api.us.assemblyai.com"
ASSEMBLYAI_WEBHOOK_HEADER=X-FSPBX-Webhook
ASSEMBLYAI_WEBHOOK_SECRET=ItgpEDNg9qxxxxxxxxxxxxxxxxxxxxxxxxxxx
-------------------------------------------------------------
OPENAI_API_KEY=sk-proj-_4XT-8Pl........................................................sA
OPENAI_SPEECH_TIMEOUT=60
OPENAI_SPEECH_MAX_ATTEMPTS=2
------------------------------------------------