[Asterisk-Users] DBSaveTree & DBLoadTree

Dave Weis djweis at sjdjweis.com
Sun Aug 31 16:35:30 MST 2003


On Sun, 31 Aug 2003, Michiel Betel wrote:
> The db entries persist on reload, on a restart (or crash...) they are
> gone...

On my installation they persist a reload or a stop/start fine. I use it 
for call forward and dnd settings.

dave

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




More information about the asterisk-users mailing list