Closed ankitpwit closed 1 year ago
Hi
I am trying to use Azure Transcribe module with the following API command
uuid_azure_transcribe <uuid> start <lang-code> interim
Getting the following error in Freeswitch CLI
023-09-14 12:00:36.443844 98.53% [INFO] mod_azure_transcribe.c:154 start transcribing hi-IN interim azure_transcribe 2023-09-14 12:00:36.443844 98.53% [DEBUG] azure_transcribe_glue.cpp:386 Using env vars for azure authentication 2023-09-14 12:00:36.443844 98.53% [DEBUG] azure_transcribe_glue.cpp:448 sofia/drachtio_mrf/nobody@10.53.184.142:5060: initializing gstreamer with azure_transcribe 2023-09-14 12:00:36.443844 98.53% [DEBUG] azure_transcribe_glue.cpp:52 GStreamer::GStreamer(0x7f8d28006910) region southeastasia, language hi-IN 2023-09-14 12:00:36.443844 98.53% [ERR] azure_transcribe_glue.cpp:454 sofia/drachtio_mrf/nobody@10.53.184.142:5060: Error initializing gstreamer: basic_string::_M_construct null not valid. 2023-09-14 12:00:36.443844 98.53% [ERR] mod_azure_transcribe.c:91 Error initializing azure speech session
Using the following ENV variables Environment="AZURE_SUBSCRIPTION_KEY=XXXXXXXXX" Environment="AZURE_REGION=southeastasia"
Kindly advise
what was the resolution @ankitpwit
Apparently it was not able to find the ENV variables when they were set in Freeswitch's service file. When I set those in realtime using ep.set() during the call, it worked!
Hi
I am trying to use Azure Transcribe module with the following API command
uuid_azure_transcribe <uuid> start <lang-code> interim
Getting the following error in Freeswitch CLI
023-09-14 12:00:36.443844 98.53% [INFO] mod_azure_transcribe.c:154 start transcribing hi-IN interim azure_transcribe 2023-09-14 12:00:36.443844 98.53% [DEBUG] azure_transcribe_glue.cpp:386 Using env vars for azure authentication 2023-09-14 12:00:36.443844 98.53% [DEBUG] azure_transcribe_glue.cpp:448 sofia/drachtio_mrf/nobody@10.53.184.142:5060: initializing gstreamer with azure_transcribe 2023-09-14 12:00:36.443844 98.53% [DEBUG] azure_transcribe_glue.cpp:52 GStreamer::GStreamer(0x7f8d28006910) region southeastasia, language hi-IN 2023-09-14 12:00:36.443844 98.53% [ERR] azure_transcribe_glue.cpp:454 sofia/drachtio_mrf/nobody@10.53.184.142:5060: Error initializing gstreamer: basic_string::_M_construct null not valid. 2023-09-14 12:00:36.443844 98.53% [ERR] mod_azure_transcribe.c:91 Error initializing azure speech session
Using the following ENV variables Environment="AZURE_SUBSCRIPTION_KEY=XXXXXXXXX" Environment="AZURE_REGION=southeastasia"
Kindly advise