[SR-Users] Duplicate ACC records in db when using db_cluster

Jan Hazenberg jenus at cyberchaos.nl
Tue Aug 9 09:54:28 CEST 2016


Hi,

I have a issue with the db_cluster module. All works fine but when i 
enable ACC records to the database i get duplicate entry's in the acc 
table. I have 2 nodes enabled:

# ----- db_cluster params -----
modparam("db_cluster", "connection",
              "con1=>mysql://kamailio:password@10.1.1.1/kamailio")
modparam("db_cluster", "connection",
              "con2=>mysql://kamailio:password@10.1.1.2/kamailio")

modparam("db_cluster", "cluster", "cls1=>con1=9s8p;con2=9s8p")

When i remove one node from the pool the acc records look fine. Could 
this be a bug? Or should i bypass the db_cluster for accounting?

I'm running kamailio 4.4.2.

Thanks,

Jan Hazenberg



More information about the sr-users mailing list