dect
/
asterisk
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
asterisk/funcs
tilghman 95bae85759 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: http://svn.digium.com/svn/asterisk/trunk@142992 f38db490-d61c-443f-a65b-d21fe96a405b
2008-09-12 23:30:03 +00:00
..
Makefile Merged revisions 93180 via svnmerge from 2007-12-17 07:25:35 +00:00
func_base64.c remove some unnecessary includes. 2007-11-19 20:42:06 +00:00
func_blacklist.c remove some useless includes 2007-11-22 02:30:58 +00:00
func_callerid.c Merged revisions 90145 via svnmerge from 2007-11-29 00:28:10 +00:00
func_cdr.c Merged revisions 122046 via svnmerge from 2008-06-12 14:28:01 +00:00
func_channel.c Add some more IAX2-specific information about the channel to the CHANNEL() 2008-06-15 15:21:16 +00:00
func_config.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
func_curl.c make func_curl.c compile under devmode. 2008-09-07 00:04:05 +00:00
func_cut.c Reset default CUT delimiter back to '-' 2008-01-18 02:06:27 +00:00
func_db.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
func_devstate.c Add a \todo 2008-07-01 21:43:55 +00:00
func_dialgroup.c Merged revisions 140488 via svnmerge from 2008-08-29 17:47:17 +00:00
func_dialplan.c This function checks more than just contexts... 2007-12-27 09:13:07 +00:00
func_enum.c make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00
func_env.c Merged revisions 95470 via svnmerge from 2007-12-31 20:33:21 +00:00
func_extstate.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
func_global.c make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00
func_groupcount.c Merged revisions 97697 via svnmerge from 2008-01-10 15:12:08 +00:00
func_iconv.c implement "configure" checks for libiconv, and add the 2008-01-01 22:08:32 +00:00
func_lock.c make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00
func_logic.c another bunch of include removals (errno.h and asterisk/logger.h) 2007-11-19 19:09:03 +00:00
func_math.c another bunch of include removals (errno.h and asterisk/logger.h) 2007-11-19 19:09:03 +00:00
func_md5.c remove some useless includes 2007-11-22 02:30:58 +00:00
func_module.c remove some useless includes 2007-11-22 02:30:58 +00:00
func_odbc.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
func_rand.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
func_realtime.c Older versions of GNU gcc do not allow 'NULL' as sentinel. 2008-06-19 20:48:33 +00:00
func_sha1.c remove some useless includes 2007-11-22 02:30:58 +00:00
func_shell.c another bunch of include removals (errno.h and asterisk/logger.h) 2007-11-19 19:09:03 +00:00
func_speex.c make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00
func_strings.c Merged revisions 138023 via svnmerge from 2008-08-15 15:03:32 +00:00
func_sysinfo.c Fixes sysinfo operator issue also fixed elsewhere in r131445. 2008-07-16 21:54:08 +00:00
func_timeout.c Continue merging in changes from resolve-shadow-warnings. funcs/ this time. 2008-08-07 01:07:40 +00:00
func_uri.c another bunch of include removals (errno.h and asterisk/logger.h) 2007-11-19 19:09:03 +00:00
func_version.c Simplify a trivial snprintf() with ast_copy_string() 2008-03-04 04:57:29 +00:00
func_vmcount.c remove another set of redundant #include "asterisk/options.h" 2007-11-21 23:24:55 +00:00
func_volume.c make datastore creation and destruction a generic API since it is not really channel related, and add the ability to add/find/remove datastores to manager sessions 2008-08-05 16:56:11 +00:00