[asterisk-commits] irroot: branch irroot/distrotech-customers-1.8 r320706 - /team/irroot/distrot...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon May 23 13:46:57 CDT 2011


Author: irroot
Date: Mon May 23 13:46:43 2011
New Revision: 320706

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=320706
Log:
change encryption_taglen_32 too encryption_taglen

Modified:
    team/irroot/distrotech-customers-1.8/channels/chan_sip.c

Modified: team/irroot/distrotech-customers-1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-1.8/channels/chan_sip.c?view=diff&rev=320706&r1=320705&r2=320706
==============================================================================
--- team/irroot/distrotech-customers-1.8/channels/chan_sip.c (original)
+++ team/irroot/distrotech-customers-1.8/channels/chan_sip.c Mon May 23 13:46:43 2011
@@ -25904,9 +25904,9 @@
 	} else if (!strcasecmp(v->name, "buggymwi")) {
 		ast_set_flag(&mask[1], SIP_PAGE2_BUGGY_MWI);
 		ast_set2_flag(&flags[1], ast_true(v->value), SIP_PAGE2_BUGGY_MWI);
-	} else if (!strcasecmp(v->name, "encryption_taglen_32")) {
+	} else if (!strcasecmp(v->name, "encryption_taglen")) {
 		ast_set_flag(&mask[2], SIP_PAGE3_SRTP_TAG_32);
-		ast_set2_flag(&flags[2], ast_true(v->value), SIP_PAGE3_SRTP_TAG_32);
+		ast_set2_flag(&flags[2], !strcasecmp(v->value, "32"), SIP_PAGE3_SRTP_TAG_32);
 	} else if (!strcasecmp(v->name, "encryption")) {
 		ast_set_flag(&mask[1], SIP_PAGE2_USE_SRTP);
 		ast_set_flag(&mask[2], SIP_PAGE3_SRTP_TRY);




More information about the asterisk-commits mailing list