Asterisk AMI icon

Asterisk AMI

Control Asterisk/FreePBX with AMI

Custom Action

AI-generated

Summary

Sends a custom action to the Asterisk Manager Interface (AMI) for each input item. Set the action name and add any action fields as name/value pairs; fields with an empty name are skipped.

Inputs

  • Action Name (required) — AMI action name to send; defaults to Ping.
  • Action Fields — Optional list of field names and values to include with the action. Each non-empty name becomes an AMI header.

Output shape

A list of items, one per input item, each containing a JSON object with the operation name and AMI response data.

Response data includes actionId, response, message, raw, events, and headers when provided by the AMI client. Connection, login, action timeout, or socket errors fail the operation.

Links

Discussion