Roger Burton West
2010-Nov-29 17:07 UTC
[asterisk-users] How to initiate a two-party call from within Asterisk
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.)
Tilghman Lesher
2010-Nov-29 19:32 UTC
[asterisk-users] How to initiate a two-party call from within Asterisk
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
Chris Gentle
2010-Nov-29 19:36 UTC
[asterisk-users] How to initiate a two-party call from within Asterisk
On Mon, Nov 29, 2010 at 11:07 AM, Roger Burton West <roger at firedrake.org>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.) >This is "click-to-call". It can be done with the Asterisk Manager Interface (AMI). See this site: http://www.voipjots.com/2006/02/click-to-call-with-your-asteriskhome.html -- Chris -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20101129/b249c33b/attachment.htm
Roger Burton West
2010-Dec-31 18:56 UTC
[asterisk-users] How to initiate a two-party call from within Asterisk
On Mon, Nov 29, 2010 at 01:36:17PM -0600, Chris Gentle wrote:>This is "click-to-call". It can be done with the Asterisk Manager Interface >(AMI). See this site:Thanks to you and Tilghman for this, though as it turned out it was much simpler to avoid AMI completely and use the Extension: parameter to an outgoing call file. Roger