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

Parameters
               Family
                   [required] The AstDB key family from which to retrieve the value
               Key
                   [required] The name of the AstDB key.
               ActionID
                   [optional] An identifier that can be used to identify the response to this action.

               Privilege
               system, all

               Example
                   Action: DBGet
                   Family: testfamily
                   Key: mykey
                   ActionID: 01234-astdb-43210

                   Response: Success
                   Message: Result will follow
                   ActionID: 01234-astdb-43210

                   Event: DBGetResponse
                   Family: testfamily
                   Key: mykey
                   Val: 42
                   ActionID: 01234-astdb-43210

               DBPut                                                           Puts DB entry


               Sets a key value in the AstDB database.
               Parameters

               Family
                   [required ]The AstDB key family in which to set the value.
               Key
                   [required] The name of the AstDB key.
               Val
                   [required ]The value to assign to the key.
               ActionID
                   [optional] An identifier that can be used to identify the response to this action.
               Privilege

               system, all


               520 | Appendix F: Asterisk Manager Interface Actions
   543   544   545   546   547   548   549   550   551   552   553