]> 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:24:12 +0000 (09:24 -0600)
commit386c5e495f6e9257391f531d0590b3ae73738b7f
tree9c4bf452ce02e8c8dd41f4d79cc55a6de5345d9b
parent70f8ea0d1adb1659e325a985b9131cab31d1b0e6
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