[asterisk-bugs] [JIRA] (ASTERISK-27445) create or update bridge fails with 500 on subsequent calls with ARI

Richard Mudgett (JIRA) noreply at issues.asterisk.org
Sun Nov 26 09:07:07 CST 2017


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

Richard Mudgett commented on ASTERISK-27445:
--------------------------------------------

Once a bridge is created you *cannot* update its properties.  What you are doing has not been implemented in *any* version.  In fact, ASTERISK-24560 fixed a crash that your third POST in the pcap would have triggered.  However, your second POST in the pcap does point out that the ASTERISK-24560 patch inverted the test that is giving you the "Changing bridge name is not implemented" message.  You should have gotten the "Supplying a bridge type when updating a bridge is not allowed." message instead.

I'm opening this issue up only to fix the inverted test.  Otherwise, the rest of the issue would not be a bug.

> create or update bridge fails with 500 on subsequent calls with ARI
> -------------------------------------------------------------------
>
>                 Key: ASTERISK-27445
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-27445
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>    Affects Versions: 15.0.0
>         Environment: Ubuntu 16.04
>            Reporter: Frank Durden
>         Attachments: bridges.pcapng
>
>
> First time calling /bridges/\{bridgeId\} works, subsequent calls return 500. If both type and name are provided the returned error is "Changing bridge name is not implemented" even though the name is the same. If the name field is empty the error is "Supplying a bridge type when updating a bridge is not allowed."
> I feel that this used to work for a while so I don't know what happened. I've restarted Asterisk multiple times and tested multiple times. Wireshark capture attached.



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



More information about the asterisk-bugs mailing list