[asterisk-bugs] [JIRA] (ASTERISK-28679) stasis application is destroyed after its creation

Asterisk Team (JIRA) noreply at issues.asterisk.org
Thu Mar 5 11:45:28 CST 2020


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

Asterisk Team updated ASTERISK-28679:
-------------------------------------

    Target Release Version/s: 16.9.0

> stasis application is destroyed after its creation
> --------------------------------------------------
>
>                 Key: ASTERISK-28679
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28679
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 16.7.0
>         Environment: Debian buster
>            Reporter: Francois Blackburn
>            Assignee: Kevin Harwell
>      Target Release: 13.31.0, 13.32.0, 16.8.0, 16.9.0, 17.2.0
>
>
> Given I create bridge (type=holding)
> Given I create Stasis application (by connecting the websocket)
> Given I subscribe the bridge to the application
> Given I close the websocket connection
> Given I destroy the bridge
> When I reconnect the websocket
> When I get the application with ARI
> Then I get 404 application not found
> Expected I get the application
> I have the following log for my last websocket connection :
> {code}
> [Jan  6 09:00:22]  Activating Stasis app 'MY_APPLICATION'
> [Jan  6 09:00:22]   == WebSocket connection from '127.0.0.1:49876' for protocol '' accepted using version '13'
> [Jan  6 09:00:22]  Destroying Stasis app MY_APPLICATION
> [Jan  6 09:00:22]     -- Remove stasis-MY_APPLICATION/h/1, registrar=res_stasis; con=stasis-MY_APPLICATION(0x7fd5f000fe70); con->root=0x7fd5f00102a0
> [Jan  6 09:00:22]     -- Remove stasis-MY_APPLICATION/_./1, registrar=res_stasis; con=stasis-MY_APPLICATION(0x7fd5f000fe70); con->root=0x7fd5f00102a0
> {code}
> This bug has been introduced by [this commit|https://gerrit.asterisk.org/c/asterisk/+/13172]. e.i. I cannot reproduce it if I revert this one
> I've created a small python script to trigger this bug
> https://gist.github.com/fblackburn1/b945798b882bc825db2c2258174cad0e



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



More information about the asterisk-bugs mailing list