[SR-Users] acc log in two databases

Daniel-Constantin Mierla miconda at gmail.com
Tue Mar 20 23:54:37 CET 2012


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 servers.

Cheers,
Daniel

On 3/20/12 4:53 PM, Carsten Bock wrote:
> 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<Johannes.Wagner-Meingassner at infotech.at>:
>> 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)
>>
>> _______________________________________________
>> SIP Express Router (SER) and Kamailio (OpenSER) - sr-users mailing list
>> sr-users at lists.sip-router.org
>> http://lists.sip-router.org/cgi-bin/mailman/listinfo/sr-users
>
>

-- 
Daniel-Constantin Mierla
Kamailio Advanced Training, April 23-26, 2012, Berlin, Germany
http://www.asipto.com/index.php/kamailio-advanced-training/




More information about the sr-users mailing list