jambonz / freeswitch-modules

Freeswitch modules designed for use with jambonz
Other
24 stars 25 forks source link

mod_azure_tts randomly having issues #74

Open xquanluu opened 5 months ago

xquanluu commented 5 months ago

Issue 1 0cc94686-ab60-406e-b78c-7c64ddda41ea 2024-06-05 06:15:58.137289 71.90% [DEBUG] switch_ivr_play_say.c:2826 Speaking text: {session-uuid=0cc94686-ab60-406e-b78c-7c64ddda41ea,api_key=redacted,language=en-US,vendor=microsoft,voice=en-US-AriaNeural,write_cache_file=1,region=eastus}One more question before we schedule your service. 2024-06-05 06:15:58.137289 71.90% [DEBUG] azure_glue.cpp:175 azure_speech_feed_tts SynthesisStarted 2024-06-05 06:15:58.137289 71.90% [DEBUG] azure_glue.cpp:43 mod_azure_tts: Exception in start_synthesis Exception with an error code: 0x21 (SPXERR_INVALID_HANDLE)

Issue 2 0cc94686-ab60-406e-b78c-7c64ddda41ea 2024-06-05 06:15:57.957290 71.90% [DEBUG] switch_ivr_play_say.c:2826 Speaking text: {session-uuid=0cc94686-ab60-406e-b78c-7c64ddda41ea,api_key=redacted,language=en-US,vendor=microsoft,voice=en-US-AriaNeural,write_cache_file=1,region=eastus2}One more question before we schedule your service. 2024-06-05 06:15:57.957290 71.90% [DEBUG] azure_glue.cpp:22 start_synthesis calling 2024-06-05 06:15:57.957290 71.90% [DEBUG] azure_glue.cpp:175 azure_speech_feed_tts SynthesisStarted 2024-06-05 06:15:58.037293 71.90% [ERR] azure_glue.cpp:35 Error synthesizing text 2 with error string: Connection was closed by the remote host. Error code: 1007. Error details: USP state: TurnStarted. Received audio size: 0 bytes..

vdharashive commented 3 months ago

@davehorton if you need help from microsoft pls let me know

davehorton commented 3 months ago

yes, we need them to explain the meaning of the error message

Connection was closed by the remote host. Error code: 1007. Error details: USP state: TurnStarted. Received audio size: 0 bytes.

are you able to recreate ?

iamramengirl commented 2 months ago

Checking if this has been addressed. We have a customer reporting the same issue. Thanks!