]> git.ipfire.org Git - thirdparty/asterisk.git/commit
cdr: allow disabling CDR by default on new channels
authorNaveen Albert <asterisk@phreaknet.org>
Wed, 15 Dec 2021 18:36:42 +0000 (18:36 +0000)
committerFriendly Automation <jenkins2@gerrit.asterisk.org>
Mon, 31 Jan 2022 15:32:01 +0000 (09:32 -0600)
commit1a8d320a29e4863cbcacdf2d2f9972588cb555fd
tree7b2337c68f16505c428c282e7592568b4937222a
parentcf17b3d211388c88989985a0fe6944eb870eabd8
cdr: allow disabling CDR by default on new channels

Adds a new option, defaultenabled, to the CDR core to
control whether or not CDR is enabled on a newly created
channel. This allows CDR to be disabled by default on
new channels and require the user to explicitly enable
CDR if desired. Existing behavior remains unchanged.

ASTERISK-29808 #close

Change-Id: Ibb78c11974bda229bbb7004b64761980e0b2c6d1
configs/samples/cdr.conf.sample
doc/CHANGES-staging/cdr_disable.txt [new file with mode: 0644]
include/asterisk/cdr.h
main/cdr.c
tests/test_cdr.c