Page 574 - Asterisk™: The Future of Telephony
P. 574

Header
                   [optional] The name and value of an arbitrary parameter to your event. You may
                   add as many additional headers (along with their values) to your event.
               ActionID
                   [optional] An identifier which can be used to identify the response to this action.

               Privilege
               user, all

               Example
                   Action: UserEvent
                   Blah: one
                   SomethingElse: two
                   ActionID: 63346

                   Event: UserEvent
                   Privilege: user,all
                   UserEvent:
                   Action: UserEvent
                   Blah: one
                   SomethingElse: two
                   ActionID: 63346


               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...

               546 | Appendix F: Asterisk Manager Interface Actions
   569   570   571   572   573   574   575   576   577   578   579