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
This commit is contained in:
Naveen Albert
2021-12-15 18:36:42 +00:00
committed by Friendly Automation
parent 70f8ea0d1a
commit 386c5e495f
5 changed files with 48 additions and 3 deletions

View File

@@ -0,0 +1,8 @@
Subject: cdr
A new CDR option, channeldefaultenabled, allows controlling
whether CDR is enabled or disabled by default on
newly created channels. The default behavior remains
unchanged from previous versions of Asterisk (new
channels will have CDR enabled, as long as CDR is
enabled globally).