[svn-commits] irroot: branch irroot/distrotech-customers-trunk r320705 - /team/irroot/distr...
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon May 23 13:46:42 CDT 2011
Author: irroot
Date: Mon May 23 13:46:28 2011
New Revision: 320705
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=320705
Log:
change encryption_taglen_32 too encryption_taglen
Modified:
team/irroot/distrotech-customers-trunk/channels/chan_sip.c
Modified: team/irroot/distrotech-customers-trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/distrotech-customers-trunk/channels/chan_sip.c?view=diff&rev=320705&r1=320704&r2=320705
==============================================================================
--- team/irroot/distrotech-customers-trunk/channels/chan_sip.c (original)
+++ team/irroot/distrotech-customers-trunk/channels/chan_sip.c Mon May 23 13:46:28 2011
@@ -26237,9 +26237,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 svn-commits
mailing list