Re: [Asterisk-java-users] OriginateFailureEvent and OriginateSuccessEvent Deprecated
Brought to you by:
srt
From: Stefan R. <ste...@re...> - 2007-07-20 06:30:23
|
Hi Robert, > What do I replace these events with? This is part of class that monitor= s > events on multiple channels while asynchronously originating a call. I > would rather not have to reinvent it to work with asteriskjava.live Replace OriginateSuccessEvent and OriginateFailureEvent with OriginateEvent and use its isSuccess() method. Note: OriginateSuccessEvent and OriginateFailureEvent are deprected since Asterisk-Java 0.3 but will still work as long as you are using Asterisk 1.2.x. In any case it's a good idea to stop using them as OriginateEvent and isSuccess() will work with both Asterisk 1.2 and 1.4. Hpe that helps, =3DStefan --=20 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... Steuernummern 215/5140/1791 USt-IdNr. DE220701760 |