[SR-Users] LCR Module not loading all rules from DB

M Arqum CH marqumch at gmail.com
Wed Nov 24 07:40:37 CET 2021


No error on kamailio logs.

By increasing  the value of lcr_rule_hash_size upto 6024, no effect on
output.

When trying to check  gw against the prefix using this example , kamcmd
lcr.load_gws 1 s:+96222    ,   no result is returned.

Any suggestions on  how to verify  gw against prefix.

Thanks

On Sun, Nov 21, 2021 at 6:54 PM Ovidiu Sas <osas at voipembedded.com> wrote:

> Did you also check the kamailio logs (not the console)?
>
> Regards,
> Ovidiu Sas
>
> On Sun, Nov 21, 2021 at 03:36 M Arqum CH <marqumch at gmail.com> wrote:
>
>> No didn't get any error message in  console.
>>
>>
>> On Fri, Nov 19, 2021, 10:39 PM Juha Heinanen <jh at tutpro.com> wrote:
>>
>>> Do you get any error messages when you start kamailio or give
>>> lcr.dump_rules command?  If not, then most likely all the rules are
>>> loaded.
>>>
>>> If you have 73K rules, then
>>>
>>> modparam("lcr", "lcr_rule_hash_size", 1024)
>>>
>>> is way too small value if you want efficient hash table lookup, but it
>>> does not affect the number of rules.
>>>
>>> lcr.dump_rules only printing 4096 rules may be rpc limitation.
>>>
>>> -- Juha
>>>
>>> __________________________________________________________
>>> Kamailio - Users Mailing List - Non Commercial Discussions
>>>   * sr-users at lists.kamailio.org
>>> Important: keep the mailing list in the recipients, do not reply only to
>>> the sender!
>>> Edit mailing list options or unsubscribe:
>>>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>>
>> __________________________________________________________
>> Kamailio - Users Mailing List - Non Commercial Discussions
>>   * sr-users at lists.kamailio.org
>> Important: keep the mailing list in the recipients, do not reply only to
>> the sender!
>> Edit mailing list options or unsubscribe:
>>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>>
> --
> VoIP Embedded, Inc.
> http://www.voipembedded.com
> __________________________________________________________
> Kamailio - Users Mailing List - Non Commercial Discussions
>   * sr-users at lists.kamailio.org
> Important: keep the mailing list in the recipients, do not reply only to
> the sender!
> Edit mailing list options or unsubscribe:
>   * https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users
>


-- 
Regards
M Arqum
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-users/attachments/20211124/3325d0a3/attachment.htm>


More information about the sr-users mailing list