]> git.ipfire.org Git - thirdparty/asterisk.git/commit
cdr: add CANCEL dispostion in CDR
authorzhou_jiajian <zhou_0611@163.com>
Thu, 24 Jul 2025 11:39:27 +0000 (19:39 +0800)
committerGeorge Joseph <gjoseph@sangoma.com>
Wed, 17 Sep 2025 17:40:38 +0000 (11:40 -0600)
commit3cedbab9939c2876de70cd75792af89d80d488f0
tree1eb6e07889936ee5cac5b4b19d74a27f49455ec9
parentb155601f1c281ec06269ef265c92763e277b3627
cdr: add CANCEL dispostion in CDR

In the original implementation, both CANCEL and NO ANSWER states were
consolidated under the NO ANSWER disposition. This patch introduces a
separate CANCEL disposition, with an optional configuration switch to
enable this new disposition.

Resolves: #1323

UserNote: A new CDR option "canceldispositionenabled" has been added
that when set to true, the NO ANSWER disposition will be split into
two dispositions: CANCEL and NO ANSWER. The default value is 'no'

(cherry picked from commit 01661398a320ab36605a3fd0df8e4997f3bb150a)
configs/samples/cdr.conf.sample
include/asterisk/cdr.h
main/cdr.c