[asterisk-users] Deleting AstDB family at start

Steve Edwards asterisk.org at sedwards.com
Mon Nov 21 14:46:44 CST 2011


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?

-- 
Thanks in advance,
-------------------------------------------------------------------------
Steve Edwards       sedwards at sedwards.com      Voice: +1-760-468-3867 PST
Newline                                              Fax: +1-760-731-3000



More information about the asterisk-users mailing list