[asterisk-commits] file: trunk r83071 - in /trunk: ./ channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Sep 19 08:21:41 CDT 2007


Author: file
Date: Wed Sep 19 08:21:41 2007
New Revision: 83071

URL: http://svn.digium.com/view/asterisk?view=rev&rev=83071
Log:
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.

........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_sip.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_sip.c?view=diff&rev=83071&r1=83070&r2=83071
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Wed Sep 19 08:21:41 2007
@@ -17921,7 +17921,9 @@
 		/* 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));




More information about the asterisk-commits mailing list