[asterisk-bugs] [JIRA] (ASTERISK-29437) ARI / channel events: events emitted after ChannelDestroyed

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Thu May 20 04:56:17 CDT 2021


    [ https://issues.asterisk.org/jira/browse/ASTERISK-29437?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=254946#comment-254946 ] 

Joshua C. Colp edited comment on ASTERISK-29437 at 5/20/21 4:55 AM:
--------------------------------------------------------------------

The attached packet capture does not include any Websocket traffic. It includes SIP, HTTP requests, and some TCP level traffic. You'll also need to provide more information on how exactly you are using ARI and the subscriptions in place. For example in your packet capture I see you explicitly subscribing. Are you doing that alongside the channel being in the same application? Are there two applications involved?

You could also do "ari set debug all on" in the Asterisk CLI to enable ARI debugging.


was (Author: jcolp):
The attached packet capture does not include any Websocket traffic. It includes SIP, HTTP requests, and some TCP level traffic. You'll also need to provide more information on how exactly you are using ARI and the subscriptions in place. For example in your packet capture I see you explicitly subscribing. Are you doing that alongside the channel being in the same application? Are there two applications involved?

> ARI / channel events: events emitted after ChannelDestroyed
> -----------------------------------------------------------
>
>                 Key: ASTERISK-29437
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29437
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari_channels
>    Affects Versions: 16.16.0
>            Reporter: Jean Aunis - Prescom
>            Assignee: Jean Aunis - Prescom
>            Severity: Major
>         Attachments: events_outoforder.pcap, full.txt
>
>
> It happens randomly that ChannelHangupRequest and StasisEnd events are emitted by Asterisk after the ChannelDestroyed event.
> As far as I understand, ChannelDestroyed should always be the last event emitted for a given channel, so ChannelHangupRequest and StasisEnd should be always emitted before.
> I'm attaching the full log and a wireshark capture of the ARI Websocket highlighting the issue:
> - a SIP call is received and cancelled after 2 seconds
> - when the CANCEL request is received, ARI events are emitted in this order :
> 1- ChannelDestroyed (packets 84 and 87)
> 2- ChannelHangupRequest (packet 91)
> 3- StasisEnd (packet 93)



--
This message was sent by Atlassian JIRA
(v6.2#6252)



More information about the asterisk-bugs mailing list