[Asterisk-java-users] OriginateSuccessEvent and OriginateFailureEvent deprected
Brought to you by:
srt
From: robert h. <rls...@op...> - 2007-07-23 03:45:36
|
>Hi Robert, > >> What do I replace these events with? This is part of class that = monitors >> 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 Thanks, problem solved. Robert. |