]> git.ipfire.org Git - thirdparty/asterisk.git/commit
cdr / cel: Use event time at event creation instead of processing.
authorJoshua Colp <jcolp@digium.com>
Mon, 5 Aug 2019 12:23:53 +0000 (09:23 -0300)
committerJoshua Colp <jcolp@digium.com>
Wed, 7 Aug 2019 10:47:12 +0000 (04:47 -0600)
commit6350f4e278569c084f519eff3302a5f5eebec355
tree8ad366a4f2a73bcbd29d0f08342cda32b6795cf5
parent9feb13c5b1fcd7ba47eb4d596e52c2d64bc8a7df
cdr / cel: Use event time at event creation instead of processing.

When updating times on CDR or CEL records using the time at which
it is done can result in times being incorrect if the system is
heavily loaded and stasis message processing is delayed.

This change instead makes it so CDR and CEL use the time at which
the stasis messages that drive the systems are created. This allows
them to be backed up while still producing correct records.

ASTERISK-28498

Change-Id: I6829227e67aefa318efe5e183a94d4a1b4e8500a
include/asterisk/cel.h
main/cdr.c
main/cel.c