alphacep / alphacep/vosk-server

how to stop detect speech by using vosk in freeswitch

Aperta
#100 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
Python
Stelle
1.3k
Fork
317
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

Hi,

When I use VOSK on Freeswitch, how do I stop VOSK speech recognition when I get the results I want during a call?

I am having a problem now, I do not know how to stop VOSK speech recognition after I use VOSK to recognize the result in Freeswitch.

I've tried two approaches:

1. **Add the app to the dialplan,like this:**
````xml








````
Or
````xml








````

2. **use Inline Dialplan, like this:**

bgapi originate {fire_asr_events=true,detect_speech=vosk}user/1001 'set:fire_asr_events=true,detect_speech:vosk default default,transfer:callcenter01 XML call_center_context,sleep:1000,detect_speech:stop' inline

**But neither method can stop the recognition of VOSK, and you have to hang up the call to stop the recognition.**

So, what should I do to stop Vosk speech recognition at any time?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.