[Core] Add new cause REJECT_ALL

This commit is contained in:
Giacomo Vacca 2023-06-16 17:30:15 +00:00 committed by Andrey Volk
parent 7f62d6168d
commit 9c63f03b45
2 changed files with 3 additions and 1 deletions

View File

@ -2249,7 +2249,8 @@ typedef enum {
SWITCH_CAUSE_BAD_IDENTITY_INFO = 821,
SWITCH_CAUSE_UNSUPPORTED_CERTIFICATE = 822,
SWITCH_CAUSE_INVALID_IDENTITY = 823,
SWITCH_CAUSE_STALE_DATE = 824
SWITCH_CAUSE_STALE_DATE = 824,
SWITCH_CAUSE_REJECT_ALL = 825
} switch_call_cause_t;
typedef enum {

View File

@ -135,6 +135,7 @@ static struct switch_cause_table CAUSE_CHART[] = {
{"UNSUPPORTED_CERTIFICATE", SWITCH_CAUSE_UNSUPPORTED_CERTIFICATE},
{"INVALID_IDENTITY", SWITCH_CAUSE_INVALID_IDENTITY},
{"STALE_DATE", SWITCH_CAUSE_STALE_DATE},
{"REJECT_ALL", SWITCH_CAUSE_REJECT_ALL},
{NULL, 0}
};