Re: [Asterisk-java-users] Asterisk Live
Brought to you by:
srt
From: Tony M. <to...@am...> - 2006-06-06 18:17:30
|
For some reason I'd missed that you'd added those methods :-) I will probably use the async methods. Just for the record ... your work is very much appreciated and I think the APIs and the overall code is of a very high quality. -----Original Message----- From: ast...@li... [mailto:ast...@li...] On Behalf Of Stefan Reuter Sent: Tuesday, June 06, 2006 7:58 PM To: ast...@li... Subject: Re: [Asterisk-java-users] Asterisk Live Tony Mowers wrote: > I am guessing that in theory it would now be possible for you to throw an > Exception with the origination failure cause contained in the exception. In > that case you'd never have to return AsteriskChannel = null. > > Is that the plan? Yes that might be done. - Probably a good idea! The other idea that gives you even more control is to use the async originate methods, they give you better feedback by calling one of onSuccess(channel) onNoAnswer(channel) onBusy(channel) onFailure() on your callback. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: sr...@re... Jabber: sr...@ja... |