[asterisk-users] how to join 2 channels using AGI/AMI
Guido Falsi
mad at madpilot.net
Thu Jun 30 08:28:31 CDT 2016
On 06/30/16 15:08, nik600 wrote:
> Dear all
>
> i'm using an "old" Asterisk 1.6.2.9-2+squeeze12, and want to know if is
> possible to configure a scenario like this:
>
> 1) receive a call and put it on-hold in a queue (OK)
> 2) monitor the queue and trigger an outbound call to a remote number
> using AMI, setting the channel of the on-hold on a specific var named
> channel2Link (OK)
> 3) when the remote number answer, trigger an AGI/diaplan script that ask
> to accept the call pressing a specific key (OK)
> 4) if right key is pressed redirect the current call to
> the channel2Link, connecting the call in queue with the remote number (?)
>
> Step 1,2,3 works properly but i'm not able to link the two channels,
> even using redirect,goto or pickupChan.
>
> Any idea or help will be appreciated!
>
I think the way to achieve that is by using the Bridge application:
https://wiki.asterisk.org/wiki/display/AST/Bridge+Application
https://wiki.asterisk.org/wiki/display/AST/Asterisk+13+Application_Bridge
--
Guido Falsi <mad at madpilot.net>
More information about the asterisk-users
mailing list