[Kamailio-Users] Double acc records in DB

Henning Westerholt henning.westerholt at 1und1.de
Mon Nov 9 17:20:13 CET 2009


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sip-router.org/pipermail/sr-users/attachments/20091109/b44c10a7/attachment.htm>


More information about the sr-users mailing list