[asterisk-commits] mmichelson: trunk r431436 - in /trunk: ./ res/res_pjsip/pjsip_configuration.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jan 29 15:20:08 CST 2015
Author: mmichelson
Date: Thu Jan 29 15:20:07 2015
New Revision: 431436
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=431436
Log:
Allow disabling of 100rel support on PJSIP endpoints.
Due to an inversion error, setting 100rel=no would not actually
change the current value of the setting (which defaulted to "yes").
With this fix, the inversion is corrected.
........
Merged revisions 431420 from http://svn.asterisk.org/svn/asterisk/branches/13
Modified:
trunk/ (props changed)
trunk/res/res_pjsip/pjsip_configuration.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-13-merged' - no diff available.
Modified: trunk/res/res_pjsip/pjsip_configuration.c
URL: http://svnview.digium.com/svn/asterisk/trunk/res/res_pjsip/pjsip_configuration.c?view=diff&rev=431436&r1=431435&r2=431436
==============================================================================
--- trunk/res/res_pjsip/pjsip_configuration.c (original)
+++ trunk/res/res_pjsip/pjsip_configuration.c Thu Jan 29 15:20:07 2015
@@ -144,7 +144,7 @@
if (ast_true(var->value)) {
endpoint->extensions.flags |= PJSIP_INV_SUPPORT_100REL;
} else if (ast_false(var->value)) {
- endpoint->extensions.flags &= PJSIP_INV_SUPPORT_100REL;
+ endpoint->extensions.flags &= ~PJSIP_INV_SUPPORT_100REL;
} else if (!strcasecmp(var->value, "required")) {
endpoint->extensions.flags |= PJSIP_INV_REQUIRE_100REL;
} else {
More information about the asterisk-commits
mailing list