How to initiate a two-party call from within Asterisk

Home » Asterisk Users » How to initiate a two-party call from within Asterisk
Asterisk Users 3 Comments

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.)

3 thoughts on - How to initiate a two-party call from within Asterisk

  • 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.

  • 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