[Freeswitch-users] setInputCallback not working with Javascript?

Brian West brian at freeswitch.org
Tue Mar 24 06:47:01 PDT 2009


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 at 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.
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20090324/ad67a971/attachment-0002.html 


More information about the FreeSWITCH-users mailing list