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://[EMAIL PROTECTED]
Toronto: 647 722 6930
Toll-Free 1 888 488 6940
[EMAIL PROTECTED]

Attachment: pgpl70WkFlf9c.pgp
Description: 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

Reply via email to