Have a look here

https://freeswitch.org/confluence/display/FREESWITCH/mod_dptools%3A+play_and_detect_speech


On Fri, Sep 21, 2018 at 8:17 AM Ilya Spirin <splva@mail.ru> wrote:

Thanks for reply.

Could you tell more please? I send a playback command already and file is playing for some time.
But exactly detect_speech application ends quickly.

Tried to send "detect_speech resume". There is still no effect (see pastebin).


On 21.09.2018 03:29, Anthony Minessale wrote:
Its async so send the call to do something like park so it doesn't end.

On Thu, Sep 20, 2018 at 4:21 PM Ilya Spirin via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org> wrote:



---------- Forwarded message ----------
From: Ilya Spirin <splva@mail.ru>
To: freeswitch-users@lists.freeswitch.org
Cc: 
Bcc: 
Date: Thu, 20 Sep 2018 13:12:49 -0700 (MST)
Subject: Detecting speech over ESL using mod_unimrcp.
Hello everyone!

I'm trying to recognize speech with my application. FS built with
mod_unimrcp. Also I have installed UniMRCP Server with Google Speech
Recognition plugin.

play_and_detect_speech application works fine. But I have to stop playback
manually that's why I'm sending some commands via ESL.

Here is ESL dump:
https://pastebin.com/p1jUrhn6 <https://pastebin.com/p1jUrhn6> 
After sending answer, playback and detect_speech commands I immediately got
"CHANNEL_EXECUTE_COMPLETE" event for detect_speech application.

Please help. What I'm doing wrong?
Thank you.

--
Best regards
Ilya Spirin



--
Sent from: http://freeswitch-users.2379917.n2.nabble.com/




---------- Forwarded message ----------
From: Ilya Spirin via FreeSWITCH-users <freeswitch-users@lists.freeswitch.org>
To: freeswitch-users@lists.freeswitch.org
Cc: 
Bcc: 
Date: Thu, 20 Sep 2018 14:21:25 -0700 (PDT)
Subject: [Freeswitch-users] Detecting speech over ESL using mod_unimrcp.
_________________________________________________________________________
Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://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
https://freeswitch.com


--



--