Re: [SR-Users] acc log in two databases

2012-03-30 Thread Daniel-Constantin Mierla
Hello, a follow up to let you know that the devel version has a generic clustering module that allows to write in parallel to many databases: * http://kamailio.org/docs/modules/devel/modules_k/db_cluster.html I added an example for acc parallel write to two databases: * http://kamailio.or

Re: [SR-Users] acc log in two databases

2012-03-20 Thread Daniel-Constantin Mierla
Hello, indeed it is no such feature embedded in acc module. On the other hand, acc do database is practically a SQL INSERT query done at the moment 200 ok for request is processed. So the same functionality can be achieved from config file via sqlops, module that can connect to many db server

Re: [SR-Users] acc log in two databases

2012-03-20 Thread Carsten Bock
Hi, not at the moment. The best approach would probably be to implement this on database level (e.g. MySQL-replication). Carsten 2012/3/20 Johannes Wagner-Meingassner : > hi, > > is it possible configure accounting to log into 2 databases at the same time? > > thanks, > hannes > > modparam("acc"

[SR-Users] acc log in two databases

2012-03-20 Thread Johannes Wagner-Meingassner
hi, is it possible configure accounting to log into 2 databases at the same time? thanks, hannes modparam("acc", "db_url", "mysql://user:pw@localhost/ser") modparam("acc", "db_url", "mysql://user:pw@10.10.10.10/ser") modparam("acc", "db_flag", 1) modparam("acc", "db_missed_flag", 3) ___