[asterisk-bugs] [JIRA] (ASTERISK-26468) ari: Bridge events stop working after this sequence of ARI calls

Joshua Colp (JIRA) noreply at issues.asterisk.org
Mon Oct 17 09:03:01 CDT 2016


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

Joshua Colp commented on ASTERISK-26468:
----------------------------------------

Thank you for taking the time to report this bug and helping to make Asterisk better. Unfortunately, we cannot work on this bug because your description did not include enough information. Please read over the Asterisk Issue Guidelines [1] which discusses the information necessary for your issue to be resolved and the format that information needs to be in. We would be grateful if you would then provide a more complete description of the problem. At a minimum, we need:

1. The specific steps or actions you took that caused you to encounter the problem.
2. The behavior you expected and the location of documentation that led you to that expectation.
3. The behavior you actually encountered.

To demonstrate the issue in detail, please include Asterisk log files generated per the instructions on the wiki [2]. If applicable, please ensure that protocol-level trace debugging is enabled, e.g., 'sip set debug on' if the issue involves chan_sip, and configuration information such as dialplan and channel configuration.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Issue+Guidelines

[2] https://wiki.asterisk.org/wiki/display/AST/Collecting+Debug+Information

In this case the logs would be extremely useful for initial analysis.

> ari: Bridge events stop working after this sequence of ARI calls
> ----------------------------------------------------------------
>
>                 Key: ASTERISK-26468
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-26468
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Core/Stasis, Resources/res_ari_bridges
>    Affects Versions: 13.10.0, 14.0.2
>         Environment: Debian 8.5
> 3.16.0-4-686-pae
> gcc (Debian 4.9.2-10) 4.9.2
>            Reporter: Daniele Pallastrelli
>              Labels: ARI, stasis
>
> h4. Frequency
> Systematic issue.
> h4. Symptoms
> Bridge events stop flowing from ARI websocket after a precise sequence of ARI requests occours.
> h4. Steps required to reproduce the issue
> {code}
> wscat -c "ws://localhost:8088/ari/events?api_key=asterisk:asterisk&app=attendant&subscribeAll=true"
> curl -v -u asterisk:asterisk -X POST "http://localhost:8088/ari/applications/attendant/subscription?eventSource=channel:,endpoint:,bridge:,deviceState:"
> curl -v -u asterisk:asterisk -X POST "http://localhost:8088/ari/bridges"
> curl -v -u asterisk:asterisk -X POST "http://localhost:8088/ari/channels?endpoint=SIP/101&app=attendant"
> curl -v -u asterisk:asterisk -X POST "http://localhost:8088/ari/bridges/6c83e708-b59b-4200-8dbe-f6d7ee31d2cf/addChannel?channel=atom_asterisk-1476373625.0"
> curl -v -u asterisk:asterisk -X POST "http://localhost:8088/ari/channels?endpoint=SIP/290&app=attendant"
> curl -v -u asterisk:asterisk -X POST "http://localhost:8088/ari/bridges/6c83e708-b59b-4200-8dbe-f6d7ee31d2cf/addChannel?channel=atom_asterisk-1476373662.1"
> curl -v -u asterisk:asterisk -X DELETE "http://localhost:8088/ari/channels/atom_asterisk-1476373625.0"
> curl -v -u asterisk:asterisk -X DELETE "http://localhost:8088/ari/channels/atom_asterisk-1476373662.1"
> curl -v -u asterisk:asterisk -X DELETE "http://localhost:8088/ari/bridges/6c83e708-b59b-4200-8dbe-f6d7ee31d2cf"
> curl -v -u asterisk:asterisk -X POST "http://localhost:8088/ari/bridges"
> {code}
> h4. Result
> After the last POST (creating a new bridge), I don't receive the event "BridgeCreated" on the websocket and in general I don't receive bridge events anymore.
> The last bridge event I get is the "BridgeDestroyed" corresponding to the last DELETE http request.



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



More information about the asterisk-bugs mailing list