[Freeswitch-users] Invalid ASR module [mod_unimrcp]

Yungwei Chen yungwei at resolvity.com
Tue Jul 12 01:31:58 MSD 2011


I found the definition of setGrammar(....)
        this.setGrammar = function (grammar_name, path, obj_path, min_score, confirm_score, halt) {
                this.asr.setGrammar(this.grammar_name);

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Yungwei Chen
Sent: Monday, July 11, 2011 4:26 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Invalid ASR module [mod_unimrcp]

When reviewing the log file, I also noticed the following message:  EXECUTE sofia/internal/1000 at 192.168.216.98 detect_speech(unimrcp pizza_order  undefined)
Now I'm wondering which folder ps_pizza.js looks for grammars. Thanks.

Here's the statement in ps_pizza.js.
pizza.orderObtainer.setGrammar("pizza_order", "", "result.interpretation.input", dft_min, dft_confirm, true);

From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Christopher Rienzo
Sent: Monday, July 11, 2011 4:15 PM
To: FreeSWITCH Users Help
Subject: Re: [Freeswitch-users] Invalid ASR module [mod_unimrcp]


"unimrcp" is the engine to use.  Make sure your mrcp profile is set up correctly.  The wiki has examples for various servers.
On Jul 11, 2011 5:09 PM, "Yungwei Chen" <yungwei at resolvity.com<mailto:yungwei at resolvity.com>> wrote:

Hi,

I'm testing the pizza demo shipped with freeswitch. I tested it with pocketsphinx module, and that works.
Now I'm trying to do the same with a different ASR via unimrcp.

In ps_pizza.js, I replaced pocketsphinx in the following statement in ps_pizza.js with mod_unimrcp and unimrcp respectively, none of which works.
What am I missing here? Thanks.
var asr = new SpeechDetect(session, "pocketsphinx");


_______________________________________________
Join us at ClueCon 2011, Aug 9-11, Chicago
http://www.cluecon.com 877-7-4ACLUE

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20110711/87d164a4/attachment-0001.html 


More information about the FreeSWITCH-users mailing list