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

Asterisk Team (JIRA) noreply at issues.asterisk.org
Tue Oct 18 03:22:02 CDT 2016


     [ https://issues.asterisk.org/jira/browse/ASTERISK-26468?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Asterisk Team updated ASTERISK-26468:
-------------------------------------

    Assignee: Asterisk Team  (was: Daniele Pallastrelli)
      Status: Triage  (was: Waiting for Feedback)

> 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
>            Assignee: Asterisk Team
>              Labels: ARI, stasis
>         Attachments: debug_log_26468.txt
>
>
> 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