diff --git a/channels/chan_sip.c b/channels/chan_sip.c index b4d09dfd8a..8abcd61019 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -28140,7 +28140,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);