This page last changed on Mar 30, 2011 by wikibot.

DB()

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.

Syntax

DB(family,key)
Arguments
  • family
  • key

See Also

Application_DBdel
Function_DB_DELETE
Application_DBdeltree
Function_DB_EXISTS

Import Version

This documentation was imported from Asterisk version SVN-branch-1.8-r311874.

Document generated by Confluence on Oct 04, 2011 12:42