Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

When I use play_and_detect_speech, it affects my regular voice calls. #2423

Open
wangxm345566462 opened this issue Apr 10, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@wangxm345566462
Copy link

Describe the bug
When I enable continuous speech recognition with the command say: detect:unimrcp:unimrcpserver-mrcp-v2-asr1 {start-input-timers=false,recognition-timeout=25000,play_and_detect_speech_close_asr=false}jt.continuous.grxml, the audio stream in my FreeSWITCH session becomes disrupted. Although the audio can be sent to MRCP for recognition, the media stream in the FreeSWITCH call experiences interruptions, loss, or poor quality, leading to an inconsistent listening experience.

To Reproduce
Steps to reproduce the behavior:

Configure FreeSWITCH with MRCP for ASR using the command say: detect:unimrcp:unimrcpserver-mrcp-v2-asr1 {start-input-timers=false,recognition-timeout=25000,play_and_detect_speech_close_asr=false}jt.continuous.grxml.
Initiate a call using Verto.
Stream audio into the call, aiming for continuous speech recognition.
Observe that the audio in the FreeSWITCH call suffers from interruptions or quality degradation.
Expected behavior
I expected the continuous speech recognition to process the audio stream without impacting the quality or consistency of the audio heard during the FreeSWITCH call. The audio should be clearly audible without interruptions or loss, while also being sent to MRCP for recognition.

Package version or git hash

Version 1.8.7 and other
Trace logs
Unfortunately, I do not have trace logs available at the moment. However, I can enable DEBUG and UUID logging in FreeSWITCH to collect detailed logs if required.

backtrace from core file
Not applicable as FreeSWITCH did not crash, but experienced audio stream issues.

Please note: Adjust the steps under "To Reproduce" to closely match your actual setup and actions that led to the problem. Additionally, providing exact package versions or git hashes, along with any trace logs or core file backtraces (if FreeSWITCH crashes), can significantly help in diagnosing the issue.

@wangxm345566462 wangxm345566462 added the bug Something isn't working label Apr 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant