38bb9400de 
								
							
								 
							
						 
						
							
							
								
								Improve ast_agi_fdprintf() by using the ast_str() API.  
							
							... 
							
							
 
							
							* Use a thread local ast_str for building the string that will be written out
   to the console for debug, and to the FD for the AGI itself, instead of allocating
   a buffer on the heap every time the function is called.
 * Use the information contained within the ast_str to determine how many bytes
   need to be written instead of calling strlen().
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77791  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								935982d15b 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 77788 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r77788 | russell | 2007-07-30 14:13:31 -0500 (Mon, 30 Jul 2007) | 10 lines
(closes issue #10279 )
Reported by: seanbright
Patches:
      res_agi.carefulwrite.1.4.07252007.patch uploaded by seanbright (license 71)
      res_agi.carefulwrite.trunk.07252007.patch uploaded by seanbright (license 71)
Allow the "agi_network: yes" line to be printed out in the AGI debug output.
Also, allow partial writes to be handled when writing out this line just like
it is for all of the others.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77789  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								059a7aa862 
								
							
								 
							
						 
						
							
							
								
								Cleanup of res_agi, ensuring thread safety (closes issue  #10288 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77787  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								67bd05d9d1 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 77783 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
................
r77783 | tilghman | 2007-07-30 13:43:55 -0500 (Mon, 30 Jul 2007) | 10 lines
Merged revisions 77782 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r77782 | tilghman | 2007-07-30 13:40:54 -0500 (Mon, 30 Jul 2007) | 2 lines
Revert change in revision 71656, even though it fixed a bug, because many people were depending upon the (broken) behavior.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77784  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								f8483a0d04 
								
							
								 
							
						 
						
							
							
								
								Do a massive conversion for using the ast_verb() macro  
							
							... 
							
							
 
							
							(closes issue #10277 , patches by mvanbaak)
Basically, this changes ...
if (option_verbose > 2)
   ast_verbose(VERBOSE_PREFIX_3, "Something\n");
to ...
ast_verb(3, "Something\n");
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77299  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								3e9886598d 
								
							
								 
							
						 
						
							
							
								
								You need to put static in front of a static RWLIST declaration to make it really static... and don't call AST_RWLIST_HEAD_DESTROY on a statically declared list.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76711  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								db9d7764e0 
								
							
								 
							
						 
						
							
							
								
								Enhance AGI with several fixes:  
							
							... 
							
							
 
							
							- Makes the structures handling external AGI commands a bit more thread-safe
 - Makes AGI transparently work with both live and hungup channels
 - DeadAGI is hence no longer necessary and is deprecated
 - CLI bug fixes
 - Commands will refuse to run if the channel is dead and the command is nonsensical
   for dead channels.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76707  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								a1fdc1c769 
								
							
								 
							
						 
						
							
							
								
								Missed one conversion to comma delimiter (thanks, Juggie) and add documentation on the  
							
							... 
							
							
 
							
							change to the Local channel name.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@76704  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								a971b4bfc4 
								
							
								 
							
						 
						
							
							
								
								(closes issue  #10210 , reported and patched by juggie)  
							
							... 
							
							
 
							
							This merges the trunk only part of the patches from this issue.  In 1.4, res_agi
will issue a warning if you try to use DeadAGI on a channel that is not hung up.
Now, in trunk, it just plain won't let you do it.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75930  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								7743bed9f6 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 75401 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r75401 | russell | 2007-07-17 14:45:07 -0500 (Tue, 17 Jul 2007) | 3 lines
Remove a duplicated newline character in AGI debug output.
(closes issue #10207 , patch by seanbright)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75402  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								96a646734f 
								
							
								 
							
						 
						
							
							
								
								It is no longer required for each module that deals with a channel to call ast_module_user_hangup_all in it's unload function. The loader will automatically perform this action for it.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75183  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								48f166e87b 
								
							
								 
							
						 
						
							
							
								
								Code cleanup of res_agi  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74713  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								d2a85e5f64 
								
							
								 
							
						 
						
							
							
								
								After some discussion on the asterisk-dev list, we determined that this approach  
							
							... 
							
							
 
							
							for extracting application, function, manager, and agi documentation is the wrong
one to take.  The most severe problem is that the output depends on which modules
are loaded as well as compile time options, which both determine which parts are
available.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72986  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								8d99a2004b 
								
							
								 
							
						 
						
							
							
								
								Fix up the AGI doc dump CLI command and update the AGI commands tex file to not  
							
							... 
							
							
 
							
							include a bunch of empty entries.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72939  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								93229b0fed 
								
							
								 
							
						 
						
							
							
								
								Add a CLI command to export the AGI command docs  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72931  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								625dbb6f89 
								
							
								 
							
						 
						
							
							
								
								Add a note that the AGI commands array is not handled in a thread-safe way  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72930  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								82e2033519 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 71657 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
................
r71657 | tilghman | 2007-06-25 13:14:59 -0500 (Mon, 25 Jun 2007) | 10 lines
Merged revisions 71656 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r71656 | tilghman | 2007-06-25 13:12:37 -0500 (Mon, 25 Jun 2007) | 2 lines
Issue 10035 - handle_exec returns a result inconsistent with all of the other AGI commands
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71658  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								9b23b9b3b2 
								
							
								 
							
						 
						
							
							
								
								Minor header inclusion tweak for new usage of stat()  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71521  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								c00428b0b0 
								
							
								 
							
						 
						
							
							
								
								Use stat to determine whether the file exists or not. (issue  #10038  reported by Mike Anikienko)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71158  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								68ac7f7633 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 71068 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
................
r71068 | qwell | 2007-06-22 10:00:30 -0500 (Fri, 22 Jun 2007) | 12 lines
Merged revisions 71065 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r71065 | qwell | 2007-06-22 09:52:18 -0500 (Fri, 22 Jun 2007) | 4 lines
Fix a few silly usages of ast_playstream() - it only ever returns 0...
Issue 10035
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71069  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								fd9057423a 
								
							
								 
							
						 
						
							
							
								
								Expand AGISTATUS variable to include NOTFOUND which is set when the AGI file could not be found. (issue  #9285  reported by srdjan)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@70731  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  
				
					
						
							
							
								 
						
							
							
								68492b239c 
								
							
								 
							
						 
						
							
							
								
								Add an option for ControlPlayback to be able to start at an offset from  
							
							... 
							
							
 
							
							the beginning of the file.  Also, add a channel variable that indicates
the location in the file where the Playback was stopped.
(closes issue #7655 , patch from sharkey)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@68502  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  
				
					
						
							
							
								 
						
							
							
								3f463b7668 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 67597 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r67597 | file | 2007-06-06 08:34:06 -0400 (Wed, 06 Jun 2007) | 2 lines
Make the new "agi debug off" CLI command work. (issue #9890  reported by eliel)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@67598  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								cc3c91edc2 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 65250 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r65250 | file | 2007-05-20 13:59:58 -0400 (Sun, 20 May 2007) | 2 lines
res_agi needs to export two symbols (ast_agi_register and ast_agi_unregister) for usage by others. (issue #9755  reported by mnicholson)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65253  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								0664aa2a73 
								
							
								 
							
						 
						
							
							
								
								Add gender support for AGI SAY NUMBER.  
							
							... 
							
							
 
							
							(issue #9537 , patch by chappell)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@63901  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								33915a153a 
								
							
								 
							
						 
						
							
							
								
								Issue  #9068  - make sure we quote HTML characters correctly too (seanbright)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54774  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								71c7f6e32f 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 54772 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
................
r54772 | oej | 2007-02-16 12:39:55 +0100 (Fri, 16 Feb 2007) | 10 lines
Merged revisions 54771 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r54771 | oej | 2007-02-16 12:38:03 +0100 (Fri, 16 Feb 2007) | 2 lines
Issue #9069  - If we open with TH we should not close with /TD. (seanbright)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@54773  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								7b338004bf 
								
							
								 
							
						 
						
							
							
								
								a quick fix to app_sms.c to get rid of cursed compiler warnings so I can compile under --enable-dev-mode  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48767  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								d670858735 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 48375 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
................
r48375 | tilghman | 2006-12-10 18:47:21 -0600 (Sun, 10 Dec 2006) | 13 lines
Merged revisions 48374 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r48374 | tilghman | 2006-12-10 18:33:59 -0600 (Sun, 10 Dec 2006) | 5 lines
When doing a fork() and exec(), two problems existed (Issue 8086):
1) Ignored signals stayed ignored after the exec().
2) Signals could possibly fire between the fork() and exec(), causing Asterisk
signal handlers within the child to execute, which caused nasty race conditions.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48376  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								af870057c1 
								
							
								 
							
						 
						
							
							
								
								Constify a bunch of usage strings for CLI commands.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48305  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								ad2589bc01 
								
							
								 
							
						 
						
							
							
								
								useless cast removal...  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47187  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								79f75ec09a 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 47053 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r47053 | tilghman | 2006-11-02 17:49:13 -0600 (Thu, 02 Nov 2006) | 2 lines
More changes making the CLI more consistent with "category verb arguments" (continuation of issue 8236)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47054  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								10875731ec 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 47051 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r47051 | tilghman | 2006-11-02 17:00:20 -0600 (Thu, 02 Nov 2006) | 2 lines
Reverse change of "show" to "list" and make several other commands more consistent with "category verb arguments"
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47052  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								f012ccd4a3 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 46558 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
................
r46558 | russell | 2006-10-31 01:14:13 -0500 (Tue, 31 Oct 2006) | 11 lines
Merged revisions 46557 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r46557 | russell | 2006-10-31 01:13:09 -0500 (Tue, 31 Oct 2006) | 3 lines
fix some copy/paste bugs in the checking of arguments for the 
"control stream file" AGI command (issue #8255 , mnicholson)
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46559  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								4337a82563 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 46363 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r46363 | russell | 2006-10-27 12:39:31 -0500 (Fri, 27 Oct 2006) | 5 lines
We should always be using _exit() after a fork() or vfork() instead of exit().
This is because exit() does some extra cleanup which in some implementations
of vfork(), for example, can actually modify the state of the parent process,
causing very weird bugs or crashes.  (issue #7971 , Nick Gavrikov)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46364  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								9178e4223e 
								
							
								 
							
						 
						
							
							
								
								Fix FastAGI to not wait for the non-existant pid  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46141  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								c474556659 
								
							
								 
							
						 
						
							
							
								
								As per bug 6779, this patch is now applied to trunk; while I was at it, I corrected a reference to a CLI command, to follow the new regime.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@45426  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  
				
					
						
							
							
								 
						
							
							
								6ae8741518 
								
							
								 
							
						 
						
							
							
								
								Lots more removal of deprecated things  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43452  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								ea399862c4 
								
							
								 
							
						 
						
							
							
								
								move more API into the ast_ namespace  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43310  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								fcb999c01c 
								
							
								 
							
						 
						
							
							
								
								merge qwell's CLI verbification work  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@43212  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								31cc08295c 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 42148 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r42148 | file | 2006-09-06 16:02:59 -0400 (Wed, 06 Sep 2006) | 2 lines
Don't close the second file descriptor if it's the same as the first one, as it will have already been closed elsewhere and could cause massive panic. (issue #7699  reported by bn999)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42149  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								c6977b9983 
								
							
								 
							
						 
						
							
							
								
								Merge in VLDTMF support with Zaptel/Core done by the ever great Darumkilla Russell Bryant and the RTP portion done by myself, Muffinlicious Joshua Colp. This has gone through so many discussions/revisions it's not funny but we finally have it!  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41507  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								ec7bd6614a 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 40901 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r40901 | tilghman | 2006-08-23 11:05:26 -0500 (Wed, 23 Aug 2006) | 2 lines
Revert last change - breaks retrieval of builtin variables
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40904  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  
				
					
						
							
							
								 
						
							
							
								b6a99250ed 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 39935 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r39935 | russell | 2006-08-15 18:49:41 -0400 (Tue, 15 Aug 2006) | 3 lines
use pbx_builtin_getvar_helper() so that GET VARIABLE can retrieve global
variables (issue #7609 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39936  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								92bd7f19f7 
								
							
								 
							
						 
						
							
							
								
								Merge team/russell/ast_verbose_threadstorage  
							
							... 
							
							
 
							
							- instead of defining a free() wrapper in a bunch of files, define it as
  ast_free() in utils.h and remove the copies from all the files.
- centralize and abstract the code used for doing thread storage. The code
  lives in threadstorage.h, with one function being implemented in utils.c.
  This new API includes generic thread storage as well as special functions
  for handling thread local dynamic length string buffers.
- update ast_inet_ntoa() to use the new threadstorage API
- update ast_state2str() to use the new threadstorage API
- update ast_cli() to use the new threadstorage API
- Modify manager_event() to use thread storage. Instead of using a buffer of
  4096 characters as the workspace for building the manager event, use a thread
  local dynamic string.  Now there is no length limitation on the length of the
  body of a manager event.
- Significantly simplify the handling of ast_verbose() ...
  - Instead of using a static char buffer and a lock to make sure only one
    thread can be using ast_verbose() at a time, use a thread local dynamic
    string as the workspace for preparing the verbose message. Instead of
    locking around the entire function, the only locking done now is when the
    message has been built and is being deliviered to the list of registered
    verbose message handlers.
  - This function was doing a strdup() on every message passed to it and
    keeping a queue of the last 200 messages in memory. This has been
    completely removed. The only place this was used was that if there were
    any messages in the verbose queue when a verbose handler was registered,
    all of the messages in the queue would be fed to it.  So, I just made sure
    that the console verbose handler and the network verbose handler (for
    remote asterisk consoles) were registered before any verbose messages.
    pbx_gtkconsole and pbx_kdeconsole will now lose a few verbose messages at
    startup, but I didn't feel the performance hit of this message queue was
    worth saving the initial verbose output for these very rarely used modules.
  - I have removed the last three arguments to the verbose handlers, leaving
    only the string itself because they aren't needed anymore. For example,
    ast_verbose had some logic for telling the verbose handler to add
    a newline if the buffer was completely full. Now that the buffer can grow
    as needed, this doesn't matter anymore.
  - remove unused function, ast_verbose_dmesg() which was to dispatch the
    message queue
  - Convert the list of verbose handlers to use the linked list macros.
- add missing newline characters to a few ast_verbose() calls
- convert the list of log channels to use the linked list macros in logger.c
- fix close_logger() to close all of the files it opened for logging
- update ast_log() to use a thread local dynamic string for its workspace
  for preparing log messages instead of a buffer of size BUFSIZ (8kB on my
  system) allocated on the stack.  The dynamic string in this case is limited
  to only growing to a maximum size of BUFSIZ.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@39272  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								233aab68a6 
								
							
								 
							
						 
						
							
							
								
								add a verbose message to the AGI command, STREAM FILE, similar to the  
							
							... 
							
							
 
							
							verbose messages when using Playback, Background, or the GET DATA command
(issue #7297 , softins)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38021  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								6d0742fc16 
								
							
								 
							
						 
						
							
							
								
								merge Russell's 'hold_handling' branch, finally implementing music-on-hold handling the way it was decided at AstriDevCon Europe 2006 (and the way people really want it to be)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37988  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								5b639e6135 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 37419 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r37419 | kpfleming | 2006-07-12 08:54:10 -0500 (Wed, 12 Jul 2006) | 2 lines
remove some more bad examples of using printf
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37433  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								a483f6eafc 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 33693 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r33693 | russell | 2006-06-12 16:40:11 -0400 (Mon, 12 Jun 2006) | 2 lines
fix a place where a frame would be free'd twice
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33694  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								1d8804c117 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 33615 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r33615 | tilghman | 2006-06-12 10:27:18 -0500 (Mon, 12 Jun 2006) | 4 lines
Move set priority up, because at this point in the code, stdout is no longer
the console.  If we're unable to set priority, the error goes to Asterisk as
if it were an AGI command (issue 7335).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@33616  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  
				
					
						
							
							
								 
						
							
							
								6ff6536f13 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 31194 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r31194 | russell | 2006-05-31 19:50:00 -0400 (Wed, 31 May 2006) | 3 lines
if the connection to a FastAGI server fails because of a timeout, log a more
informative log message
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@31195  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								1c158f0ea4 
								
							
								 
							
						 
						
							
							
								
								Add the video stream for AGI function STREAM FILE (issue  #5392  reported by areski -- minor mods by me)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30547  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								26271fbd3a 
								
							
								 
							
						 
						
							
							
								
								allow setting a channel variable to disable sending SIGHUP to the AGI process  
							
							... 
							
							
 
							
							(issue #6491 , original patch by juggie, channel variable patch by corydon,
 committed patch modified to change variable name and update documentation)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30337  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								238cdb249f 
								
							
								 
							
						 
						
							
							
								
								Add the ability to retrieve the exit code of the forked AGI process.  If there  
							
							... 
							
							
 
							
							is an error executing the AGI script, or the AGI script itself returns a
non-zero value, the AGISTATUS variable will now be set to FAILURE instead of
SUCCESS.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30328  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								0cccaf8408 
								
							
								 
							
						 
						
							
							
								
								- add support for setting an AGISTATUS variable that indicates successful  
							
							... 
							
							
 
							
							execution, failure, or if the channel requested hangup.
- only return -1 from the application if the application requested hangup. If
  there was just a failure in execution of the AGI, just set the status
  variable appropriately and move on in the dialplan.
(issue #7121 , original patch by Alessandro Polverini, updated patch by srt,
 committed patch is heavily modified to allow still returning -1 on hangup)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@30272  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								dd45d18515 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 29973 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r29973 | kpfleming | 2006-05-24 11:59:20 -0500 (Wed, 24 May 2006) | 2 lines
support video recording via AGI 'RECORD FILE' command (issue #7068 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@29988  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								eeb01cda95 
								
							
								 
							
						 
						
							
							
								
								revert bogus change  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28395  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								e274a70d52 
								
							
								 
							
						 
						
							
							
								
								Add missing argument to ast_carefulwrite  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@28393  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								04ecb29d03 
								
							
								 
							
						 
						
							
							
								
								remove almost all of the checks of the result from ast_strdupa() or alloca().  
							
							... 
							
							
 
							
							As it turns out, all of these checks were useless, because alloca will never
return NULL.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@26451  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								4fe3960478 
								
							
								 
							
						 
						
							
							
								
								move ast_carefulwrite from manager.c to utils.c so that cli.c and  
							
							... 
							
							
 
							
							res_agi.c no longer depend on manager.h (issue #6397 , casper)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25026  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								8085f4e14b 
								
							
								 
							
						 
						
							
							
								
								a bunch of conversion to ast_channel_*lock (issue  #7058 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23355  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								7ecc442d77 
								
							
								 
							
						 
						
							
							
								
								more NULL "" equivalence in cid fields.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@21835  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								4657dc770c 
								
							
								 
							
						 
						
							
							
								
								We are shaking up trunk tonight! allow data dir to be specified (issue  #6967  reported by tzafrir)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20330  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  
				
					
						
							
							
								 
						
							
							
								7507309732 
								
							
								 
							
						 
						
							
							
								
								normalize code in preparation to module changes  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@19189  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								699f55071b 
								
							
								 
							
						 
						
							
							
								
								a few cleanups from the last commit  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18572  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  
				
					
						
							
							
								 
						
							
							
								c3249e2cb4 
								
							
								 
							
						 
						
							
							
								
								normalize repeated instances of code as follows:  
							
							... 
							
							
 
							
							-       if (res >= 0)
-               return RESULT_SUCCESS;
-       else
-               return RESULT_FAILURE;
+       return (res >= 0) ? RESULT_SUCCESS : RESULT_FAILURE;
 
(we should probably create a macro for this,
#define	RET(r) ((r) >= 0) ? RESULT_SUCCESS : RESULT_FAILURE)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17899  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								6c232811c0 
								
							
								 
							
						 
						
							
							
								
								as discussed with Mark a few weeks ago, the 'newstack' argument  
							
							... 
							
							
 
							
							in pbx_exec is always 1 so it can be removed.
This change also takes away ast_exec_extension(), and lets all
switch functions (exists, canmatch, exec, matchmore) all use the same
prototype, which makes the code a bit cleaner.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@16558  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								0e611cb4b4 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 11382 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r11382 | russell | 2006-02-28 13:31:04 -0500 (Tue, 28 Feb 2006) | 2 lines
add a missing newline in the agi app description (thanks wunderkin!)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11383  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  
				
					
						
							
							
								 
						
							
							
								a0d438fb6c 
								
							
								 
							
						 
						
							
							
								
								remove the uses of the deprecated STANDARD_LOCAL_USER  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10241  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								e6ca0f1fab 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 10021,10108 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r10108 | kpfleming | 2006-02-14 18:36:57 -0600 (Tue, 14 Feb 2006) | 2 lines
ensure that FastAGI launcher can handle system call interruption (issue #6449 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10109  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  
				
					
						
							
							
								 
						
							
							
								a16ae226b6 
								
							
								 
							
						 
						
							
							
								
								use string fields for some stuff in ast_channel  
							
							... 
							
							
 
							
							const-ify some more APIs
remove 'type' field from ast_channel, in favor of the one in the channel's tech structure
allow string field module users to specify the 'chunk size' for pool allocations
update chan_alsa to be compatible with recent const-ification patches
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9060  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								f246b9fc64 
								
							
								 
							
						 
						
							
							
								
								reports why an agi script errors out on opening  
							
							... 
							
							
 
							
							file
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9059  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								0f2a9df6aa 
								
							
								 
							
						 
						
							
							
								
								Bug 4872 - Make Asterisk paths available to AGIs via environmental variables  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8372  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  
				
					
						
							
							
								 
						
							
							
								0da13c21b4 
								
							
								 
							
						 
						
							
							
								
								- move the string join() function to utils.c since it is used in both cli.c and res_agi.c  
							
							... 
							
							
 
							
							- reimplement ast_join to be of linear effieciency instead of quadratic
- remove some useless checks for "if (e)"
- reorder checks for strings starting with '_' to avoid a useless call to ast_join()
- check array bounds when parsing arguments to AGI
(issue #5868 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7556  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  
				
					
						
							
							
								 
						
							
							
								a0a9769616 
								
							
								 
							
						 
						
							
							
								
								issue  #5648  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7011  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								8925c3834b 
								
							
								 
							
						 
						
							
							
								
								issue  #5589  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6954  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  
				
					
						
							
							
								 
						
							
							
								0c886c21c2 
								
							
								 
							
						 
						
							
							
								
								truncate last 200ms of DTMF-terminated recording to eliminate inband DTMF (issue  #5383 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6717  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  
				
					
						
							
							
								 
						
							
							
								2cde73fddb 
								
							
								 
							
						 
						
							
							
								
								make sure realtime/high scheduling priority is relinquished before executing an AGI script (issue  #4930 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6368  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								d69e96de11 
								
							
								 
							
						 
						
							
							
								
								allow custom dialplan functions to be called from AGI (issue  #4855 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6363  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								3315ea79b9 
								
							
								 
							
						 
						
							
							
								
								add CONTROL STREAM FILE AGI command (issue  #4738 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6360  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								4e153882d7 
								
							
								 
							
						 
						
							
							
								
								Fix usage text for AGI recieve text (bug  #4948 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6334  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								4f0d1b8428 
								
							
								 
							
						 
						
							
							
								
								Fix sighup with AGI (bug  #4854 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6264  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 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  
				
					
						
							
							
								 
						
							
							
								9d8d86e19d 
								
							
								 
							
						 
						
							
							
								
								phase two of string portability stuff:  
							
							... 
							
							
 
							
							don't need ast_ prefixes on functions
  use individual #defines for function presence
  add vasprintf to portability library
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6143  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								8079f53c01 
								
							
								 
							
						 
						
							
							
								
								don't hangup the channel when a RECEIVE TEXT command times out (bug  #4607 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6082  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								c18fd5cd8c 
								
							
								 
							
						 
						
							
							
								
								more ast_copy_string conversions  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6075  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								767f019264 
								
							
								 
							
						 
						
							
							
								
								add AGI 'RECEIVE TEXT' command (bug  #4525 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5950  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  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								1bac31d6bd 
								
							
								 
							
						 
						
							
							
								
								more efficient (and understandable) ast_channel_walk_locked, and vastly more efficient ast_channel_by_name_locked (bug  #4265 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5853  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								8ad230082e 
								
							
								 
							
						 
						
							
							
								
								make AGI 'TDD MODE' command behave as documented when the channel doesn't support options (bug  #4370 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5851  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								d83eec795f 
								
							
								 
							
						 
						
							
							
								
								support labels as targets of SET PRIORITY command (bug  #4057 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5727  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								2d643dbc42 
								
							
								 
							
						 
						
							
							
								
								don't use %i for numeric input in scanf (bug  #4071 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5507  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								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 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								bb1abed78f 
								
							
								 
							
						 
						
							
							
								
								Add datetime to AGI (bug  #3984 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5446  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								b8a9e7558f 
								
							
								 
							
						 
						
							
							
								
								Add say date to AGi (bug  #3768 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5305  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								6347ced74a 
								
							
								 
							
						 
						
							
							
								
								Little say numer fix (bug  #3884 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5298  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								49ad55b85a 
								
							
								 
							
						 
						
							
							
								
								Continue with GET_DATA if no file is there (bug  #3878 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5290  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								e6e2e59b4d 
								
							
								 
							
						 
						
							
							
								
								Make sure AGI continues even when files aren't there (bug  #3862 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5263  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								8aa722871d 
								
							
								 
							
						 
						
							
							
								
								Add additional fields for calling parameters per BT request  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5251  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								f9cfe60312 
								
							
								 
							
						 
						
							
							
								
								Add support for Solaris/x86 (bug  #3064 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5199  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								0c30452423 
								
							
								 
							
						 
						
							
							
								
								update copyright headers for 2005  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								7af0234fa7 
								
							
								 
							
						 
						
							
							
								
								Various small fixups  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4725  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								2d8160ecd5 
								
							
								 
							
						 
						
							
							
								
								AGI formatting fixes (bug  #3270 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4715  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								a2e70340b8 
								
							
								 
							
						 
						
							
							
								
								Don't die when a file is missing (bug  #3212 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4623  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								0255d5805f 
								
							
								 
							
						 
						
							
							
								
								Merge gramatical fixes from corydon (bug  #3180 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4576  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								3fde2e56b8 
								
							
								 
							
						 
						
							
							
								
								Fix AGI to know about "builtin" variables, too (bug  #2737 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4538  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								b3a0ef24ed 
								
							
								 
							
						 
						
							
							
								
								Fix comment issues (bug  #3089 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4479  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								0f205bb079 
								
							
								 
							
						 
						
							
							
								
								Add "SAY ALPHA" (matt nicholson)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4445  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								17d5d7bdb7 
								
							
								 
							
						 
						
							
							
								
								Oops  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4271  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								eedf47ac8f 
								
							
								 
							
						 
						
							
							
								
								Add GET FULL VARIABLE AGI command  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4270  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								94f6f76fbe 
								
							
								 
							
						 
						
							
							
								
								Add get option command (bug  #2868 , thanks junky!)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4261  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								134e6180c5 
								
							
								 
							
						 
						
							
							
								
								Disable echo canceller for digital calls (bug  #2785 ), fix build on MacOSX (bug  #2803 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4170  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								9f5f95fe87 
								
							
								 
							
						 
						
							
							
								
								Remove late-night excuse for wasting cpu cycles.  revert previous res_agi change  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4029  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								8b8d26f9bc 
								
							
								 
							
						 
						
							
							
								
								Fix pbx_builtin_setlanguage to not seg when data is a NULL ptr.  Also fix AGI so we dont run into this with other specific problems as well. (bug 2641)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3990  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								04fc29c8b2 
								
							
								 
							
						 
						
							
							
								
								Huge callerid rework (might break H.323, others)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3874  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								b1b4db95c2 
								
							
								 
							
						 
						
							
							
								
								Fix FastAGI working with non default ports (bug 2539)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3852  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								ddf2648326 
								
							
								 
							
						 
						
							
							
								
								Fix BSD build  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3849  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								aa2e435d82 
								
							
								 
							
						 
						
							
							
								
								Remove duplicate sys/socket.h include from res_agi.c  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3845  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								fda8fa2367 
								
							
								 
							
						 
						
							
							
								
								add includes in res_agi.c to fix BSD compatibility  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3840  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								bf4ca23372 
								
							
								 
							
						 
						
							
							
								
								Make holdtime announcement say "less than 2 minutes" instead of "1 minutes" (bug  #2500 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3834  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								9812bcc03c 
								
							
								 
							
						 
						
							
							
								
								Include sys/socket.h in res/res_agi.c (bug 2490)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3828  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								1597114535 
								
							
								 
							
						 
						
							
							
								
								Implement Fast AGI (agi://) over TCP socket (Astricon talk idea)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3820  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							21 years ago  
				
					
						
							
							
								 
						
							
							
								7acee329e1 
								
							
								 
							
						 
						
							
							
								
								Merge BSD stack size work (bug  #2067 )  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3596  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							22 years ago  
				
					
						
							
							
								 
						
							
							
								57217916f1 
								
							
								 
							
						 
						
							
							
								
								First pass at AGI registration  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3461  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							22 years ago  
				
					
						
							
							
								 
						
							
							
								de4188df06 
								
							
								 
							
						 
						
							
							
								
								Merge musiconhold stuff (bug  #2027 ), restructure AGI to eventually support registration  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3460  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							22 years ago