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


--
_____________________________________________________________________
-- 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

Reply via email to