[Asterisk-Users] Re: Asterisk at large

Joseph Tanner joseph at thetechguide.com
Thu Mar 2 13:19:02 MST 2006


Well, I still think my idea would work, until you could find a better
implementation.  Just tell users that sign up or make changes to their
config that changes take up to an hour (or whatever schedule you run
your cron job on) to take effect.  Or, you could customize the web
page you use to let users make changes to automatically run a script
that somehow signals your asterisk servers that they need to
regenerate and reload the extensions.conf file immediately.  I'd still
have it run automatically every hour or so, just in case.

Also, I haven't used this feature, so I'm not sure what would happen
if the mysql server went down and the remote asterisk box(es) tried to
access it.  Would the script just error out, leaving the existing
extensions.conf file intact?  Or would it wipe it out, and then error
out, leaving you with a blank extensions.conf file?  I suppose if it
wasn't well-behaved, you could edit it yourself to check for the
database link first, before wiping out the extensions.conf file.

Hope that helps some.

Joseph Tanner

On 3/2/06, Douglas Garstang <dgarstang at oneeighty.com> wrote:
> Ok then, a single Asterisk server. It's still going to be easier to manage from a database. This is especially true when you factor in self provisioning, ie providing users with a way to make changes to their own configuration.
>
> -----Original Message-----
> From: C F [mailto:shmaltz at gmail.com]
> Sent: Thursday, March 02, 2006 12:19 PM
> To: Asterisk Users Mailing List - Non-Commercial Discussion
> Subject: Re: [Asterisk-Users] Re: Asterisk at large
>
>
> Douglas, a lot easier? If it's like you say with multiple servers. But
> the OP did not indicate this in his/her question, in fact s/he sounded
> clueless.
> Also, what is the purpose of NOT having *any* configs from
> /etc/asterisk/????????
>
> On 3/2/06, Douglas Garstang <dgarstang at oneeighty.com> 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:shmaltz at gmail.com]
> > 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, mkumar at mantragroup.com <mkumar at mantragroup.com> 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 mkumar at mantragroup.com:
> > >
> > > > 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
> _______________________________________________
> --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
>



More information about the asterisk-users mailing list