i’m using an “old” Asterisk 220.127.116.11-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!