[asterisk-users] Max Size of Conf Files

Steve Totaro stotaro at totarotechnologies.com
Mon Sep 11 02:55:57 MST 2006


I guess I will give it a try.  The numbers are pretty much static in the 
way they are routed.

I just did not know if Asterisk would choke on a conf file with a couple 
thousand lines.

Thanks,
Steve

picciuX wrote:
> don't know for conf size limitation (but i guess it won't be a problem 
> with a well-sized machine).
>
> About asking on the fly vs writing on change: if your "routing 
> information" varies very often, on the fly should make more sense. 
> Otherwise, it's not useful to retrieve continually same data: better 
> to write it down everytime it changes. Think 1000 numbers are not so 
> much, though i've no experience about that.
>
> HopeThisHelps
>
> 2006/9/11, Steve Totaro <stotaro at totarotechnologies.com 
> <mailto:stotaro at totarotechnologies.com>>:
>
>     I have almost 1,000 800 numbers that are routed any number of ways.
>     Currently I call on fastagi which checks a database and returns the
>     extension or route that DID is supposed to take.
>
>     The DIDs are all over the place as far as sequence, so pattern
>     matching
>     is out of the question.
>
>     My question is, is there a max file size for a conf file?  Will
>     defining
>     the routing for each of the 1,000 DIDs in extensions.conf effect
>     performance or eat up huge amounts of RAM?  I assume these numbers
>     get
>     inserted into the BerkleyDB at startup and reload, can it handle it?
>
>     Any other pros or cons to still having a database, but instead of
>     fastagi asking for an exten on the fly, the database writes the conf
>     file only when routing is changed or toll free numbers are added?
>
>     Thanks,
>     Steve Totaro
>     _______________________________________________
>



More information about the asterisk-users mailing list