Hello,

I was able to install ratecacher module and make it work.
But editing the clients hash size parameter generates an error.
"ERROR:core:set_mod_param_regex: parameter <clients_hash_size> not found in 
module <rate_cacher>"
however vendors_hash_size is correctly identified as a rate_cacher parameter
Everything works when removing clients one
I am running opensips :

version: opensips 3.2.9 (x86_64/linux)
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC, Q_MALLOC, 
F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16, 
MAX_URI_SIZE 1024, BUF_SIZE 65535
poll method support: poll, epoll, sigio_rt, select.
main.c compiled on  with gcc 10

### RATECACHER module
loadmodule "rate_cacher.so"
modparam("rate_cacher", "clients_db_url", "mysql://DB_STRING/opensips")
modparam("rate_cacher", "clients_db_table", "rc_clients")
modparam("rate_cacher", "rates_db_url", "mysql://DB_STRING/opensips")
modparam("rate_cacher", "rates_db_table", "rc_ratesheets")
modparam("rate_cacher", "vendors_db_url", "mysql://DB_STRING/opensips")
modparam("rate_cacher", "vendors_db_table", "rc_vendors")
modparam("rate_cacher", "vendors_hash_size", 1024)
modparam("rate_cacher", "clients_hash_size", 1024)
_______________________________________________
Users mailing list
Users@lists.opensips.org
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to