Hi Satish

Try to do something like this way

CLI> database deltree "18-05-2011 00:00:0052011175221575" TESTDATE

I have done like this way hope it works for you.

-- 
Regards,

Chandrakant Solanki


On Mon, May 30, 2011 at 2:53 PM, Satish Barot <[email protected]>wrote:

> 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]
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> New to Asterisk? Join us for a live introductory webinar every Thurs:
>               http://www.asterisk.org/hello
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>   http://lists.digium.com/mailman/listinfo/asterisk-users
>
--
_____________________________________________________________________
-- Bandwidth and Colocation Provided by http://www.api-digital.com --
New to Asterisk? Join us for a live introductory webinar every Thurs:
               http://www.asterisk.org/hello

asterisk-users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to