[Freeswitch-users] setInputCallback not working with Javascript?

Greg Thoen gregt at cgicommunications.com
Fri Jul 24 08:59:41 PDT 2009


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 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.
>>
>
> _______________________________________________
> Freeswitch-users mailing list
> 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/20090724/4c25d099/attachment-0002.html 


More information about the FreeSWITCH-users mailing list