[asterisk-users] ARI events : ChannelDestroyed and ChannelHangupRequest

Jean Aunis jean.aunis at prescom.fr
Mon Jun 12 15:56:23 CDT 2017

Le 12/06/2017 à 15:46, Joshua Colp a écrit :
> 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.
Thank you Joshua, I was not aware of this mailing list. I will describe 
the precise scenario as soon as I have free time.
> [1] http://lists.digium.com/cgi-bin/mailman/listinfo/asterisk-app-dev

More information about the asterisk-users mailing list