Well, this may be a workaround, but you could run that
retrieve_extensions_from_mysql.pl script from cron (once an hour, day,
whatever) and reload the extensions right afterwards (also doable
using cron).  So any changes you make in your central MySQL database
will be reflected the next time cron runs.  If you use it to write to
a second file which is included in the main extensions.conf file, you
have the added benefit of being able to customize each installation,
if need be (and if you don't want to, well you don't have to, just
leave extensions.conf alone except for the include statement).

Joseph Tanner

On 3/2/06, Douglas Garstang <[EMAIL PROTECTED]> wrote:
> Yikes. Managability! It's a lot easier to manage multiple Asterisk systems 
> configuration from a single MySQL database then it is to manage .conf files 
> on several redundant Asterisk boxes. I can't believe you asked that question. 
> I'll apologise in advance because I must be missing part of this thread.
>
> -----Original Message-----
> From: C F [mailto:[EMAIL PROTECTED]
> Sent: Thursday, March 02, 2006 10:16 AM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Re: Asterisk at large
>
>
> Can you explain why you would want asterisk only thru realtime? and
> not thru the /etc/asterisk/ ?
>
> The wiki is located at:
> http://www.voip-info.org/
> the archives for this list is located at:
> http://lists.digium.com/
> The asterisk irc channel is at:
> irc://irc.freenode.net/#asterisk
> Google is located at:
> http://www.google.com/
> The asterisk docs project is located at:
> http://www.asteriskdocs.org/
>
>
>
>
> On 3/2/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> > Hi Group,
> >
> > Please read my previous message below, I want to configure Asterisk with 
> > Mysql
> > and make Asterisk dynamic so that Asterisk will read everything from Mysql 
> > and
> > we can make changes to mysql data directly. Please tell how can we do this 
> > and
> > point me to related documentation.
> >
> > Thanks for your help and time,
> > Manoj.
> >
> > Quoting [EMAIL PROTECTED]:
> >
> > > Hi Group,
> > >
> > > I was able to install Asterisk and its addons successfully. Now I want to
> > > eliminate sip.conf and extensions.conf and use everything from Mysql DB, 
> > > Is
> > > this possible? I have seen this page
> > >
> > > http://www.voip-info.org/wiki/index.php?page=Asterisk%20extensions%20from%20mysql
> > >
> > > and learnt that we still get the data from Mysql DB and write it as
> > > sub file to
> > > actual sip or extensions.conf before starting Asterisk. Can we
> > > eliminate config
> > > files completely? If it is possible then please point me to the links
> > > explaing
> > > how can we do this? I also found very less information on using Asterisk 
> > > with
> > > Mysql, if there are any articles discussing this please send me those 
> > > links.
> > >
> > > Thanks for your help all the time,
> > > Manoj.
> > >
> >
> >
> >
> > _______________________________________________
> > --Bandwidth and Colocation provided by Easynews.com --
> >
> > Asterisk-Users mailing list
> > To UNSUBSCRIBE or update options visit:
> >    http://lists.digium.com/mailman/listinfo/asterisk-users
> >
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
> _______________________________________________
> --Bandwidth and Colocation provided by Easynews.com --
>
> Asterisk-Users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
_______________________________________________
--Bandwidth and Colocation provided by Easynews.com --

Asterisk-Users mailing list
To UNSUBSCRIBE or update options visit:
   http://lists.digium.com/mailman/listinfo/asterisk-users

Reply via email to