NTP and Voice Logs: How Precise a Timestamp Has to Be to Be Worth Relying On
Two systems, two clocks, two versions of events. The platform logs a call at 14:03:12 and the carrier records it at 14:07:40, and the gap is a clock that drifted rather than a call that took four minutes to answer. Investigating a complaint, a dispute, or a billing query depends on lining up records from different systems, and that depends on something nobody thinks about until it fails.
Where the Clocks Are
A voice path contains several devices that each keep their own time: the handsets, the gateways, the platform, the session border controller, the carrier's own network, and the application receiving the events. Some are disciplined by a network time source, some by a vendor-specific mechanism, some by nothing at all and simply free-run from the moment they were powered on. The endpoint nobody noticed is the one that drifts, and it drifts fastest because it is managed least.
The consequence is that two records of the same event can differ by minutes, with no way to tell from the records alone which one is correct. A dispute that turns on the order of two events becomes unresolvable, and the party with the less accurate clock is the party that loses it.
| Clock source | Where it comes from | Typical failure |
|---|---|---|
| Network time service | Site or carrier time source | Points at a device that is itself unsynchronised |
| Time delivered over DHCP | Whatever the router is configured to offer | An offset nobody chose and nobody audits |
| Vendor-specific mechanism | Handset or gateway behaviour | Applies only to some event types |
| Carrier record | The other party's platform | Differs from yours by a fixed or drifting offset |
| Platform internal clock | The system that writes the records | Correct, but not applied to every component |
| Free-running clock | Default on an unmanaged device | Drifts steadily, then steps on a restart |
What Precision Is Actually Required
Two different requirements get confused. For operations, a call detail record accurate to the second is enough to reconstruct a day's activity and to answer a billing query. For forensic use, the question is whether a recording, a signalling log, and an application event refer to the same instant, and whether the ordering of two events can be established with confidence. That needs alignment to a small fraction of a second, and it needs to be known that the alignment holds rather than assumed.
Millisecond timestamps in a log are not the same as millisecond accuracy. A device can write a timestamp with three decimal places while its clock is several hundred milliseconds away from truth. The number of digits in the field says nothing about the discipline behind it, and a report that cites resolution rather than measured offset is citing the wrong number.
Where the Discrepancy Comes From
The usual causes are unglamorous. A device with no time source configured at all, set to a default that happens to be right for the manufacturer's home timezone and wrong for everybody else. A device taking whatever time the router offers over DHCP. A network whose time source is a firewall that is itself synchronised to nothing. Two devices pointed at two sources that differ by a fixed offset, so each is internally consistent and the pair is not. And a leap second, where the treatment of the extra second differs between systems and a naive comparison shows a one-second discontinuity that was real but not meaningful.
- Inventory every device that produces a timestamp in a voice path
- Compare each clock against an independent reference and record the offset
- Repeat the comparison later, since a correct clock still drifts
- Check time sources delivered over DHCP, which are often somebody else's choice
- Confirm the platform stamps its own records from one internal clock
- Test behaviour at a daylight saving change and at a leap second
- Report measured offset rather than the resolution printed in the log format
Testing the Clocks Before the Dispute
Compare every device against a reference and record the offset rather than judging it as a pass or a fail. Then repeat the comparison after the device has been running for a while, because a device that was right at installation may be drifting steadily. Where the offset is measured in seconds, the first conversation with the vendor is about the time source, not about logging. Where it is measured in milliseconds, the conversation is about the reference and the measurement method, which is a smaller problem.
It is worth testing what happens at the boundary of a daylight saving change, because a system that applies the change twice or not at all produces an hour of impossible timestamps, and the first person to notice is usually the one asked to explain a gap in a recording. Where logs are compared against a carrier's, do the same test on both sides.
Redstone Approach
Redstone platforms can be pointed at an approved network time source, expose system time and synchronisation status for operational checking, and stamp call detail records and signalling logs from a single internal clock rather than from whichever component happened to handle the event. Recordings and their associated records are produced within the same platform, which removes one common source of divergence between a recording and the log that describes it.
Redstone Systems, Inc. founded in Delaware, USA in December 2002, has been the ODM vendor for many well-known communications companies, serving the Southeast Asian market. In 2020, Redstone Systems will begin to return to the North America market with its self-developed brand.
Redstone has a complete product line of intelligent voice gateways, providing IP-PBXs, analog VoIP gateways (FXS/FXO), digital VoIP gateways (E1/T1), border appliances, and session boundary controllers (SBCs).
With advanced technology in digital signal processor (DSP), speech coding and speech processing, as well as efficient operational tools such as cloud remote management, auto provisioning, Redstone gateways are widely used in markets of enterprise communications, cloud communications, call centers, operators’ IMS/SIP trunks, bringing users friendly, efficient and reliable communication experience.
For more information about Redstone, You can follow us on Facebook, Linkedin, and Youtube to be the first to get the latest news.

Current Location :

