[Kamailio-Users] Double acc records in DB

Alex Balashov abalashov at evaristesys.com
Mon Nov 9 17:26:14 CET 2009


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 at lists.kamailio.org
> http://lists.kamailio.org/cgi-bin/mailman/listinfo/users
> http://lists.openser-project.org/cgi-bin/mailman/listinfo/users


-- 
Alex Balashov - Principal
Evariste Systems
Web     : http://www.evaristesys.com/
Tel     : (+1) (678) 954-0670
Direct  : (+1) (678) 954-0671



More information about the Users mailing list