[asterisk-commits] branch oej/disable-ol-and-sub r11459 - /team/oej/disable-ol-and-sub/channels/

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Tue Feb 28 14:28:08 MST 2006


Author: oej
Date: Tue Feb 28 15:27:58 2006
New Revision: 11459

URL: http://svn.digium.com/view/asterisk?rev=11459&view=rev
Log:
Configuration options

Modified:
    team/oej/disable-ol-and-sub/channels/chan_sip.c

Modified: team/oej/disable-ol-and-sub/channels/chan_sip.c
URL: http://svn.digium.com/view/asterisk/team/oej/disable-ol-and-sub/channels/chan_sip.c?rev=11459&r1=11458&r2=11459&view=diff
==============================================================================
--- team/oej/disable-ol-and-sub/channels/chan_sip.c (original)
+++ team/oej/disable-ol-and-sub/channels/chan_sip.c Tue Feb 28 15:27:58 2006
@@ -11767,6 +11767,10 @@
 			ast_set_flag(flags, SIP_PROG_INBAND_YES);
 		else if (strcasecmp(v->value, "never"))
 			ast_set_flag(flags, SIP_PROG_INBAND_NO);
+  	} else if (!strcasecmp(v->name, "allowsubscribe")) {
+		global_allowsubscribe = ast_true(v->value);
+  	} else if (!strcasecmp(v->name, "allowoverlap")) {
+		global_allowoverlap = ast_true(v->value);
   	} else if (!strcasecmp(v->name, "allowguest")) {
 #ifdef OSP_SUPPORT
   		if (!strcasecmp(v->value, "osp"))



More information about the asterisk-commits mailing list