From: Joshua Colp Date: Wed, 19 Sep 2007 13:18:22 +0000 (+0000) Subject: (closes issue #10760) X-Git-Tag: 1.4.12~55 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4be09d967e8b116cc9c25400f704f8eda4352b29;p=thirdparty%2Fasterisk.git (closes issue #10760) Reported by: dimas Patches: chan_sip.patch uploaded by dimas (license 88) Read in subscribecontext option in general to be the default. git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@83070 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_sip.c b/channels/chan_sip.c index d449102519..3c61b475fa 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -16593,6 +16593,8 @@ static int reload_config(enum channelreloadreason reason) /* Create the interface list */ if (!strcasecmp(v->name, "context")) { ast_copy_string(default_context, v->value, sizeof(default_context)); + } 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")) {