B.24. DBdel()

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

Important

DBdel() is deprecated as of Asterisk 1.4; use the DB_DELETE() function instead.

Note

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 Asterisk
database.
  This application has been DEPRECATED in favor of the DB_DELETE function.
diff output to internal help in Asterisk 1.2:
10d9
<   This application has been DEPRECATED in favor of the DB_DELETE function.