[asterisk-users] How to initiate a two-party call from within Asterisk
Tilghman Lesher
tlesher at digium.com
Mon Nov 29 13:32:24 CST 2010
On Monday 29 November 2010 11:07:50 Roger Burton West wrote:
> The desired result is that user A's phone rings; when he picks it up,
> user B is dialled, and user A's channel is connected to that. (This is
> to be a back-end for a web-based address book.)
You're looking for the "Originate" action in AMI. The originating channel is
user A's device address, and the action can be either a predetermined
extension in the dialplan or an application (such as Dial), with arguments.
If you go the extension route, you can additionally set variables from the
originate command to be set prior to the extension being invoked.
--
Tilghman Lesher
Digium, Inc. | Senior Software Developer
twitter: Corydon76 | IRC: Corydon76-dig (Freenode)
Check us out at: www.digium.com & www.asterisk.org
More information about the asterisk-users
mailing list