Paul, The Ruby application taking responsibility for implementing a recogniser does certainly introduce an overhead to the application. I'm not sure yet how much of a penalty this is in a real-world application (it's difficult to untangle this from other differences), but either way my primary concern is one of logical responsibility. For reasons of client simplicity, platform consistency, etc, this piece fits better inside Asterisk (such that it's usable via AMI, ARI, the C API, etc) than in a consumer of those APIs. Ben On 11 December 2013 19:46, Paul Belanger <paul.belanger at polybeacon.com>wrote: > On 13-12-11 06:22 PM, Ben Langfeld wrote: > >> The vast majority of IVR platforms (mainly VoiceXML) permit handling DTMF >> in a consistent manner to speech recognition, that is by way of a DTMF >> grammar. Asterisk, to my knowledge, does not currently include an >> SRGS-based DTMF recognizer. >> >> FreeSWITCH recently got one as part of mod_rayo, and Chris Rienzo has >> stated that he believes making a majority of this into a library general >> enough to be used in Asterisk also would be plausible, leaving limited >> integration effort in Asterisk. >> >> It is interesting to me in order to simplify the implementation of >> Adhearsion atop Asterisk, since right now we have this in Ruby based on >> AMI >> DTMF events. Is there any appetite among the Asterisk core team to >> investigate the addition of this to Asterisk core or as a module? >> >> If this gets agreement in principle, I'd love to talk more thoroughly >> about >> the kind of API that would be most useful for us, and how we can move >> forward with specification and implementation. >> >> Interesting, I was actually trying to add something for python very much > along these lines. Are you hitting a performance issue in ruby? Mind you, > I'm looking to do it a top ARI, not AMI. > > -- > Paul Belanger | PolyBeacon, Inc. > Jabber: paul.belanger at polybeacon.com | IRC: pabelanger (Freenode) > Github: https://github.com/pabelanger | Twitter: > https://twitter.com/pabelanger > > _______________________________________________ > asterisk-app-dev mailing list > asterisk-app-dev at lists.digium.com > http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-app-dev/attachments/20131212/c52769ca/attachment-0001.html>