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

Friendly Automation (JIRA) noreply at issues.asterisk.org
Thu Jan 30 10:23:26 CST 2020


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

Friendly Automation commented on ASTERISK-28679:
------------------------------------------------

Change 13741 merged by George Joseph:
res_stasis: trigger cleanup after update

[https://gerrit.asterisk.org/c/asterisk/+/13741|https://gerrit.asterisk.org/c/asterisk/+/13741]

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