Sponsor: VoiceMeUp - Corporate & Wholesale VoIP Services

VoIP Mailing List Archives
Mailing list archives for the VoIP community
 SearchSearch 

[Freeswitch-users] setInputCallback not working with Javascript?


 
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users
View previous topic :: View next topic  
Author Message
gregt at cgicommunicat...
Guest





PostPosted: Fri Jul 24, 2009 11:04 am    Post subject: [Freeswitch-users] setInputCallback not working with Javascr Reply with quote

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:
Quote:
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.




_______________________________________________
Freeswitch-users mailing list
Freeswitch-users@lists.freeswitch.org (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
Back to top
Display posts from previous:   
Post new topic   Reply to topic    VoIP Mailing List Archives Forum Index -> freeSWITCH Users All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group

VoiceMeUp - Corporate & Wholesale VoIP Services