Asterisk AMI icon

Asterisk AMI

Control Asterisk/FreePBX with AMI

Originate Call

AI-generated

Summary

Originate an Asterisk call on the specified channel and direct it to a context, extension, and priority. Optionally set caller ID, timeout, asynchronous execution, and channel variables; the operation connects to AMI using the configured credentials and returns the AMI response for each input item.

Inputs

  • Channel (required) — Channel to originate, such as PJSIP/4000 or PJSIP/trunk/0033….
  • Context (required) — Dialplan context for the call; defaults to from-internal.
  • Extension (required) — Dialplan extension to execute; defaults to 6000.
  • Priority (required) — Dialplan priority; defaults to 1.
  • Caller ID — Optional caller ID string. Omitted from the AMI action when empty.
  • Timeout (ms) — Originate timeout in milliseconds; defaults to 30000.
  • Async — Whether to request asynchronous origination; defaults to true.
  • Variables — Optional list of channel variable name/value pairs. Entries with a name are sent as Variable1, Variable2, and so on.

Output shape

A list of one output item per input item, each containing the operation and AMI response fields.

Each output JSON includes operation plus the AMI result, including actionId, response, message, raw response packet, events, and headers when available. Connection, login, or action errors are raised as node operation errors.

Links

Discussion