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

Example
                   Action: DBPut
                   Family: testfamily
                   Key: mykey
                   Val: 42
                   ActionID: testing123

                   Response: Success
                   Message: Updated database successfully
                   ActionID: testing123


               Events                                                       Controls event flow


               Enables or disables sending of events to this manager connection.
               Parameters

               EventMask
                   [required] Set to on if all events should be sent, off if events should not be sent, or
                   system,call,log to select which type of events should be sent to this manager
                   connection.
               ActionID
                   [optional] An identifier which can be used to identify the response to this action.
               Privilege

               none
               Example
                   Action: Events
                   EventMask: off
                   ActionID: 2938416

                   Response: Events Off
                   ActionID: 2938416

                   Action: Events
                   EventMask: log,call
                   ActionID: blah1234

                   Response: Events On
                   ActionID: blah1234

               ExtensionState                                            Checks extension status


               This command reports the extension state for the given extension. If the extension has
               a hint, this will report the status of the device connected to the extension.



                                                                               Events | 521
   544   545   546   547   548   549   550   551   552   553   554