Consider the following scenario :
- A is in call with B
- B hangs up
Is there any way to redirect the A's channel to some other context so that the A's call is not disconnected and I can bridge another channel to A by using a php AGI script or by using the AMI to attach an event handler and then perform the redirect via AMI ?
The following is my desired behaviour:
- A is in call with B, C is in a waiting list
- B hangs up
- A's call is not hung up and can use a DTMF to switch to C's call
I am using asterisk 13.
EDIT: The call is an incoming call or the call is made by writing a call file, without using the dial command
Yes, if you dial via Dial command with "g" option call will go dialplan and you will be able call other person