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: WaitEventComplete

Response: Pong