<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'><div dir='ltr'>
Thanks Paul. The following works..<br><br>----------------------------------cli.conf -------------------------------------------------------<br>[startup_commands]<br>;<br>; Any commands listed in this section will get automatically executed<br>; when Asterisk starts as a daemon or foreground process (-c).<br>;<br>;sip set debug on = yes<br>;core set verbose 3 = yes<br>;core set debug 1 = yes<br><br>database deltree example = yes<br><br>-----------------------------------------------------------------------------------------------<br><br><br>Matt<br><br><br><br><br><br><div>> Date: Mon, 21 Nov 2011 16:33:47 -0500<br>> From: pabelanger@digium.com<br>> To: asterisk-users@lists.digium.com<br>> Subject: Re: [asterisk-users] Deleting AstDB family at start<br>> <br>> On 11-11-21 03:46 PM, Steve Edwards wrote:<br>> > On Sun, 20 Nov 2011, Matt Hamilton wrote:<br>> ><br>> >> Is it possible to delete the keys belonging to a family in AstDB at<br>> >> Asterisk startup? I would like to repopulate it from another source<br>> >> each time Asterisk is restarted.<br>> ><br>> > How about:<br>> ><br>> > [sudo] /usr/sbin/asterisk -r -x 'database deltree example'<br>> ><br>> > in /etc/init.d/asterisk or safe_asterisk?<br>> ><br>> Easier to use cli.conf<br>> <br>> -- <br>> Paul Belanger<br>> Digium, Inc. | Software Developer<br>> twitter: pabelanger | IRC: pabelanger (Freenode)<br>> Check us out at: http://digium.com & http://asterisk.org<br>> <br><br></div>                                            </div></body>
</html>