Deletes a key from the Asterisk database (AstDB).
DBdel(family/key)
Deletes the specified key from the Asterisk database.
Returns 0.
exten => 123,1,Set(DB(test/name)=Richard) ; save key in AstDB
exten => 123,n,Set(name=${DB(test/name)}) ; retrieve key
exten => 123,n,DBdel(test/name) ; delete key
|
|
|
|
|
|
|
Internal help for this application in Asterisk 1.4: -= Info about application 'DBdel' =- [Synopsis] Delete a key from the database [Description] DBdel(family/key): This application will delete a key from the Asteris k database. This application has been DEPRECATED in favor of the DB_DELETE functio n. diff output to internal help in Asterisk 1.2: 10d9 < This application has been DEPRECATED in favor of the DB_DELETE funct ion. |
See also. the section called “DBdeltree()”, the section called “DB()”, the section called “DB_DELETE()”