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
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@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 > _______________________________________________ > --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 >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.digium.com/pipermail/asterisk-users/attachments/20060911/470eee35/attachment.htm
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@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