[Kamailio-Users] Double acc records in DB

Henning Westerholt henning.westerholt at 1und1.de
Tue Nov 10 12:55:20 CET 2009


On Dienstag, 10. November 2009, Klaus Darilion wrote:
> > On 09.11.2009 17:20 Uhr, 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.
> >
> > do you get same situation with syslog acc? As I understood Alex got it
> > with db accounting.
> >
> > What is very strange in Alex's case is he gets it with db and not with
> > syslog, for same event. The module calls step by step syslog and then db
> > recording. So if there would be 2 db records, should be 2 syslog records.
>
> maybe in syslog there is something like "last message repeated 2 times"?

Hey Klaus, hey Daniel,

i did not remember exactly, sorry. But i think i did not observed the line you 
mentioned, as the machine in question aggregates several syslog streams, and 
normally do not combine them. I'm not sure if Alex also use syslog accounting, 
i understand that he only observed this in the database. When i do some QA for 
our cdr engine again, i'll then take a closer look to the log generation.

Regards,

Henning
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/users/attachments/20091110/7ed66e50/attachment.htm>


More information about the Users mailing list