]> 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:17 +0000 (07:47 -0300)
commit1496aef51b293078604fa6ed9f2341e671760303
treefbdb82ee6deef8fcef6dab4967ae063ffae22034
parent46beb0fa1ab5756918c64666fba87dfaf0b94802
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