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

Satish Barot satish4asterisk at gmail.com
Mon May 30 05:00:50 CDT 2011


Thanks Chandrakant,
It worked!

[SATISH]

On Mon, May 30, 2011 at 3:21 PM, Chandrakant Solanki <
solanki.chandrakant at gmail.com> wrote:

> 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 <satish4asterisk at gmail.com>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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110530/13e6d001/attachment.htm>


More information about the asterisk-users mailing list