diff options
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index a503e4965..5b2bfa8a1 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); |