[asterisk-bugs] [JIRA] (ASTERISK-29221) res_ari_bridges: improper error code when trying to delete a non-stasis bridge

Joshua C. Colp (JIRA) noreply at issues.asterisk.org
Tue Dec 22 07:09:16 CST 2020


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

Joshua C. Colp updated ASTERISK-29221:
--------------------------------------

    Status: Open  (was: Triage)

> res_ari_bridges: improper error code when trying to delete a non-stasis bridge
> ------------------------------------------------------------------------------
>
>                 Key: ASTERISK-29221
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-29221
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari_bridges
>    Affects Versions: 16.9.0
>            Reporter: Jean Aunis - Prescom
>            Assignee: Unassigned
>            Severity: Minor
>         Attachments: full-delete-bridge-error.txt
>
>
> When trying to delete a non-stasis bridge, a "500 Internal server error" response is generated. It seems Asterisk wants to generate a 409 response but the validation fails.
> For the sake of consistency, I think Asterisk should whether return a 409 error, or allow to destroy non-stasis bridges (since it is possible for channels).



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



More information about the asterisk-bugs mailing list