DB_DELETE()

DB_DELETE(family/key)

Deletes a value from the AstDB. Upon completion, the variable DB_RESULT is set to this value, if it exists.

; delete cidnums/4045559814:
exten => 123,1,Set(ignored=${DB_DELETE(cidnums/4045559814)})
[Note]

For versions prior to Asterisk 1.4, use the application DBdel().

[Note]

Internal help for this application in Asterisk 1.4: 

  -= Info about function 'DB_DELETE' =- 

[Syntax]
DB_DELETE(<family>/<key>)

[Synopsis]
Return a value from the database and delete it

[Description]
This function will retrieve a value from the Asterisk database
 and then remove that key from the database.  DB_RESULT
will be set to the key's value if it exists.

diff output to internal help in Asterisk 1.2: 

-- not available in Version 1.2 --

See also. the section called “DB(), the section called “DB_EXISTS(), the section called “DBdel(), the section called “DBdeltree()