[Asterisk-Users] Size limitations of extensions.conf
C F
shmaltz at gmail.com
Sat Jun 3 19:05:42 MST 2006
AFAIK 7000 lines of extesnsion.conf will not eat as much memory as an
AGI script half that long will.
Second, there is no reason that 1000 lines of code (IF you would be
adding one line for every possible area code in North America then it
would be around 800 lines, then give another 200 for the macro to
handle it) should slow down an asterisk in such a way that you should
consider going with AGI instead.
On 6/3/06, voiplist <gotvoip at gmail.com> wrote:
> So what are the smart folks doing when it comes to retricting/allowing
> which area/country codes can and can't be called?
>
> AGI? We can go AGI but we are trying to avoid yet more calls to AGI
> apps for obvious reasons.
>
> So, is it smarter to use AGI or have it in the text file?
>
> Thanks..
>
> On 6/3/06, trixter aka Bret McDanel <trixter at 0xdecafbad.com> wrote:
> > On Sat, 2006-06-03 at 16:03 -0500, voiplist wrote:
> > > 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?
> >
> > it adds memory and increases load time, it also causes asterisk to walk
> > a longer tree each time it has to do something in that context at least
> > rather than not ...
> >
> >
> > --
> > Trixter http://www.0xdecafbad.com Bret McDanel
> > Belfast IE +44 28 9099 6461 DE +49 801 777 555 3402
> > Utrecht NL +31 306 553058 US WA +1 360 207 0479
> > US NY +1 516 687 5200 FreeWorldDialup: 635378
> > http://www.trxtel.com we pay you to terminate calls with us!
> >
> >
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v1.4.3 (GNU/Linux)
> >
> > iD8DBQBEggCT+1olxlzQw5cRAqmvAJwOCa9atTESuky3rxvE9H9+gexqXwCfWdf8
> > UoVBXbLKIPOL1TbXuFCvlo0=
> > =/Ar4
> > -----END PGP SIGNATURE-----
> >
> >
> > _______________________________________________
> > --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