Exernally triggered Trasfer call

Here is what I am trying to accomplish.

A call is in progress from extension A to B. Dial() has been executed, and they are talking. I want an externally triggered transfer from A to C so that C and B are talking.

I know that it is farily easy for A to press #C to get transfered, but that is now what I am looking for. I want to use an external application (say php script, perl script or telnet) to trigger the transfer.

I could not come up with an easy solution, the only option that I can think of is to modify the Dial() to periodically look for a file and then perform the transfer. Am I on the righ track, or is there an easy solution?

This could be done via AMI. I found it after a bit of investigation.

i’ve used an application in the past called Steal2 … that worked.

U can do it using asterisk manager.


Have a look at astman or gastman and you will see you can do it and should be able to pick it appart to see how its done.