[asterisk-users] AMI Redirect both calls from a bridge

Karsten Wemheuer kwem at gmx.de
Wed Dec 17 08:34:50 CST 2014


Hi Neil,

Am Mittwoch, den 17.12.2014, 09:08 -0500 schrieb Neil Cherry: 
> Doe anybody know of a way to redirect both channels from a bridge to 
> different dial plan extensions from the using the AMI.
> 
> Currently, as soon as I redirect one of the channels the other appears 
> to be dropped and gets reorder tone (congestion, fast busy).
> 
> I guess what I really need is a way to redirect one of the channels and 
> hold on to the other.

I think You have to do it in two steps. First connect both legs with a
conference and then connect each one with the final extension.

You didn't tell, which version of asterisk You are using. In 11 and
later there is the new conference module, which makes it easier.

In the first step You can use AMI REDIRECT to transfer both parties into
one dynamic conference. Use the Channel and ExtraChannel to take both
channels.

In the second step use AMI Join Events to trigger your next transfer to
the different extensions in Your dialplan. Each channel joining the
conference will generate a separate event. 

HTH,

Karsten





More information about the asterisk-users mailing list