diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 09a5dc1706bafbf53878ea0117bc44aa8b9ba724..e7464253a0680d399408b80f34c15c871c6f8edb 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -17921,7 +17921,9 @@ static int reload_config(enum channelreloadreason reason) /* Create the dialogs list */ if (!strcasecmp(v->name, "context")) { ast_copy_string(default_context, v->value, sizeof(default_context)); - } else if (!strcasecmp(v->name, "allowguest")) { + } else if (!strcasecmp(v->name, "subscribecontext")) { + ast_copy_string(default_subscribecontext, v->value, sizeof(default_subscribecontext)); + } else if (!strcasecmp(v->name, "allowguest")) { global_allowguest = ast_true(v->value) ? 1 : 0; } else if (!strcasecmp(v->name, "realm")) { ast_copy_string(global_realm, v->value, sizeof(global_realm));