I'm not sure why it locks up for you. It works for me and I know of at least one other developer that got it all to work.
The way I do it in my custom APP is to set {start-input-timers=false} in the speech recognition request and register an input callback function to deal with the recognition and DTMF events. The input callback reacts to the start of speech and recognition complete events by stopping the prompt. At start of speech, the input timers are started and silence is played until the final result arrives from the recognizer (no match, match, etc).
An alternative way to do this is to watch for the recognition events over ESL and react to them.
Hi Christopher,
That will be great! Thanks and looking forward to your app!
By the way, do you have a quick thoughts about the reasons the FS stucks when garge-in occurs?
Otherwise if it is not straightforward to explain it, just leave it alone until your new app comes out.
Cheers,
On 14/11/11 13:23, Christopher Rienzo wrote:I'll write up a dialplan app this week to deal with this. Getting tired of being asked the same question over and over since it's too complicated as is currently designed :)
On Mon, Nov 14, 2011 at 8:07 AM, xl127 <x.liu@hw.ac.uk> wrote:
Hi,
The first problem I need to solve is that FS stucks when I speak during
the prompt is playing.
It looks like the recognizer is not listening any more. It works fine if
I speak after the playing prompt finishes.
I tried Nuance and PocketSphinx recognizers and got same problem.
Any idea about what the possible causes are?
Thanks!
On 11/11/11 18:59, xl127 wrote:
> Hello,
>
> I found this is a question that was asked before by others, but I didn't
> find the answer.
>
> Anyway, I am using FS ESL outbound mode connecting to my IVR app, using
> FS's "speak"
> and "detect_speech" to access Nuance MRCP V1 server.
>
> I want the user to be able to barge-in during the system's speaking.
> How could I implement it?
>
> I tried to specify "kill-on-barge-in=true" in the mrcp config profile.
> The barge-in doesn't work.
>
> With or without setting kill-on-barge-in, FS stops responding to my
> phone call and
> eventually it hangs up my call if I speak somthing (do the barge-in)
> during the system's speaking.
>
> I made a turn-by-turn loop in my app, the ASR/TTS works fine if I do not
> do barge-in ( I wait until the TTS finishes then I start to speak)
>
> Any advices please?
>
> Thanks!
>
>
>
--
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.
Heriot-Watt University is the Sunday Times
Scottish University of the Year 2011-2012
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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
_________________________________________________________________________ Professional FreeSWITCH Consulting Services: consulting@freeswitch.org http://www.freeswitchsolutions.com FreeSWITCH-powered IP PBX: The CudaTel Communication Server http://www.cudatel.com Official FreeSWITCH Sites http://www.freeswitch.org http://wiki.freeswitch.org http://www.cluecon.com 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
Heriot-Watt University is the Sunday Times
Scottish University of the Year 2011-2012
Heriot-Watt University is a Scottish charity
registered under charity number SC000278.
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
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