[asterisk-users] Deleting AstDB family at start

Danny Nicholas danny at debsinc.com
Mon Nov 21 15:36:53 CST 2011


What flavor does cli.conf start on?

-----Original Message-----
From: asterisk-users-bounces at lists.digium.com
[mailto:asterisk-users-bounces at lists.digium.com] On Behalf Of Paul Belanger
Sent: Monday, November 21, 2011 3:34 PM
To: asterisk-users at lists.digium.com
Subject: Re: [asterisk-users] Deleting AstDB family at start

On 11-11-21 03:46 PM, Steve Edwards wrote:
> On Sun, 20 Nov 2011, Matt Hamilton wrote:
>
>> Is it possible to delete the keys belonging to a family in AstDB at 
>> Asterisk startup? I would like to repopulate it from another source 
>> each time Asterisk is restarted.
>
> How about:
>
> [sudo] /usr/sbin/asterisk -r -x 'database deltree example'
>
> in /etc/init.d/asterisk or safe_asterisk?
>
Easier to use cli.conf

--
Paul Belanger
Digium, Inc. | Software Developer
twitter: pabelanger | IRC: pabelanger (Freenode) Check us out at:
http://digium.com & http://asterisk.org

--
_____________________________________________________________________
-- 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




More information about the asterisk-users mailing list