Russell Bryant 
							
						 
					 
					
						
						
							
						
						a297f2d04e 
					 
					
						
						
							
							formatting tweaks and constification  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@249058  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2010-02-26 08:45:11 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						0264eef115 
					 
					
						
						
							
							Merge the new Channel Event Logging (CEL) subsystem.  
						
						... 
						
						
						
						CEL is the new system for logging channel events.  This was inspired after
facing many problems trying to represent what is possible to happen to a call
in Asterisk using CDR records.  For more information on CEL, see the built in
HTML or PDF documentation generated from the files in doc/tex/.
Many thanks to Steve Murphy (murf) and Brian Degenhardt (bmd) for their hard
work developing this code.  Also, thanks to Matt Nicholson (mnicholson) and
Sean Bright (seanbright) for their assistance in the final push to get this
code ready for Asterisk trunk.
Review: https://reviewboard.asterisk.org/r/239/ 
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@203638  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2009-06-26 15:28:53 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						eccfeaf9b4 
					 
					
						
						
							
							Fix possibility of crashiness during reload in custom fields handling.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@202262  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2009-06-21 16:11:48 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						32fdcc00b2 
					 
					
						
						
							
							Standardize return values of load_config() so reload() doesn't report an error on success.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@202258  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2009-06-21 16:00:23 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						f57752d380 
					 
					
						
						
							
							Leave a note about some unsafe code in cdr_manager  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@202223  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2009-06-20 20:56:13 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						82fb56886e 
					 
					
						
						
							
							More 'static' qualifiers on module global variables.  
						
						... 
						
						
						
						The 'pglobal' tool is quite handy indeed :-)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@200620  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2009-06-15 17:34:30 +00:00 
						 
				 
			
				
					
						
							
							
								Sean Bright 
							
						 
					 
					
						
						
							
						
						b543887664 
					 
					
						
						
							
							Use a properly allocated channel for substitution in cdr_manager.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@196622  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2009-05-26 12:14:14 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						c8223fc957 
					 
					
						
						
							
							Merge ast_str_opaque branch (discontinue usage of ast_str internals)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163991  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-12-13 08:36:35 +00:00 
						 
				 
			
				
					
						
							
							
								Terry Wilson 
							
						 
					 
					
						
						
							
						
						4f8242904a 
					 
					
						
						
							
							Begin on a crusade to end trailing whitespace!  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@158072  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-11-20 17:48:58 +00:00 
						 
				 
			
				
					
						
							
							
								Terry Wilson 
							
						 
					 
					
						
						
							
						
						d66a8cd264 
					 
					
						
						
							
							Fix checking for CONFIG_STATUS_FILEINVALID so that modules don't crash upon trying to parse an invalid config  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@157818  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-11-19 19:25:14 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						ce2f670228 
					 
					
						
						
							
							Change cdr_manager to use a "CDR" level, rather than the (overcrowded) "call" level.  
						
						... 
						
						
						
						(Closes issue #11015 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@91173  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-12-05 16:46:47 +00:00 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						9335ace850 
					 
					
						
						
							
							another bunch of include removals (errno.h and asterisk/logger.h)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89425  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-19 19:09:03 +00:00 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						fdb7f7ba3d 
					 
					
						
						
							
							Start untangling header inclusion in a way that does not affect  
						
						... 
						
						
						
						build times - tested, there is no measureable difference before and
after this commit.
In this change:
use asterisk/compat.h to include a small set of system headers:
inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h,
stdlib.h, alloca.h, stdio.h
Where available, the inclusion is conditional on HAVE_FOO_H as determined
by autoconf.
Normally, source files should not include any of the above system headers,
and instead use either "asterisk.h" or "asterisk/compat.h" which does it
better. 
For the time being I have left alone second-level directories
(main/db1-ast, etc.).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89333  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-16 20:04:58 +00:00 
						 
				 
			
				
					
						
							
							
								Steve Murphy 
							
						 
					 
					
						
						
							
						
						98429d37b2 
					 
					
						
						
							
							Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89186  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-12 18:44:36 +00:00 
						 
				 
			
				
					
						
							
							
								Steve Murphy 
							
						 
					 
					
						
						
							
						
						63f2f04cf4 
					 
					
						
						
							
							This commits the performance mods that give the priority processing engine in the pbx, a 25-30% speed boost. The two updates used, are, first, to merge the ast_exists_extension() and the ast_spawn_extension() where they are called sequentially in a loop in the code, into a slightly upgraded version of ast_spawn_extension(), with a few extra args; and, second, I modified the substitute_variables_helper_full, so it zeroes out the byte after the evaluated string instead of demanding you pre-zero the buffer; I also went thru the code and removed the code that zeroed this buffer before every call to the substitute_variables_helper_full. The first fix provides about a 9% speedup, and the second the rest. These figures come from the 'PIPS' benchmark I describe in blogs, conf. reports, etc.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88166  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-01 22:26:51 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						9691f51d73 
					 
					
						
						
							
							Set enablecdr at the end of re-reading the config file (Closes issue  #10852 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@84130  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-09-29 18:21:36 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						2fc1f89c30 
					 
					
						
						
							
							Fix cdr_manager, such that if the config file is created past load, it'll  
						
						... 
						
						
						
						start logging (and conversely, if the config file is destroyed or deactivated,
the logging is disabled).  Reported by Juggie via IRC, fix by me.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83466  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-09-21 17:36:17 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						56b9568164 
					 
					
						
						
							
							Don't reload a configuration file if nothing has changed.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79747  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-08-16 21:09:46 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						81bc1d7af5 
					 
					
						
						
							
							Merge in ast_strftime branch, which changes timestamps to be accurate to the microsecond, instead of only to the second  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75706  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-07-18 19:47:20 +00:00 
						 
				 
			
				
					
						
							
							
								Steve Murphy 
							
						 
					 
					
						
						
							
						
						9c2197dc9e 
					 
					
						
						
							
							This enhancement provided via bug 9993, a patch to upgrade cdr_manager to have cdr_custom capabilities. Many thanks to eserra for this contribution  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70122  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-06-19 20:38:21 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						5fdba27ea2 
					 
					
						
						
							
							Merged revisions 69392 via svnmerge from  
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r69392 | kpfleming | 2007-06-14 16:50:40 -0500 (Thu, 14 Jun 2007) | 2 lines
use ast_localtime() in every place localtime_r() was being used
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69405  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
					
						2007-06-14 22:09:20 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Parker 
							
						 
					 
					
						
						
							
						
						fe4208e4ee 
					 
					
						
						
							
							Merged revisions 50346 via svnmerge from  
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r50346 | qwell | 2007-01-10 10:45:36 -0600 (Wed, 10 Jan 2007) | 4 lines
Reverse some logic in cdr_manager, which made it fail to load if the config file existed.
Issue 8777
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@50347  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
					
						2007-01-10 16:47:23 +00:00 
						 
				 
			
				
					
						
							
							
								Matt O'Gorman 
							
						 
					 
					
						
						
							
						
						05a695af72 
					 
					
						
						
							
							everything that loads a config that needs a config file to run  
						
						... 
						
						
						
						now reports AST_MODULE_LOAD_DECLINE when loading if config file
is not there, also fixed an error in res_config_pgsql where it 
had a non static function when it should.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41633  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-31 21:00:20 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						0a27d8bfe5 
					 
					
						
						
							
							merge new_loader_completion branch, including (at least):  
						
						... 
						
						
						
						- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-21 02:11:39 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						472c1ca282 
					 
					
						
						
							
							simplify autoconfig include mechanism (make tholo happy he can use lint again :-)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-06-07 18:54:56 +00:00 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						e43bc6634d 
					 
					
						
						
							
							This rather large commit changes the way modules are loaded.  
						
						... 
						
						
						
						As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.
Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968 
so we collect all the feedback in one place.
I am just sorry that this change missed SVN version number 20000!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-04-14 14:08:19 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						f10f427d49 
					 
					
						
						
							
							since the module API is changing, it's a good time to const-ify the description() and key() return values  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-04-08 22:01:19 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						c6f691fbcc 
					 
					
						
						
							
							Merged revisions 11503 via svnmerge from  
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r11503 | tilghman | 2006-03-01 11:41:52 -0600 (Wed, 01 Mar 2006) | 2 lines
Bug 6615 - Fix 64bit conversion errors by using a long int
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11504  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
					
						2006-03-01 17:53:05 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						2c65582b66 
					 
					
						
						
							
							remove extraneous svn:executable properties  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-29 18:24:39 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						31a804b97c 
					 
					
						
						
							
							issue  #5605  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-06 15:09:47 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						6324072247 
					 
					
						
						
							
							more doxygenification (issue  #5513 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-10-26 13:03:17 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						b8f23573fa 
					 
					
						
						
							
							more license/copyright header updates (thanks Ian!)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6618  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-09-15 15:44:26 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						2b8338cb52 
					 
					
						
						
							
							more file version tags  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-06-06 22:12:19 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						005e436b57 
					 
					
						
						
							
							another round of version tag updates, along with 'show version files' pattern filtering  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5865  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-06-06 21:09:59 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						4f299de252 
					 
					
						
						
							
							major Makefile and build process improvements, including removal of all hardcoded paths (modules must now use run-time paths as they should) (bug  #4116 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5855  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-06-06 03:04:58 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						23472dd2c0 
					 
					
						
						
							
							support configurable batch posting of CDRs (off by default) (bug  #3883 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5823  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-06-03 01:42:31 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						1f9ab2380a 
					 
					
						
						
							
							use double-quotes instead of angle-brackets for non-system include files (bug  #4058 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-04-21 06:02:45 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						5f726ad8c7 
					 
					
						
						
							
							Merge config updates (bug  #3406 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4889  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-01-25 06:10:20 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						d189993f15 
					 
					
						
						
							
							Add Manager CDR (off by default) (bug  #2127 ) courtesy cybershield  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3509  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-07-25 14:56:34 +00:00