[asterisk-bugs] [JIRA] (ASTERISK-28247) res_ari: Applications not being cleaned up after certain scenarios

Benjamin Keith Ford (JIRA) noreply at issues.asterisk.org
Wed Jan 16 10:25:47 CST 2019


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

Benjamin Keith Ford updated ASTERISK-28247:
-------------------------------------------

    Status: Open  (was: Triage)

> res_ari: Applications not being cleaned up after certain scenarios
> ------------------------------------------------------------------
>
>                 Key: ASTERISK-28247
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-28247
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari
>    Affects Versions: 13.24.1, 16.1.1
>            Reporter: Benjamin Keith Ford
>            Severity: Minor
>         Attachments: example-app
>
>
> When working on the 'move' REST API call, I noticed that there were certain situations where the app_dtor function was not called, since I was using this to remove automatically created contexts and extensions for Stasis applications when launched. The pattern seems to be when an application is shutdown from the terminal and the phones are hung up after that, the application lingers and is not destroyed. There's a series of 3 functions that are called - deactivate, shutdown, and destroy. When this happens, you can see the first 2 phases being executed, but not the third (verbose 1).
> The way I've replicated this is by having a Stasis application that finds a mixing bridge or creates one if not already present, and puts all channels into the bridge. Once you have 2 channels in the bridge, close the application (Ctrl+C) from the terminal. After that, hang up the channels. List the ARI applications on the CLI afterwards, and you can see that the application is still listed.



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



More information about the asterisk-bugs mailing list