[asterisk-users] ARI bridges

Sylvain Boily sboily at avencall.com
Tue Dec 15 14:13:34 CST 2015


Hello,

I did some tests because i'm interesting to transfer a non stasis bridge
to a stasis bridge and i found a strange situation.

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

It looks like strange no ? Is it an issue, why it's possible ? My calls
are not hangup, but i loose my bridge.

I have another question, is it possible to change a non statis bridge to
a stasis bridge ? The only way i found for the moment is using AMI with
transfer application to Stasis() dialplan. My point is how can i gain
the ARI control on a non stasis bridge ?

Thank you.
Sylvain



More information about the asterisk-users mailing list