[asterisk-users] Max Size of Conf Files
Tim St. Pierre
tim at communicatefreely.net
Mon Sep 11 09:33:24 MST 2006
I have an extension.conf composite (including all the included files) that is
over 2000 lines. I do all my rating in the dialplan and it seems to work
just fine. I produced these from spreadsheets containing cost vs. number
information for overseas calls, so it has to pattern match every call against
an 1800 line context.
-Tim
On September 10, 2006 19:08, Steve Totaro wrote:
> 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
> _______________________________________________
> --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
--
Tim St. Pierre
IP telephony specialist
sip://5101@communicatefreely.net
Toronto: 647 722 6930
Toll-Free 1 888 488 6940
tim at communicatefreely.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20060911/81cbeb3d/attachment.pgp
More information about the asterisk-users
mailing list