[Asterisk-Users] Creating conf files from db

Tzafrir Cohen tzafrir at cohens.org.il
Fri Dec 23 05:46:08 MST 2005


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.

-- 
Tzafrir Cohen         | tzafrir at jbr.cohens.org.il | VIM is
http://tzafrir.org.il |                           | a Mutt's  
tzafrir at cohens.org.il |                           |  best
ICQ# 16849755         |                           | friend




More information about the asterisk-users mailing list