Regarding the second part of his question, I am having a hard time stripping SpeechTools.jm into a very simple speech recognition example. I also cannot get collectInput to receive the type of "event", only "dtmf"


--

Greg Thoen,

Vice President

CGI Communications, Inc.

1-585-427-0020 x260




On Mar 24, 2009, at 9:47 AM, Brian West wrote:

Javascript doesn't use the Core Session constructor.  Its not the same as the other languages.

/b

On Mar 24, 2009, at 1:40 AM, mszlazak@aol.com wrote:

I'm getting in build 12653M: 

[ERR] notify.js:130 mod_spidermonkey()  TypeError: session.setInputCallback is not a function

The wiki says this function should work in Javascript.

http://wiki.freeswitch.org/wiki/CoreSession_Constructor#session:setInputCallback

Also, has there been changes to session.collectInput with type="event"? I get dtmf type events with my callback function but can't seem to get type="event" with speech events.

Mark.


_______________________________________________
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