[Home]

Summary:ASTERISK-01772: [patch] Add DBget and DBput to manager interface
Reporter:hwstar (hwstar)Labels:
Date Opened:2004-06-06 23:06:56Date Closed:2011-06-07 14:11:56
Priority:TrivialRegression?No
Status:Closed/CompleteComponents:Core/General
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) astman-astdb.patch
Description:Add DBget and DBput to asterisk manager interface to allow asterisk database variables to be retrieved and stored. This overcomes a shortcoming with the channel variables only being visible to the channel selected, as well as it allows data to be stored in a non-volatile manner.

DBget and DBput work exactly the same way getvar and setvar do, except DBget returns 3 colon delimited values: family, key, and value.

****** ADDITIONAL INFORMATION ******

Commands/Parameters

Action: DBget
Family: yourfamily
Key: yourkey

Action: DBPut
Family: yourfamily
Key: yourkey
Value: yourvalue


Comments:By: Tilghman Lesher (tilghman) 2004-06-07 00:22:03

Duplicate functionality.  You can already use the Command subset to do "Database Get x y" and "Database Put x y z".