9d3a417eb5 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 163253 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r163253 | russell | 2008-12-11 15:46:29 -0600 (Thu, 11 Dec 2008) | 8 lines
Fix some observed slowdowns in dialplan processing.
The change is to remove autoservice usage from dialplan functions that do not
need it because they do not perform operations that potentially block.
(closes issue #13940 )
Reported by: tbelder
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@163254  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								9a7c28cd5a 
								
							
								 
							
						 
						
							
							
								
								we can now build with -Wformat=2, which found a couple of real bugs  
							
							... 
							
							
 
							
							because SPRINTF() use non-literal format strings (which cannot be checked), move it into its own module so the rest of func_strings can benefit from format string checking
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@159774  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								0d25ddd366 
								
							
								 
							
						 
						
							
							
								
								Add LISTFILTER dialplan function, along with supporting documentation.  See  
							
							... 
							
							
 
							
							documentation for more information on how to use it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@154915  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								6f314f4d42 
								
							
								 
							
						 
						
							
							
								
								Fix various spelling and grammatical issues in documentation  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153468  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								5b168ee34b 
								
							
								 
							
						 
						
							
							
								
								Merge changes from team/group/appdocsxml  
							
							... 
							
							
 
							
							This commit introduces the first phase of an effort to manage documentation of the
interfaces in Asterisk in an XML format.  Currently, a new format is available for
applications and dialplan functions.  A good number of conversions to the new format
are also included.
For more information, see the following message to asterisk-dev:
http://lists.digium.com/pipermail/asterisk-dev/2008-October/034968.html 
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153365  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								eaf647bac2 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 152059 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r152059 | seanbright | 2008-10-26 16:23:36 -0400 (Sun, 26 Oct 2008) | 7 lines
Since passing \0 as the second argument to strchr is valid (and will
match the trailing \0 of a string) we need to check that first, otherwise
we end up with incorrect results.  Fix suggested by reporter.
(closes issue #13787 )
Reported by: meitinger
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@152060  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								529874de7b 
								
							
								 
							
						 
						
							
							
								
								Add schedule extensions to app_meetme.  In addition, the reporter found a  
							
							... 
							
							
 
							
							problem within strptime(3), which we are correcting here with ast_strptime().
(closes issue #11040 )
 Reported by: DEA
 Patches: 
       20080910__bug11040.diff.txt uploaded by Corydon76 (license 14)
 Tested by: DEA
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@145649  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								6c619b97c9 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 138023 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r138023 | tilghman | 2008-08-15 09:51:12 -0500 (Fri, 15 Aug 2008) | 8 lines
Additional check for more string specifiers than arguments.
(closes issue #13299 )
 Reported by: adomjan
 Patches: 
       20080813__bug13299.diff.txt uploaded by Corydon76 (license 14)
       func_strings.c-sprintf.patch uploaded by adomjan (license 487)
 Tested by: adomjan
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@138024  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								16f8480882 
								
							
								 
							
						 
						
							
							
								
								Continue merging in changes from resolve-shadow-warnings.  funcs/ this time.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@136302  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							17 years ago  
				
					
						
							
							
								 
						
							
							
								91d1db8456 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 113117 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r113117 | tilghman | 2008-04-07 12:51:49 -0500 (Mon, 07 Apr 2008) | 3 lines
Force ast_mktime() to check for DST, since strptime(3) does not.
(Closes issue #12374 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@113172  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								8718878490 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 106552 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r106552 | tilghman | 2008-03-07 00:36:33 -0600 (Fri, 07 Mar 2008) | 6 lines
Safely use the strncat() function.
(closes issue #11958 )
 Reported by: norman
 Patches: 
       20080209__bug11958.diff.txt uploaded by Corydon76 (license 14)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@106553  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								d4d73b50a1 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 102214 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r102214 | tilghman | 2008-02-03 23:10:02 -0600 (Sun, 03 Feb 2008) | 6 lines
Missing braces.
(closes issue #11912 )
 Reported by: dimas
 Patches: 
       sprintf.patch uploaded by dimas (license 88)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@102238  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								3570ad103d 
								
							
								 
							
						 
						
							
							
								
								Added a new module, res_phoneprov, which allows auto-provisioning of phones  
							
							... 
							
							
 
							
							based on configuration templates that use Asterisk dialplan function and
variable substitution.  It should be possible to create phone profiles and
templates that work for the majority of phones provisioned over http. It
is currently only intended to provision a single user account per phone.
An example profile and set of templates for Polycom phones is provided.
NOTE: Polycom firmware is not included, but should be placed in
AST_DATA_DIR/phoneprov/configs to match up with the included templates.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@97634  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								5107c5474c 
								
							
								 
							
						 
						
							
							
								
								Change instances of AST_NONSTANDARD_APP_ARGS(foo, bar, ',') to AST_STANDARD_APP_ARGS(foo, bar)  
							
							... 
							
							
 
							
							(closes issue #11668 , reported and patched by mvanbaak)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@95994  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								7e8835e0d7 
								
							
								 
							
						 
						
							
							
								
								remove another set of redundant #include "asterisk/options.h"  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89512  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								5490960453 
								
							
								 
							
						 
						
							
							
								
								remove a bunch of duplicate includes  
							
							... 
							
							
 
							
							Reproduce with
grep -r #include . | grep -v .svn | grep -v Binary | sort | uniq -c | sort -nr 
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89348  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								edc78d6023 
								
							
								 
							
						 
						
							
							
								
								improve linked-list macros in two ways:  
							
							... 
							
							
 
							
							- the *_CURRENT macros no longer need the list head pointer argument
  - add AST_LIST_MOVE_CURRENT to encapsulate the remove/add operation when moving entries between lists
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89106  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								64a0a9aa2c 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 87262 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r87262 | tilghman | 2007-10-28 08:46:55 -0500 (Sun, 28 Oct 2007) | 7 lines
Add autoservice to several more functions which might delay in their responses.
Also, make sure that func_odbc functions have a channel on which to set
variables.
Reported by russell
Fixed by tilghman
Closes issue #11099 
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87263  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								446a6cdc94 
								
							
								 
							
						 
						
							
							
								
								Use the same delimited character as the FILTER function in FIELDQTY and CUT.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87103  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								1acdae4f12 
								
							
								 
							
						 
						
							
							
								
								Document my changes from Friday  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85633  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								3d8d4b25ee 
								
							
								 
							
						 
						
							
							
								
								Enable ranges, hexadecimal, octal, and special backslashed characters for the FILTER function  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85522  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								82cf384e03 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 82285 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r82285 | tilghman | 2007-09-12 15:12:06 -0500 (Wed, 12 Sep 2007) | 4 lines
Working on issue #10531  exposed a rather nasty 64-bit issue on ast_mktime, so we
updated the localtime.c file from source.  Next we'll have to write ast_strptime
to match.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82290  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								55b1ee298e 
								
							
								 
							
						 
						
							
							
								
								Merge the dialplan_aesthetics branch.  Most of this patch simply converts applications  
							
							... 
							
							
 
							
							using old methods of parsing arguments to using the standard macros.  However, the big
change is that the really old way of specifying application and arguments separated by
a comma will no longer work (e.g. NoOp,foo|bar).  Instead, the way that has been
recommended since long before 1.0 will become the only method available (e.g. NoOp(foo,bar).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76703  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								055d82cbce 
								
							
								 
							
						 
						
							
							
								
								Add a massive set of changes for converting to use the ast_debug() macro.  
							
							... 
							
							
 
							
							(issue #9957 , patches from mvanbaak, caio1982, critch, and dimas)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@69327  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								9d05ff8ed5 
								
							
								 
							
						 
						
							
							
								
								Issue 9869 - replace malloc and memset with ast_calloc, and other coding guidelines changes  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67864  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								2baca1b2c5 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 66538 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
................
r66538 | tilghman | 2007-05-29 16:56:07 -0500 (Tue, 29 May 2007) | 10 lines
Merged revisions 66537 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r66537 | tilghman | 2007-05-29 16:49:35 -0500 (Tue, 29 May 2007) | 2 lines
If the value of a variable passed to FIELDQTY is blank, then FIELDQTY should return 0, not 1.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66540  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								03aa8f7b8f 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 59049 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r59049 | tilghman | 2007-03-19 17:29:56 -0500 (Mon, 19 Mar 2007) | 2 lines
Oops, this should have been a %d all along
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@59050  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								4e8f978287 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 58880 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r58880 | tilghman | 2007-03-13 20:47:08 -0500 (Tue, 13 Mar 2007) | 3 lines
Issue 9162 - pbx_substitute_variables_helper assumes the buffer is initialized
to all zeroes.  This fixes a case where it wasn't.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58881  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								e66a64fa71 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 53093 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r53093 | russell | 2007-02-01 15:24:52 -0600 (Thu, 01 Feb 2007) | 2 lines
Fix the FIELDQTY function to not crash. (reported by blitzrage and Corydon on IRC)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53094  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								0e209d5e1c 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 53075 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
................
r53075 | tilghman | 2007-02-01 14:09:52 -0600 (Thu, 01 Feb 2007) | 10 lines
Merged revisions 53074 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r53074 | tilghman | 2007-02-01 14:07:35 -0600 (Thu, 01 Feb 2007) | 2 lines
Bug 8965 - Allow FIELDQTY to work with both variables and dialplan functions
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53076  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								e5304e54cc 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 53070 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
................
r53070 | tilghman | 2007-02-01 13:21:20 -0600 (Thu, 01 Feb 2007) | 10 lines
Merged revisions 53069 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r53069 | tilghman | 2007-02-01 13:13:53 -0600 (Thu, 01 Feb 2007) | 2 lines
No wonder FIELDQTY doesn't work with functions... the documentation in pbx.c was wrong
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53071  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								0ddb38ddee 
								
							
								 
							
						 
						
							
							
								
								Doxygen update  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51920  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								5d25265403 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 51265 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r51265 | qwell | 2007-01-18 16:50:23 -0600 (Thu, 18 Jan 2007) | 4 lines
Add some more checks for option_debug before ast_log(LOG_DEBUG, ...) calls.
Issue 8832, patch(es) by tgrman
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@51266  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								785483f304 
								
							
								 
							
						 
						
							
							
								
								Modifications to allow the output of SHELL() to be split per line (Issue 8676)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49786  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								37182c873e 
								
							
								 
							
						 
						
							
							
								
								finish const-ifying ast_func_read()  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49741  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								1e1fd3c3e0 
								
							
								 
							
						 
						
							
							
								
								Integrate functionality tested on svncommunity users back into trunk  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49030  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								496d3e72f2 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 48382 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r48382 | tilghman | 2006-12-10 23:37:09 -0600 (Sun, 10 Dec 2006) | 2 lines
STRFTIME() does not actually require an argument (issue 8540)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48384  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								ae8cc3e18b 
								
							
								 
							
						 
						
							
							
								
								bug  #8076  check option_debug before printing to debug channel.  
							
							... 
							
							
 
							
							patch provided in bugnote, with minor changes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44253  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								4c937339e5 
								
							
								 
							
						 
						
							
							
								
								As per discussion on bug 7862, the problem wasn't the fact that the documentation differed from behavior, but rather that users are used to REGEX having that space after the double quote in 1.2.x. So, in keeping with history, I investigated a little deeper, and discovered that the change in behavior was due to the modification of the function to use the AST_DECLARE_APP_ARGS and AST_NONSTANDARD_APP_ARGS() to parse the args. The code to skip the blank was left out. So, what I did was add code to throw out the first blank (space or tab) after the double quote, IF IT IS THERE. If not, nothing is done.Verbage is added to the function description saying that the space is optional, and skipped if it is there. If a space is desired, then the documentation advises putting two spaces there. This should make it compatible for 1.2 users, and not mess up new users who are used to using it with no space. It WILL mess up new users who WANT a space. Hopefully, they will double check the doc strings for this func and add the extra space. Hopefully, this class of new user is very small.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42423  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								a7b5ef30e7 
								
							
								 
							
						 
						
							
							
								
								With respect to bug 7862, the syntax and description are misleading to users. the syntax included a space after the double quotes between the regex and the data to match. I removed this from the function doc, and added some verbage to make this crystal clear, I hope.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42224  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								badabb5bb9 
								
							
								 
							
						 
						
							
							
								
								oops.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41545  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								42fc890acc 
								
							
								 
							
						 
						
							
							
								
								The behavior of REGEX when it did not match was not defined by the docs, so  
							
							... 
							
							
 
							
							define it to provide a result of "0" and change the code appropriately.
(issue #7805 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41544  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								e3482f7f38 
								
							
								 
							
						 
						
							
							
								
								Don't attempt to run a regcomp if we haven't even parsed arguments correctly  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36777  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								2465fd611c 
								
							
								 
							
						 
						
							
							
								
								Revert the previous change to FILTER and fix the embedded documentation instead.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36543  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								df2223416d 
								
							
								 
							
						 
						
							
							
								
								fix the parsing of options in the FILTER function to match the documentation.  
							
							... 
							
							
 
							
							(issue #7465 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@36504  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								e08dc08ae2 
								
							
								 
							
						 
						
							
							
								
								Add SPRINTF dialplan function made by the ever insaneful Corydon (issue  #7078  reported by Corydon76)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28016  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								5f446b24ea 
								
							
								 
							
						 
						
							
							
								
								minor fixes to commit 10934 from bug#6257  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10959  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								a4734960e7 
								
							
								 
							
						 
						
							
							
								
								added function QUOTE into strings, which allows  
							
							... 
							
							
 
							
							for quoted strings, and escapes them properly.
slightly modified patch from bug #6257 
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10934  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								302c943001 
								
							
								 
							
						 
						
							
							
								
								add 'consumed' argument to ast_get_time_t, so callers can know how many characters were used in the parser  
							
							... 
							
							
 
							
							update pbx_dundi to use ast_get_time_t
eliminate some compiler warnings
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10871  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								c5ff2c4f42 
								
							
								 
							
						 
						
							
							
								
								add KEYPADHASH dialplan function (issue  #6441 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10113  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								4662d58b01 
								
							
								 
							
						 
						
							
							
								
								add API function for parsing strings to time_t (issue  #6320 , with mods)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10105  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								96bf384e7d 
								
							
								 
							
						 
						
							
							
								
								major dialplan functions update  
							
							... 
							
							
 
							
							deprecate LANGUAGE() and MUSICCLASS(), in favor of CHANNEL()
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9674  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								a38a7eec61 
								
							
								 
							
						 
						
							
							
								
								build function modules independently (no more pbx_functions.so)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9469  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								7d897634dc 
								
							
								 
							
						 
						
							
							
								
								Bug 6262 - New function STRPTIME  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8428  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								4414f45393 
								
							
								 
							
						 
						
							
							
								
								on this pass, only remove duplicate log messages  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8403  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								9fa6eb5e07 
								
							
								 
							
						 
						
							
							
								
								revert my pass through the tree to remove checks of the result of ast_strdupa  
							
							... 
							
							
 
							
							(revisions 8378 through 8381)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8387  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								2499926195 
								
							
								 
							
						 
						
							
							
								
								remove useless checks of the result of ast_strdupa  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8380  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								109b5baa8d 
								
							
								 
							
						 
						
							
							
								
								Argh, another ERROR that should have been DEBUG  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8104  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								7f28989616 
								
							
								 
							
						 
						
							
							
								
								Change a debugging message committed with the wrong level  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8103  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								fa07ae94ec 
								
							
								 
							
						 
						
							
							
								
								More code optimization with the new argument macros  #6253  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8099  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								2dec3747df 
								
							
								 
							
						 
						
							
							
								
								Clarify description of ARRAY function  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8080  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								9702fac4f8 
								
							
								 
							
						 
						
							
							
								
								Bug 6238 - Janitor - update to app_args macros  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8076  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								3578c5b19d 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 8074 via svnmerge from  
							
							... 
							
							
 
							
							/branches/1.2
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8075  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								a725468381 
								
							
								 
							
						 
						
							
							
								
								update doxygen docs to specify authors  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7682  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								340f5b67de 
								
							
								 
							
						 
						
							
							
								
								Bug 5906 - ARRAY dialplan function  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7648  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								5323442db4 
								
							
								 
							
						 
						
							
							
								
								Bug 5327 - new function FILTER and optional argument to CALLERID  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7614  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								2c65582b66 
								
							
								 
							
						 
						
							
							
								
								remove extraneous svn:executable properties  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								987b87662c 
								
							
								 
							
						 
						
							
							
								
								make app_queue 1.2 jump compliant (issue  #5580 )  
							
							... 
							
							
 
							
							add missing includes of stdio.h
remove some unused and duplicate headers
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7026  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								a0a9769616 
								
							
								 
							
						 
						
							
							
								
								issue  #5648  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								3453e3efa5 
								
							
								 
							
						 
						
							
							
								
								Doxygen documentation update from oej (issue  #5505 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6847  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								a863d2b280 
								
							
								 
							
						 
						
							
							
								
								clean up function to be more consistent with coding guidelines  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6808  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								9a85d06a64 
								
							
								 
							
						 
						
							
							
								
								initialize variable  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6786  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								33377538b0 
								
							
								 
							
						 
						
							
							
								
								provide the correct string to evaluate with the given regex, instead of the  
							
							... 
							
							
 
							
							entire string provided as input to the REGEX function..  Also, use the
provided buffer to store the result.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6744  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								d612e3bc27 
								
							
								 
							
						 
						
							
							
								
								ensure result buffer is initialized (issue  #5285 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6652  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								5da915dcfd 
								
							
								 
							
						 
						
							
							
								
								update MANY more files with proper copyright/license info (thanks Ian!)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								22b0f5d306 
								
							
								 
							
						 
						
							
							
								
								add a library of timeval manipulation functions, and change a large number of usses to use the new functions (bug  #4504 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6146  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								2b8338cb52 
								
							
								 
							
						 
						
							
							
								
								more file version tags  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								2638192439 
								
							
								 
							
						 
						
							
							
								
								add EVAL function, deprecate Eval application (bug  #4277 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5689  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								7cd4ac0ee1 
								
							
								 
							
						 
						
							
							
								
								clean up file headers  
							
							... 
							
							
 
							
							restore appropriate copyrights for functions that came from files with copyrights listed
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5587  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								f01e832eef 
								
							
								 
							
						 
						
							
							
								
								add STRFTIME dialplan function (bug  #4098 , modified to use new funcs subdirectory)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5584  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								4d2537ae11 
								
							
								 
							
						 
						
							
							
								
								major re-work of dialplan functions, including:  
							
							... 
							
							
 
							
							- locking of functions list during registration/unregistration/searching
 - rename of function description structure to be consistent with the rest of the API
 - addition of 'desc' element to description structure, for detailed description (like applications)
 - addition of 'show function' CLI command to show function details
 - conversion of existing functions to use uppercase names to match policy
 - creation of new 'pbx_functions.so' module to contain standard 'builtin' functions
 - removal of all builtin functions from pbx.c and apps and placement into new 'funcs' directory
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5583  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago