Merged revisions 83070 via svnmerge from
[asterisk/asterisk.git] / channels / chan_sip.c
index 09a5dc1..e746425 100644 (file)
@@ -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));