[asterisk-commits] file: trunk r395439 - in /trunk/res: res_sip.c res_sip/sip_configuration.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 25 14:18:43 CDT 2013


Author: file
Date: Thu Jul 25 14:18:42 2013
New Revision: 395439

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=395439
Log:
Change the default value for "allowsubscribe" to yes to match chan_sip.

Modified:
    trunk/res/res_sip.c
    trunk/res/res_sip/sip_configuration.c

Modified: trunk/res/res_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_sip.c?view=diff&rev=395439&r1=395438&r2=395439
==============================================================================
--- trunk/res/res_sip.c (original)
+++ trunk/res/res_sip.c Thu Jul 25 14:18:42 2013
@@ -464,7 +464,7 @@
 						See https://wiki.asterisk.org/wiki/display/AST/IP+Quality+of+Service for more information about QoS settings
 					</para></description>
 				</configOption>
-				<configOption name="allowsubscribe" default="no">
+				<configOption name="allowsubscribe" default="yes">
 					<synopsis>Determines if endpoint is allowed to initiate subscriptions with Asterisk.</synopsis>
 				</configOption>
 				<configOption name="subminexpiry" default="60">

Modified: trunk/res/res_sip/sip_configuration.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_sip/sip_configuration.c?view=diff&rev=395439&r1=395438&r2=395439
==============================================================================
--- trunk/res/res_sip/sip_configuration.c (original)
+++ trunk/res/res_sip/sip_configuration.c Thu Jul 25 14:18:42 2013
@@ -679,7 +679,7 @@
 	ast_sorcery_object_field_register(sip_sorcery, "endpoint", "tos_video", "0", OPT_UINT_T, 0, FLDSET(struct ast_sip_endpoint, tos_video));
 	ast_sorcery_object_field_register(sip_sorcery, "endpoint", "cos_audio", "0", OPT_UINT_T, 0, FLDSET(struct ast_sip_endpoint, cos_audio));
 	ast_sorcery_object_field_register(sip_sorcery, "endpoint", "cos_video", "0", OPT_UINT_T, 0, FLDSET(struct ast_sip_endpoint, cos_video));
-	ast_sorcery_object_field_register(sip_sorcery, "endpoint", "allowsubscribe", "no", OPT_BOOL_T, 1, FLDSET(struct ast_sip_endpoint, allowsubscribe));
+	ast_sorcery_object_field_register(sip_sorcery, "endpoint", "allowsubscribe", "yes", OPT_BOOL_T, 1, FLDSET(struct ast_sip_endpoint, allowsubscribe));
 	ast_sorcery_object_field_register(sip_sorcery, "endpoint", "subminexpiry", "0", OPT_UINT_T, 0, FLDSET(struct ast_sip_endpoint, subminexpiry));
 	ast_sorcery_object_field_register(sip_sorcery, "endpoint", "subminexpirey", "0", OPT_UINT_T, 0, FLDSET(struct ast_sip_endpoint, subminexpiry));
 	ast_sorcery_object_field_register(sip_sorcery, "endpoint", "fromuser", "", OPT_STRINGFIELD_T, 0, STRFLDSET(struct ast_sip_endpoint, fromuser));




More information about the asterisk-commits mailing list