Mismatch between session.log vs plugin times

Discuss any topic about Brekeke SIP Server.

Moderator: Brekeke Support Team

Post Reply
ResMC
Posts: 15
Joined: Mon Dec 11, 2006 8:54 pm
Location: Auckland (NZ)
Contact:

Mismatch between session.log vs plugin times

Post by ResMC »

1. Brekeke Product Name and version: SIP Server 1.5

6. Your problem: Mismatch between session.log vs plugin

Hi,
After a fail-over we are consolidating logs between the
standard session.log versus records created from the plugin;

In doing that we found a persistent mismatch with the
session-start-times and would be keen to understand that.

The mismatch is always when milisecs are getting into the 900
range and thus we are suspecting that it is either a rounding
or that your program is actually creating two different timestamps
eg: 1) timestamp for passing on to the plugin interface
2) a seperate timestamp (call) to write to the session.log.

Could you inform us wether you use rounding or a seperate call
for a timestamp with the two functions.
This could allow us to create consistent consolidation.


To add a little detail to my Q:

Timestamp 1176079583992
shows in the plugin and resolves as: 20070409-004623:992 (seems correct)
but in the ondolog it is: 20070409-004624 (rounded)

taking any time with milisecs less than 900 seems to resolve with correct secs.


Thanks,
ResMC.
Post Reply