[Asterisk-java-users] OriginateFailureEvent and OriginateSuccessEvent Deprecated
Brought to you by:
srt
From: robert h. <rls...@op...> - 2007-07-20 03:22:49
|
I have a significant amount of code utilizing OriginateFailureEvent and = OriginateSuccessEvent which are both deprecated since Asterisk 1.4. if (event instanceof OriginateSuccessEvent) { OriginateSuccessEvent success =3D (OriginateSuccessEvent) event; if (this.actionID.compareToIgnoreCase(success.getActionId()) =3D=3D 0) { originateSuccess =3D true; notify(); } } 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 Robert |