asterisk/codecs
Tilghman Lesher 08af5bb312 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)


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@142992 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2008-09-12 23:30:03 +00:00
..
g722 clean up assembler and preprocessor files if they are here too 2007-10-29 22:24:44 +00:00
gsm Merged revisions 111856 via svnmerge from 2008-03-28 21:46:02 +00:00
ilbc Merged revisions 110880 via svnmerge from 2008-03-26 17:10:28 +00:00
lpc10 clean up assembler and preprocessor files if they are here too 2007-10-29 22:24:44 +00:00
adpcm_slin_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
codec_a_mu.c Convert casts to unions, to fix alignment issues on Solaris 2008-06-26 17:06:17 +00:00
codec_adpcm.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
codec_alaw.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
codec_dahdi.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
codec_g722.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
codec_g726.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
codec_gsm.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
codec_ilbc.c Convert casts to unions, to fix alignment issues on Solaris 2008-06-26 17:06:17 +00:00
codec_lpc10.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
codec_resample.c Update instructions for getting libresample 2008-09-02 15:11:53 +00:00
codec_speex.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
codec_ulaw.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
g722_slin_ex.h Add codec G.722 support. 2006-12-21 00:08:21 +00:00
g726_slin_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
gsm_slin_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
ilbc_slin_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
log2comp.h Merged revisions 109648 via svnmerge from 2008-03-18 19:24:15 +00:00
lpc10_slin_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
Makefile More merges from resolve-shadow warnings: 2008-08-07 15:16:48 +00:00
slin_adpcm_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
slin_g722_ex.h Add codec G.722 support. 2006-12-21 00:08:21 +00:00
slin_g726_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
slin_gsm_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
slin_ilbc_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
slin_lpc10_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
slin_resample_ex.h Merge changes from team/russell/codec_resample 2007-12-31 21:22:31 +00:00
slin_speex_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
slin_ulaw_ex.h This change set fixes bug 8126 in trunk. It is implemented via compile time options, activated via the menuselect stuff, which defaults to the old way. non-zero sample data added. Translate tables expressed in microseconds instead of milliseconds, with 5-digit data now instead of 3, giving 2 more digits of precision. 2007-08-20 22:53:48 +00:00
speex_slin_ex.h remove extraneous svn:executable properties 2005-11-29 18:24:39 +00:00
ulaw_slin_ex.h This change set fixes bug 8126 in trunk. It is implemented via compile time options, activated via the menuselect stuff, which defaults to the old way. non-zero sample data added. Translate tables expressed in microseconds instead of milliseconds, with 5-digit data now instead of 3, giving 2 more digits of precision. 2007-08-20 22:53:48 +00:00