[asterisk-users] Deleting AstDB family at start

Paul Belanger pabelanger at digium.com
Mon Nov 21 15:33:47 CST 2011


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



More information about the asterisk-users mailing list