DBget( ) | Retrieves a key from the AstDB |
DBget( varname = family / key )
Retrieves a key value from the Asterisk database and stores it in the variable specified by varname . If the requested key is not found, control jumps to priority n +101 (where n is the current priority), if it exists.
Always returns .
; put an entry in the AstDB exten => 123,1,DBput(test/color=blue) ; now retrieve it and assign it to a variable exten => 123,2,DBget(COLOR=test/color)
DBdel( ) , DBdeltree( ) , DBput( )