Name

WaitEvent — Waits for an event to occur

After calling this action, Asterisk will send you a Success response as soon as another event is queued by the Asterisk Manager Interface. Once WaitEvent has been called on an HTTP manager session, events will be generated and queued.

Parameters

Timeout

[optional] Maximum time to wait for events.

ActionID

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

Privilege

none

Example

Action: WaitEvent
Timeout: 30

Action: Ping
	           
Response: Success
Message: Waiting for Event...

Event: WaitEventCompleteResponse: Pong

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.