[Kamailio-Users] Double acc records in DB

Daniel-Constantin Mierla miconda at gmail.com
Tue Nov 10 11:59:26 CET 2009



On 10.11.2009 11:50 Uhr, Klaus Darilion wrote:
>
>
> Daniel-Constantin Mierla schrieb:
>> Hello,
>>
>> 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"?
>

yes, it could be. Would be good to know if it is the case, because if 
yes, then might be a retransmission, a 200ok race (two answers at same 
time) or something inside the code ... never got it myself, though.

Cheers,
Daniel

-- 
Daniel-Constantin Mierla
* http://www.asipto.com/




More information about the Users mailing list