[asterisk-bugs] [JIRA] (ASTERISK-25630) Create a bridge from ARI with an id of one that already exists

Matt Jordan (JIRA) noreply at issues.asterisk.org
Tue Dec 15 17:04:32 CST 2015


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

Matt Jordan updated ASTERISK-25630:
-----------------------------------

    Description: 
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}

  was:
Hello,

A call B
B answer

You have a bridge

On my asterisk CLI:

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

Now with swagger UI on bridges section.

POST /bridges/b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc with type holding for
example.

200 ok

On asterisk CLI:

xivo*CLI>  bridge show b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc
Id: b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc
Type: stasis
Technology: holding_bridge
Num-Channels: 0

On swagger UI:

DELETE /bridges/b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc

204 ok

On asterisk CLI:

xivo*CLI>  bridge show b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc
Bridge 'b1d8fb21-ec6d-469a-9dde-bb6bfd5618cc' not found


> Create a bridge from ARI with an id of one that already exists
> --------------------------------------------------------------
>
>                 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
>
> 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