This is almost identical to a recent question in the UniMRCP mailing list... anyway, here's the repeated answer for the benefit of search engine...
There currently aren't any dialplan applications that will do what you
want. The recognition result is fired as a "DETECTED_SPEECH" event.
See http://wiki.freeswitch.org/wiki/Misc._Dialplan_Tools_detect_speech .
You can get the event either using the event socket library (ESL) or by
running a javascript or lua script that uses an input callback. See http://wiki.freeswitch.org/wiki/Examples_directory_lua_asr_tts or http://wiki.freeswitch.org/wiki/ESL for more details.
Chris
Hello!
I am just starting to learn FreeSWITCH few days ago.
Before I have some experience in Asterisk and now I don't understand
somethings.
I try to use module mod_unimrcp in FreeSWITCH.
I made simple dialplan and starting recognition
<action application="detect_speech" data="unimrcp /usr/local/
freeswitch/grammar/digits"/>
It works.
I see NLSML in console FS, but I don't understand how I can use it.
In Asterisk NLSML-answer set in variable ${RECOG_RESULT}. How in FS?
There isn't such variable.
In Asterisk I can get this variable from perl-script, parse it, and
get utterance, confidence, etc. How I can get these parameters in FS?
--
Best regards,
Kirill
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