[asterisk-users] CLI command 'database deltree' doesn't remove family with space in its name

Satish Barot satish4asterisk at gmail.com
Mon May 30 04:23:33 CDT 2011


While playing with DB function in Dialplan, I have added some garbage in
AstDB. These are some family names with space in them.
See this,
demo*CLI> database show
/18-05-2011 00:00:0052011175221575/TESTDATE    : 2011-05-14 21:33:46
/18-05-2011 00:00:0052011175221575/TEST1          : 410
/18-05-2011 00:00:0052011175221575/TEST2          : 155
/18-05-2011 00:00:0052011182614252/TEST3          : 157

I treid to remove it from CLI through database deltree and database del
commands, but no hope.


demo*CLI> database deltree 18-05-2011 00:00:0052011175221575
0 database entries removed.
demo*CLI> database deltree 18-05-2011 00:00:0052011175221575 TESTDATE
0 database entries removed.
demo*CLI> database del 18-05-2011 00:00:0052011175221575 TESTDATE
0 database entries removed.

Some more variations...

demo*CLI> database deltree '18-05-2011 00:00:0052011175221575'
0 database entries removed.
demo*CLI> database deltree `18-05-2011 00:00:0052011175221575`
0 database entries removed.

Any suggestions to remove them?

Thanking you,
[SATISH]
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110530/9d7e8cec/attachment.htm>


More information about the asterisk-users mailing list