diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a503e49654ee1f6c057e4566019af5395c7ab294..5b2bfa8a1b8341ca6bff2d4ad253b583dbf392db 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -29005,7 +29005,7 @@ static int reload_config(enum channelreloadreason reason) if (!strcasecmp(v->value, "ignore-context")) { sip_cfg.notifycid = IGNORE_CONTEXT; } else { - sip_cfg.notifycid = ast_true(v->value); + sip_cfg.notifycid = ast_true(v->value) ? ENABLED : DISABLED; } } else if (!strcasecmp(v->name, "alwaysauthreject")) { sip_cfg.alwaysauthreject = ast_true(v->value);