Janahan Vivekanandan wrote: > I know that I can use the ActionID to accomplish this once I receive > the OriginateSuccess event, but I need to be able to cancel the call > before it is answered(I'm pretty sure OriginateSuccess is only sent > after the call is answered, correct me if I'm wrong...:-)
You are right and the canonical answer seems to be you can't. I had the same problem a few weeks ago for the development of Asterisk-Java and solved it by setting a channel variable in the Originate action which I check for with every NewChannel event. Not nice, but it a working hack. =Stefan -- reuter network consulting Neusser Str. 110 50760 Koeln Germany Telefon: +49 221 1305699-0 Telefax: +49 221 1305699-90 E-Mail: [EMAIL PROTECTED]
signature.asc
Description: OpenPGP digital signature
_______________________________________________ --Bandwidth and Colocation provided by Easynews.com -- asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users