[asterisk-bugs] [JIRA] (ASTERISK-25630) ari: Creating bridge with id of one that exists outside of ARI doesn't cause error

Joshua Colp (JIRA) noreply at issues.asterisk.org
Sun Dec 20 17:23:33 CST 2015


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

Joshua Colp commented on ASTERISK-25630:
----------------------------------------

There is an actual error here as you should not be able to create a bridge in this case, it should return an error.

> ari: Creating bridge with id of one that exists outside of ARI doesn't cause error
> ----------------------------------------------------------------------------------
>
>                 Key: ASTERISK-25630
>                 URL: https://issues.asterisk.org/jira/browse/ASTERISK-25630
>             Project: Asterisk
>          Issue Type: Bug
>      Security Level: None
>          Components: Resources/res_ari_bridges
>    Affects Versions: 13.6.0
>            Reporter: Sylvain Boily
>            Severity: Minor
>
> Hello,
> A call B
> B answer
> You have a bridge
> On my asterisk CLI:
> {code}
> xivo*CLI>  bridge show b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc
> Id: b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc
> Type: basic
> Technology: simple_bridge
> Num-Channels: 2
> Channel: SIP/tcu9tz-00000032
> Channel: SIP/c4i2zd-00000031
> {code}
> Now with swagger UI on bridges section.
> {code}
> POST /bridges/b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc with type holding for
> example.
> 200 ok
> {code}
> On asterisk CLI:
> {code}
> xivo*CLI>  bridge show b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc
> Id: b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc
> Type: stasis
> Technology: holding_bridge
> Num-Channels: 0
> {code}
> On swagger UI:
> {code}
> DELETE /bridges/b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc
> 204 ok
> {code}
> On asterisk CLI:
> {code}
> xivo*CLI>  bridge show b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc
> Bridge 'b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc' not found
> {code}



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



More information about the asterisk-bugs mailing list