mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-02 10:22:46 +00:00
Merge "main/cdr: Allow setting properties on a finalized CDR if it is the last one" into 13
This commit is contained in:
@@ -2953,7 +2953,7 @@ int ast_cdr_setvar(const char *channel_name, const char *name, const char *value
|
||||
for (it_cdr = cdr; it_cdr; it_cdr = it_cdr->next) {
|
||||
struct varshead *headp = NULL;
|
||||
|
||||
if (it_cdr->fn_table == &finalized_state_fn_table) {
|
||||
if (it_cdr->fn_table == &finalized_state_fn_table && it_cdr->next != NULL) {
|
||||
continue;
|
||||
}
|
||||
if (!strcasecmp(channel_name, it_cdr->party_a.snapshot->name)) {
|
||||
|
Reference in New Issue
Block a user