diff options
author | Joshua Colp <jcolp@digium.com> | 2007-09-19 13:21:41 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2007-09-19 13:21:41 +0000 |
commit | fd1cde1a166d4a06973fb8d161558add8eeb863b (patch) | |
tree | 1e9f39b8a94740d5fd1c65701e1a665b480b7397 /channels | |
parent | dc9dc753793557dd5626bdd509a8ab47f50107cd (diff) |
Merged revisions 83070 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r83070 | file | 2007-09-19 10:18:22 -0300 (Wed, 19 Sep 2007) | 6 lines
(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/trunk@83071 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 09a5dc170..e7464253a 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)); |