DB(Familie
/Schlüssel
)
DB_RESULT
verfügbar.; Eintrag open/source setzen und abfragen: exten => 123,1,Set(DB(open/source)=${ja}) exten => 123,n,Set(var=${DB(open/source)}) exten => 123,n,GotoIf($[[${DB(open/source)} = 1]?opensource:closedsource)
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about function 'DB' =-
[Syntax]
DB(<family>/<key>)
[Synopsis]
Read from or write to the Asterisk database
[Description]
This function will read from or write a value to the Asterisk database. On a
read, this function returns the corresponding value from the database, or blank
if it does not exist. Reading a database value will also set the variable
DB_RESULT. If you wish to find out if an entry exists, use the DB_EXISTS
function.