brian at freeswitch.org Guest
|
Posted: Tue Mar 24, 2009 8:56 am Post subject: [Freeswitch-users] setInputCallback not working with Javascr |
|
|
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 (mszlazak@aol.com) wrote:
Quote: | 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.
|
|
|