Re: [Asterisk-java-users] Asterisk Live
Brought to you by:
srt
From: Stefan R. <sr...@re...> - 2006-06-06 17:58:32
|
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= =2E In > that case you'd never have to return AsteriskChannel =3D null. >=20 > 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. =3DStefan --=20 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... |