In the past, we used the LCR module with hundreds of thousands (perhaps millions) of entries in the LCR tables. The only drawback was that it took a long time to start up Kamailio (maybe 30 seconds), however it was fast once it was running.
We eventually decided to stop using the LCR module because it doesn¹t implement LCR in the way that most people think of LCR. It doesn¹t obtain the most specific prefix match for a called number. -H On 2015-06-09, 5:54 AM, "Juha Heinanen" <j...@tutpro.com> wrote: >Ali Taher writes: > >> Before going further , I just want to ask about how much rule in >>LCR_rule >> table and target in LCR_rule_target can Kamailio support . > >LCR module stores rules and gateways in shared memory and thus can >support as many of those as fits in your allocated shared memory. You >can find from lcr_mod.h how much memory one entry requires. > >Regarding execution time of load_gws() function, README tells > > Execution time of load_gws() function is O(N) * O(M), where N is number > of different prefix lengths and M is number of collisions for matching > prefix(es) in lcr rules hash table of the LCR instance. > >-- Juha > >_______________________________________________ >SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list >sr-users@lists.sip-router.org >http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users _______________________________________________ SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list sr-users@lists.sip-router.org http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users