Re: [Asterisk-java-devel] DTMF support in asterisk-java Live API
Brought to you by:
srt
From: Jitendra C. <jit...@im...> - 2008-06-27 14:33:49
|
Hi Stefan, Thanks for your suggestion. We are planning to implement the DTMF feature in live API as you suggested. Please go through the pointers below and do let us know if it looks ok for the implementation. Also let us know if you need any changes in the below pointers. # we will Add a new DTMF.java class, which will be having the following variables - digit - direction - isReceived - isSent # we will add new interface DTMFListener.java in org.asteriskjava.live package. # DTMFListener will be having two methods onDtmfStart(DTMF), onDtmfEnd(DTMF) # AsteriskChannel interface will have a method called "addDTMFListener(DTMFListener)", and its implementation will be defined in AsteriskChannelImpl class # In AsteriskChannelImpl class we will be maintaining a List<DTMFListener> of DTMF listeners # Will add new method handleDTMFEvent() in ChannelManager class - In this method we will call the callback methods of DTMFListeners, depending on the isBegin & isEnd variables. Please do let us know your inputs/comments on the above approach ASAP, because we are going to start implementing the changes soon. Thanks & Regards, Jitendra Chittoda -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Thursday, June 19, 2008 1:00 AM To: ast...@li... Subject: Re: [Asterisk-java-devel] DTMF support in asterisk-java Live API How about adding a new interface DtmfListener with 2 methods (onDtmfStart and onDtmfEnd) that can be registered with AsteriskChannels? In my opinion that would be more usable if you choose to handle DTMF through the live API. =Stefan Jitendra Chittoda wrote: > Hi All, > > > > I have opened a New-Feature-Request for support of DTMF event handling > in asterisk-java live API. > > * Please refer - http://jira.reucon.com/browse/AJ-150 > * /We have placed our changes in the above ticket./ > > > > > > Please do let us know if it looks ok and you plan to include this in > next release :-) > > > > Thanks & Regards, > > Jitendra Chittoda > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Check out the new SourceForge.net Marketplace. > It's the best place to buy or sell services for > just about anything Open Source. > http://sourceforge.net/services/buy/index.php > > > ------------------------------------------------------------------------ > > _______________________________________________ > Asterisk-java-devel mailing list > Ast...@li... > https://lists.sourceforge.net/lists/listinfo/asterisk-java-devel -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: ste...@re... Jabber: ste...@re... WWW: http://www.reucon.com Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |