Name

Command — Executes an Asterisk CLI command

Runs an Asterisk CLI command as if it had been run from the CLI.

Parameters

Command

[required] Asterisk CLI command to run.

ActionID

[optional] An action identifier that can be used to identify the response from Asterisk.

Privilege

command, all

Example

Action: Command
Command: core show version
ActionID: 0123456789abcdef
	           
Response: Follows
Privilege: Command
ActionID: 0123456789abcdef
Asterisk SVN-branch-1.4-r55869 built by jsmith @ hockey on a ppc running Linux 
 on 2007-02-21 16:55:26 UTC
--END COMMAND--

Get Asterisk: The Future of Telephony, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.