On Mon, Jun 12, 2017, at 05:43 AM, Jean Aunis wrote: > Hello, > > I noticed that when a channel is destroyed, two different events can be > raised : ChannelDestroyed and ChannelHangupRequest. These two events > seem to be mutually exclusive : if I receive a ChannelHangupRequest, I > will never receive a ChannelDestroyed, and vice versa. > > This behaviour does not look consistent with the documentation, which > states : "ChannelDestroyed : Notification that a channel has been > destroyed". So I would expect a ChannelDestroyed event to be raised each > time a channel is actually destroyed. > > Is it a bug ?
We'd need to know the specific scenarios under which you are doing things to know if it's a bug or not. It is reasonable to expect that ChannelDestroyed is always present, but it depends. I'd also suggest using the app-dev mailing list[1] in the future as its focus is more ARI. [1] http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org -- _____________________________________________________________________ -- Bandwidth and Colocation Provided by http://www.api-digital.com -- Check out the new Asterisk community forum at: https://community.asterisk.org/ New to Asterisk? Start here: https://wiki.asterisk.org/wiki/display/AST/Getting+Started asterisk-users mailing list To UNSUBSCRIBE or update options visit: http://lists.digium.com/mailman/listinfo/asterisk-users