If by database you are referring to an external database, such as MySQL, you have to address failover, redundancy and performance issues if you go in that direction.
> -----Original Message----- > From: Moises Silva [mailto:[EMAIL PROTECTED] > Sent: Monday, June 05, 2006 10:24 AM > To: Asterisk Users Mailing List - Non-Commercial Discussion > Subject: Re: [Asterisk-Users] RE: Size limitations of extensions.conf > > > Asterisk support the concept of "configuration engine", this means > that you can write a configuration engine to get the data from > anywhere. The default configuration engine is "text_file_engine", that > reads the configuration from text files. This engine does not have any > limit in the code, so the only limit is the performance hit of > starting or reloading. Actually some limits exists for the size of > context names, nested includes etc, but no for number of lines. > > Why dont use database engine? instead of large files? > > Regards > > > > > On 6/5/06, Brent Torrenga <[EMAIL PROTECTED]> wrote: > > If you need to do a couple differing operations on a list of many > > area/country codes, then you may consider using the > database to let the dial > > plan choose what to do, rather than go through so many extensions. > > > > I mention this to keep your extensions.conf easier to read, > not because I > > know whether or not a long extensions.conf will break things... > > > > > Can someone tell me the size (or any other) limitations for the > > extensions.conf? > > > > > > We have managed to keep our file pretty small thanks to > AGI but we are > > > about to setup a bunch of call restrictions based on area > and country > > > code. > > > > > > One line per area code in the US alone adds a LOT of text > to this file. > > > > > > Is it a bad thing to have 5 or 6000 lines of text in your > > > extensions.conf on a production system? > > > > > > Will it affect the performance? > > > > > > Sincerely, > > > > Brent A. Torrenga > > > > Torrenga Engineering, Inc. > > 907 Ridge Road > > Munster, Indiana 46321-1771 > > > > tel:+1 219 836 8918 x325 > > fax:+1 219 836 1138 > > email:[EMAIL PROTECTED] > > web:www.torrenga.com > > > > _______________________________________________ > > --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 > > > > > -- > "Su nombre es GNU/Linux, no solamente Linux, mas info en http://www.gnu.org" _______________________________________________ --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
