[asterisk-dev] Originate on AMI

Tilghman Lesher tilghman at mail.jeffandtilghman.com
Fri Nov 14 14:23:13 CST 2008

On Friday 14 November 2008 15:04:22 Marco Eduardo Cordeiro wrote:
>                 Anyone who tried Originate for a "commercial" use will
> notice that it calls a CHANNEL/NUMBER  from a CONTEXT/EXTENSION, and the
> action you get from this is the channel being called first and when the B
> party picks up the phone, it will call the extension and connect both
> channels.
>                 The thing is, most of the times you would call from an
> extension to a number, and the dialplan would do all the decisions for you,
> many times you use different channels, depending on the number that is
> being called. So why won't the originate command just dial both numbers
> using the dialplan ??

Actually, it will let you do just that, if you use the Local channel, which
allows origination from a specific context/extension.


More information about the asterisk-dev mailing list