Hi Satish<br><br>Try to do something like this way<br><br>CLI> database deltree "18-05-2011 00:00:0052011175221575" TESTDATE<br><br>I have done like this way hope it works for you.<br><br>-- <br>Regards,<br><br>
Chandrakant Solanki<br><br><br><div class="gmail_quote">On Mon, May 30, 2011 at 2:53 PM, Satish Barot <span dir="ltr"><<a href="mailto:satish4asterisk@gmail.com">satish4asterisk@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
While playing with DB function in Dialplan, I have added some garbage in AstDB. These are some family names with space in them.<br>See this,<br>demo*CLI> database show<br>/18-05-2011 00:00:0052011175221575/TESTDATE : 2011-05-14 21:33:46<br>
/18-05-2011 00:00:0052011175221575/TEST1 : 410<br>/18-05-2011 00:00:0052011175221575/TEST2 : 155<br>/18-05-2011 00:00:0052011182614252/TEST3 : 157<br><br>I treid to remove it from CLI through database deltree and database del commands, but no hope.<br>
<br><br>demo*CLI> database deltree 18-05-2011 00:00:0052011175221575<br>0 database entries removed.<br>demo*CLI> database deltree 18-05-2011 00:00:0052011175221575 TESTDATE<br>0 database entries removed.<br>demo*CLI> database del 18-05-2011 00:00:0052011175221575 TESTDATE<br>
0 database entries removed.<br><br>Some more variations...<br><br>demo*CLI> database deltree '18-05-2011 00:00:0052011175221575'<br>0 database entries removed.<br>demo*CLI> database deltree `18-05-2011 00:00:0052011175221575`<br>
0 database entries removed.<br><br>Any suggestions to remove them?<br><br>Thanking you,<br><font color="#888888">[SATISH]<br>
</font><br>--<br>
_____________________________________________________________________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" target="_blank">http://www.api-digital.com</a> --<br>
New to Asterisk? Join us for a live introductory webinar every Thurs:<br>
<a href="http://www.asterisk.org/hello" target="_blank">http://www.asterisk.org/hello</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" target="_blank">http://lists.digium.com/mailman/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><br><br>