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/main
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
..
db1-ast Another big chunk of changes from the RSW branch. Bunch of stuff from main/ 2008-08-10 19:35:50 +00:00
editline Merged revisions 129343 via svnmerge from 2008-07-09 13:44:43 +00:00
stdtime Merged revisions 103845 via svnmerge from 2008-02-20 18:28:00 +00:00
Makefile 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
abstract_jb.c Another big chunk of changes from the RSW branch. Bunch of stuff from main/ 2008-08-10 19:35:50 +00:00
acl.c Another big chunk of changes from the RSW branch. Bunch of stuff from main/ 2008-08-10 19:35:50 +00:00
adsistub.c remove a bunch of useless #include "options.h" 2007-11-21 23:09:02 +00:00
aescrypt.c use the OpenSSL AES implementation if it's available (unless configured not to) 2007-05-24 22:07:50 +00:00
aeskey.c use the OpenSSL AES implementation if it's available (unless configured not to) 2007-05-24 22:07:50 +00:00
aesopt.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
aestab.c use the OpenSSL AES implementation if it's available (unless configured not to) 2007-05-24 22:07:50 +00:00
alaw.c Whitespace changes only 2008-03-04 23:04:29 +00:00
app.c When checking for an encoded character, make sure the string isn't blank, first. 2008-09-12 16:54:44 +00:00
ast_expr2.c (closes issue #12467) 2008-04-21 21:13:02 +00:00
ast_expr2.fl Change references to doc/channelvariables.txt to 2008-06-20 16:30:18 +00:00
ast_expr2.h (closes issue #12467) 2008-04-21 21:13:02 +00:00
ast_expr2.y (closes issue #12467) 2008-04-21 21:13:02 +00:00
ast_expr2f.c Change references to doc/channelvariables.txt to 2008-06-20 16:30:18 +00:00
asterisk.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
astmm.c Merged revisions 129966 via svnmerge from 2008-07-11 14:16:15 +00:00
astobj2.c Another big chunk of changes from the RSW branch. Bunch of stuff from main/ 2008-08-10 19:35:50 +00:00
audiohook.c Another big chunk of changes from the RSW branch. Bunch of stuff from main/ 2008-08-10 19:35:50 +00:00
autoservice.c Merged revisions 138027 via svnmerge from 2008-08-15 15:09:46 +00:00
buildinfo.c merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
callerid.c Cleaned up comment 2008-09-09 17:30:52 +00:00
cdr.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
channel.c Modify ast_answer() to not hold the channel lock while calling ast_safe_sleep() 2008-09-09 01:47:56 +00:00
chanvars.c another bunch of include removals (errno.h and asterisk/logger.h) 2007-11-19 19:09:03 +00:00
cli.c Some fixes to autocompletion in some commands. 2008-09-06 12:03:11 +00:00
config.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
cryptostub.c Whitespace changes only 2008-03-04 23:04:29 +00:00
cygload.c Doxygen updates, formatting. 2007-12-11 22:20:22 +00:00
datastore.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
db.c Several manager changes: 2008-01-10 00:12:35 +00:00
devicestate.c actually use the cache_cache argument 2008-07-26 15:16:20 +00:00
dial.c Convert one more delimiter to use comma. 2008-06-13 14:15:07 +00:00
dns.c Fix a bug in SRV lookups where dnsmgr would discard everything but the 2008-07-08 21:00:01 +00:00
dnsmgr.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
dsp.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
ecdisa.h merge new_loader_completion branch, including (at least): 2006-08-21 02:11:39 +00:00
enum.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
event.c Another big chunk of changes from the RSW branch. Bunch of stuff from main/ 2008-08-10 19:35:50 +00:00
features.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
file.c Merged revisions 142740 via svnmerge from 2008-09-12 16:29:01 +00:00
fixedjitterbuf.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
fixedjitterbuf.h Merged revisions 135841,135847,135850 via svnmerge from 2008-08-06 00:30:53 +00:00
frame.c Another batch of files from RSW. The remaining apps and a few more 2008-08-10 20:23:50 +00:00
fskmodem.c (Step 2 of 2) 2008-07-21 21:00:47 +00:00
fskmodem_float.c Optionally build integer-based routines for FSK tone decoding (but default 2008-07-21 20:59:03 +00:00
fskmodem_int.c Optionally build integer-based routines for FSK tone decoding (but default 2008-07-21 20:59:03 +00:00
global_datastores.c Asterisk, when parking can drop rights a caller when a parking timeout occurs. Also, when doing built-in attended transfers, sometimes incorrectly passes rights from the transferrer to the transferee. This patch tries to fixes the parking issue and lays some groundwork for later fixing the transfer issue. 2008-03-01 01:30:37 +00:00
hashtab.c Fix magic Revision keywords in hashtab.c and change cdr_radius.c to use 2008-07-18 17:55:41 +00:00
http.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
image.c Whitespace changes only 2008-03-04 23:04:29 +00:00
indications.c Another batch of files from RSW. The remaining apps and a few more 2008-08-10 20:23:50 +00:00
io.c Merged revisions 94977 via svnmerge from 2007-12-27 20:11:20 +00:00
jitterbuf.c Another big chunk of changes from the RSW branch. Bunch of stuff from main/ 2008-08-10 19:35:50 +00:00
loader.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
logger.c Another batch of files from RSW. The remaining apps and a few more 2008-08-10 20:23:50 +00:00
manager.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
md5.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
netsock.c Make OpenBSD compile again 2008-06-19 20:25:37 +00:00
pbx.c Merged revisions 142675 via svnmerge from 2008-09-12 04:50:48 +00:00
plc.c Start untangling header inclusion in a way that does not affect 2007-11-16 20:04:58 +00:00
poll.c Merged revisions 140816 via svnmerge from 2008-09-03 13:26:43 +00:00
privacy.c remove a bunch of useless #include "options.h" 2007-11-21 23:09:02 +00:00
rtp.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
say.c That's all, folks. Not going to update the Makefile until res_jabber is 2008-08-10 20:57:25 +00:00
sched.c Merged revisions 142354 via svnmerge from 2008-09-10 16:41:55 +00:00
sha1.c more header removal/normalization 2007-11-21 00:23:49 +00:00
slinfactory.c - revert change to ast_queue_hangup and create ast_queue_hangup_with_cause 2008-05-22 16:29:54 +00:00
srv.c Fix a bug in SRV lookups where dnsmgr would discard everything but the 2008-07-08 21:00:01 +00:00
strcompat.c Whitespace changes only 2008-03-04 23:04:29 +00:00
taskprocessor.c Merged revisions 140488 via svnmerge from 2008-08-29 17:47:17 +00:00
tcptls.c Fix a crash in tcp and tls connections related to reference counts. 2008-06-18 20:07:56 +00:00
tdd.c Another big chunk of changes from the RSW branch. Bunch of stuff from main/ 2008-08-10 19:35:50 +00:00
term.c Optional light colored background, for those who use black on white terminals. 2008-08-25 23:13:32 +00:00
threadstorage.c Janitor patch to change uses of sizeof to ARRAY_LEN 2008-07-11 18:09:35 +00:00
timing.c - add get_max_rate timing API call 2008-06-26 15:37:01 +00:00
translate.c Merged revisions 135915 via svnmerge from 2008-08-06 03:29:42 +00:00
udptl.c Create a new config file status, CONFIG_STATUS_FILEINVALID for differentiating 2008-09-12 23:30:03 +00:00
ulaw.c another bunch of include removals (errno.h and asterisk/logger.h) 2007-11-19 19:09:03 +00:00
utils.c Merged revisions 132872 via svnmerge from 2008-07-23 16:30:18 +00:00