Error deleting key from database

Home » Asterisk Users » Error deleting key from database
Asterisk Users No Comments

Hi Everybody,

Don’t know why this DBdeltree error appears on Asterisk CLI.Good part is, it
does remove family entry from AstDB.

Sample Dialplan….

exten => 1212,1,Noop()
same => n,Set(TEST=1234)
same => n,Set(DB(${TEST}/TESTSTART)=${STRFTIME(${EPOCH},,%Y-%m-%d
%H:%M:%S)})
same => n,DBdeltree(${TEST})
same => n,Hangup()

Asterisk CLI output….

[Jun 1 14:30:39] == Using SIP RTP CoS mark 5
[Jun 1 14:30:39] — Executing [1212@incoming-did:1]
NoOp(“SIP/29-0000002f”, “”) in new stack
[Jun 1 14:30:39] — Executing [1212@incoming-did:2]
Set(“SIP/29-0000002f”, “TEST=1234”) in new stack
[Jun 1 14:30:39] — Executing [1212@incoming-did:3]
Set(“SIP/29-0000002f”, “DB(1234/TESTSTART)=2011-06-01 14:30:39”) in

new stack
[Jun 1 14:30:39] — Executing [1212@incoming-did:4]
DBdeltree(“SIP/29-0000002f”, “1234”) in new stack
[Jun 1 14:30:39] — DBdeltree: family=1234
[Jun 1 14:30:39] — DBdeltree: Error deleting key from database.
[Jun 1 14:30:39] — Executing [1212@incoming-did:5]
Hangup(“SIP/29-0000002f”, “”) in new stack
[Jun 1 14:30:39] == Spawn extension (incoming-did, 1212, 5) exited
non-zero on ‘SIP/29-0000002f’

Any idea?

TYIA

[SATISH]