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'
This commit is contained in:
zhou_jiajian
2025-07-24 19:39:27 +08:00
committed by github-actions[bot]
parent 2ae6cb7c93
commit 511d22ef5e
3 changed files with 27 additions and 1 deletions

View File

@@ -96,6 +96,12 @@
; is "yes".
;safeshutdown=yes
; Define if the CANCEL disposition state should be used.
; When enabled, The NO ANSWER disposition will be split into two distinct
; dispositions: CANCEL and NO ANSWER.
; The default value is "no".
;canceldispositionenabled = no
;
;
; CHOOSING A CDR "BACKEND" (what kind of output to generate)