Le 2015-12-15 15:25, Joshua Colp a ?crit :> Sylvain Boily wrote: >> Hello, > > Just a note - there's an asterisk-app-dev mailing list[1] which is > better suited for these kind of posts.Ok> >> I did some tests because i'm interesting to transfer a non stasis bridge >> to a stasis bridge and i found a strange situation. > > You can't, you have to move the channels into your Stasis application > using AMI and create a new bridge like you state below. Only one > entity (be it an existing application like app_dial, or an external > application written using ARI) can have absolute control over a bridge > or else both could get really confused as each manipulates things.Ok, that i understood. What do you think about enhancing AMI to have a command for moving channels to a stasis application ? Is it possible ? For the moment i'm using AMI Transfer and dialplan Stasis().> > I'd suggest filing an issue for this. You shouldn't be able to create > a bridge from ARI with an id of one that already exists. >Ok Sylvain
Sylvain Boily wrote: <snip>> > Ok, that i understood. What do you think about enhancing AMI to have a > command for moving channels to a stasis application ? Is it possible ? > For the moment i'm using AMI Transfer and dialplan Stasis().What people have wanted is actually just to be able to do it all from ARI[1]. Specifically have an ARI operation to redirect a channel into a Stasis application or to elsewhere in the dialplan. I'm sure people would be happy if it could be done. [1] https://wiki.asterisk.org/wiki/display/AST/ARI+Feature+Wish-list -- Joshua Colp Digium, Inc. | Senior Software Developer 445 Jan Davis Drive NW - Huntsville, AL 35806 - US Check us out at: www.digium.com & www.asterisk.org
Le 2015-12-15 15:34, Joshua Colp a ?crit :> Sylvain Boily wrote: > > <snip> > >> >> Ok, that i understood. What do you think about enhancing AMI to have a >> command for moving channels to a stasis application ? Is it possible ? >> For the moment i'm using AMI Transfer and dialplan Stasis(). > > What people have wanted is actually just to be able to do it all from > ARI[1]. Specifically have an ARI operation to redirect a channel into > a Stasis application or to elsewhere in the dialplan. I'm sure people > would be happy if it could be done. >Ok thank you !