are you using sync or async mode on the socket.
Hi,I'm trying to detect speech while playing a file over the event socket.I start detecting speech:call-command: executeexecute-app-name: detect_speechexecute-app-arg: pocketsphinx ivr_grammar ivrevent-lock:trueThen playback the file:call-command: executeexecute-app-name: playbackexecute-app-arg: ivr.wavevent-lock:falseThen resume the speech detection:call-command: executeexecute-app-name: detect_speechexecute-app-arg: resumeevent-lock:trueNow when I say something, I do see this in the FreeSWITCH console:2010-06-10 23:29:06.994346 [DEBUG] mod_pocketsphinx.c:383 Recognized: ONE, Confidence: 100But I don't receive the DETECTED_SPEECH events over the socket.However, if I wait until the file is played, that is until I see this in the FreeSWITCH console:
2010-06-10 20:48:50.512148 [DEBUG] switch_ivr_play_say.c:1428 done playing fileand say something after that, I do get the DETECTED_SPEECH events.Is there a way I could receive these events while the file is being played?Thanks,Jan Kubr
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org