[Asterisk-Users] Creating conf files from db

Peter Bowyer peeebeee at gmail.com
Fri Dec 23 09:26:34 MST 2005


On 23/12/05, Tzafrir Cohen <tzafrir at cohens.org.il> wrote:
> On Fri, Dec 23, 2005 at 07:21:54AM +0000, Peter Bowyer wrote:
> > On 22/12/05, Douglas Garstang <dgarstang at oneeighty.com> wrote:
> > > Just wondering if anyone here has tried the approach, where all config files
> > > are stored in a database, maybe using the ast_static table structure. Rather
> > > than using realtime to access the database live, you have scripts that read
> > > the contents of the db, and generate the .conf files from that., and then do
> > > a 'reload'.
> > >
> > > Anyone tried that? How'd it work for you?
> >
> > http://www.voip-info.org/wiki/view/Asterisk+configuration+from+database
> >
> > Specifically, option 4b. You have scripts to do the bulk of this in
> > your /contrib directory.
>
> And they are badly written. E.g.: the ammount of code replication
> between them.

I guess they're written to be used independently - although I'm sure
if you cared to contribute a 'better' version it would be well
received....

--
Peter Bowyer
Email: peter at bowyer.org
Tel: +44 1296 768003
VoIP: sip:peter at bowyer.org
VoIP: *5048707000 at sipbroker.com
FWD: **275*5048707000
VoipTalk: **473*5048707000



More information about the asterisk-users mailing list