[asterisk-commits] tilghman: branch 1.6.1 r142994 - /branches/1.6.1/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Fri Sep 12 18:32:47 CDT 2008
Author: tilghman
Date: Fri Sep 12 18:32:46 2008
New Revision: 142994
URL: http://svn.digium.com/view/asterisk?view=rev&rev=142994
Log:
Blocked revisions 142992 via svnmerge
........
r142992 | tilghman | 2008-09-12 18:30:03 -0500 (Fri, 12 Sep 2008) | 27 lines
Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating
when a file is invalid from when a file is missing. This is most important when
we have two configuration files. Consider the following example:
Old system:
sip.conf users.conf Old result New result
======== ========== ========== ==========
Missing Missing SIP doesn't load SIP doesn't load
Missing OK SIP doesn't load SIP doesn't load
Missing Invalid SIP doesn't load SIP doesn't load
OK Missing SIP loads SIP loads
OK OK SIP loads SIP loads
OK Invalid SIP loads incompletely SIP doesn't load
Invalid Missing SIP doesn't load SIP doesn't load
Invalid OK SIP doesn't load SIP doesn't load
Invalid Invalid SIP doesn't load SIP doesn't load
So in the case when users.conf doesn't load because there's a typo that
disrupts the syntax, we may only partially load users, instead of failing with
an error, which may cause some calls not to get processed. Worse yet, the old
system would do this with no indication that anything was even wrong.
(closes issue #10690)
Reported by: dtyoo
Patches:
20080716__bug10690.diff.txt uploaded by Corydon76 (license 14)
........
Modified:
branches/1.6.1/ (props changed)
Propchange: branches/1.6.1/
------------------------------------------------------------------------------
--- trunk-blocked (original)
+++ trunk-blocked Fri Sep 12 18:32:46 2008
@@ -1,1 +1,1 @@
-/trunk:137901,138851,139020,139525,139704,139771,139775,139832,139981,140057,140167,140201,140355,140559,140821,140938,141218,141271,141328,141425,141464,141507,141626,141906,142000,142146,142536,142635
+/trunk:137901,138851,139020,139525,139704,139771,139775,139832,139981,140057,140167,140201,140355,140559,140821,140938,141218,141271,141328,141425,141464,141507,141626,141906,142000,142146,142536,142635,142992
More information about the asterisk-commits
mailing list