[svn-commits] rmudgett: trunk r352092 - in /trunk: ./ channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Mon Jan 23 11:36:32 CST 2012
Author: rmudgett
Date: Mon Jan 23 11:36:28 2012
New Revision: 352092
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=352092
Log:
Fix sip_cfg.notifycid to be set with the defined enum values.
The invalid value used when notifycid was enabled was benign. As far as
the code was concerned -1 and 1 are equivalent.
(closes issue ASTERISK-19232)
Reported by: Eike Kuiper
........
Merged revisions 352090 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........
Merged revisions 352091 from http://svn.asterisk.org/svn/asterisk/branches/10
Modified:
trunk/ (props changed)
trunk/channels/chan_sip.c
Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-10-merged' - no diff available.
Modified: trunk/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/trunk/channels/chan_sip.c?view=diff&rev=352092&r1=352091&r2=352092
==============================================================================
--- trunk/channels/chan_sip.c (original)
+++ trunk/channels/chan_sip.c Mon Jan 23 11:36:28 2012
@@ -29005,7 +29005,7 @@
if (!strcasecmp(v->value, "ignore-context")) {
sip_cfg.notifycid = IGNORE_CONTEXT;
} else {
- sip_cfg.notifycid = ast_true(v->value);
+ sip_cfg.notifycid = ast_true(v->value) ? ENABLED : DISABLED;
}
} else if (!strcasecmp(v->name, "alwaysauthreject")) {
sip_cfg.alwaysauthreject = ast_true(v->value);
More information about the svn-commits
mailing list