[Asterisk-Users] DBSaveTree & DBLoadTree

Michiel Betel michiel at betel.nl
Sun Aug 31 14:49:59 MST 2003


The db entries persist on reload, on a restart (or crash...) they are
gone...

-----Original Message-----
From: asterisk-users-admin at lists.digium.com
[mailto:asterisk-users-admin at lists.digium.com] On Behalf Of Dave Weis
Sent: zondag 31 augustus 2003 20:39
To: asterisk-users at lists.digium.com
Subject: Re: [Asterisk-Users] DBSaveTree & DBLoadTree



On Sun, 31 Aug 2003, Michiel Betel wrote:
> Has anyone already written something which allows saving and loading 
> the internal DB settings? All users CFWD and speeldial settings are 
> stored in the DB in my setup which makes it a pain to restart 
> Asterisk.... Looking at showtree in db.c (why isn't that exposed in 
> the CLI?) It shouldn't be too difficult, but I don't want to reinvent 
> the wheel.

Doesn't the db stuff persist on disk during reloads?

> On the same track, I am also looking at exposing DBput & DBget to the 
> manager interface, thus making it easy to st global stuff like 
> nightsettings...

I will be doing that if you don't get to it within the next week or so.

dave

-- 
Dave Weis             "I believe there are more instances of the abridgment
djweis at sjdjweis.com   of the freedom of the people by gradual and silent
                      encroachments of those in power than by violent 
                      and sudden usurpations."- James Madison

_______________________________________________
Asterisk-Users mailing list
Asterisk-Users at lists.digium.com
http://lists.digium.com/mailman/listinfo/asterisk-users





More information about the asterisk-users mailing list