[asterisk-users] ARI events : ChannelDestroyed and ChannelHangupRequest

Joshua Colp jcolp at digium.com
Mon Jun 12 08:46:59 CDT 2017

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

[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

More information about the asterisk-users mailing list