I use 'acc' with DB CDR logging through db_postgres in about 90% of all projects I've ever worked on and have never seen this. It may be DB-specific.
Henning Westerholt wrote:
On Montag, 9. November 2009, Alex Hermann wrote:
Alex Hermann wrote:
I noticed that sometimes I get 2 identical acc records in the
database,
although I get only 1 in the syslog (I use both db_flag and
log_flag).
Of course, the second record in the DB shouldn't be there.
Identical as in, same method, same CSeq, same Call-ID, but different ID column?
Yes.
Hey Alex,
i think i also noticed something like this some time ago in our accounting, we use syslog output. I supposed that it had something to do with retransmissions, and that perhaps a really rare race condition exists somewhere in the accounting module. We take care of this in our cdr engine, so i did not debugged it further that time, as i don't had access to a sip trace showing the SIP message flow for the record(s) in question.
But if you say it has nothing to do with retransmissions, then its even more strange. How often do you observe this problem?
Regards,
Henning
Kamailio (OpenSER) - Users mailing list Users@lists.kamailio.org http://lists.kamailio.org/cgi-bin/mailman/listinfo/users http://lists.openser-project.org/cgi-bin/mailman/listinfo/users