eea428cf76 
								
							
								 
							
						 
						
							
							
								
								Use defined return values in load_module in more places.  
							
							... 
							
							
 
							
							(closes issue #11096 )
Patches:
      pbx_config.c.patch uploaded by moy (license 222)
      pbx_dundi.c.patch uploaded by moy (license 222)
      pbx_gtkconsole.c.patch uploaded by moy (license 222)
      pbx_loopback.c.patch uploaded by moy (license 222)
      pbx_realtime.c.patch uploaded by moy (license 222)
      pbx_spool.c.patch uploaded by moy (license 222)
      app_adsiprog.c.patch uploaded by moy (license 222)
      app_alarmreceiver.c.patch uploaded by moy (license 222)
      app_amd.c.patch uploaded by moy (license 222)
      app_authenticate.c.patch uploaded by moy (license 222)
      app_cdr.c.patch uploaded by moy (license 222)
      app_zapateller.c.patch uploaded by moy (license 222)
      app_zapbarge.c.patch uploaded by moy (license 222)
      app_zapras.c.patch uploaded by moy (license 222)
      app_zapscan.c.patch uploaded by moy (license 222)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@94806  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								940f8f6276 
								
							
								 
							
						 
						
							
							
								
								Convert from LOG_DEBUG etc to ast_debug. Thanks, dimas!  
							
							... 
							
							
 
							
							(closes issue #11572 )
Reported by: dimas
Patches: 
      dundilog-trunk.patch uploaded by dimas (license 88)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93167  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								17afebc1a6 
								
							
								 
							
						 
						
							
							
								
								HUGE improvements to QoS/CoS handling by IgorG  
							
							... 
							
							
 
							
							- Refer to the proper documentation
- Implement separate signalling/media QoS/CoS in many channels using RTP
- Improve warnings and verbose messages
- Deprecate some old settings
Minor modifications by me, a big effort from IgorG.
Thanks!
Reported by: IgorG
Patches: 
      qoscleanup-89394-4-trunk.patch uploaded by IgorG (license 20)
Tested by: IgorG
(closes issue #11145 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93163  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								04ab19aef5 
								
							
								 
							
						 
						
							
							
								
								make something static  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@93067  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  
				
					
						
							
							
								 
						
							
							
								ffd86fc964 
								
							
								 
							
						 
						
							
							
								
								more errno.h removal  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89432  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								1a5cdeb138 
								
							
								 
							
						 
						
							
							
								
								a quick fix to pbx_dundi.c to make it so it will compile. Hope I did the right thing. And some additions to removal of extens to take care of hashtab pointers in all cases.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89388  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								a0f06d0dd5 
								
							
								 
							
						 
						
							
							
								
								start using asterisk/network.h for network related headers.  
							
							... 
							
							
 
							
							Also remove some unnecessary includes.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89380  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  
				
					
						
							
							
								 
						
							
							
								7f8ecd2cd3 
								
							
								 
							
						 
						
							
							
								
								make the 'name' and 'value' fields in ast_variable const char *  
							
							... 
							
							
 
							
							This prevents modifying the strings in the stored variables, 
and catched a few instances where this was actually done.
Given the differences between trunk and 1.4 (and the fact that this
is effectively an API change) it is better to fix 1.4 independently.
These are
chan_sip.c::sip_register()
chan_skinny.c:: near line 2847
config.c:: near line 1774
logger.c::make_components()
res_adsi.c:: near line 1049
I may have missed some instances for modules that do not build here.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89268  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								98429d37b2 
								
							
								 
							
						 
						
							
							
								
								Based on a note in asterisk-dev by Brian Capouch, I determined I too agressive in not initializing arrays passed to pbx_substitute_variables_xxxx; I reviewed the code (again) and hopefully found every possible spot where substitute_variables is called conditionally, and made sure the char array involved was set to a null string.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89186  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								1c7eb1d82b 
								
							
								 
							
						 
						
							
							
								
								Change some uses of free() to ast_free().  (No functional differences.)  
							
							... 
							
							
 
							
							(closes issue #11138 )
Reported by: eliel
Patches: 
      pbx_dundi.c.patch uploaded by eliel (license 64)
	  chan_sip.c.patch uploaded by eliel (license 64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@88077  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								ebe4050128 
								
							
								 
							
						 
						
							
							
								
								Switch from AST_CLI (formerly NEW_CLI) to AST_CLI_DEFINE, since the former didn't make much sense  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86820  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								9409a33900 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 86661 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r86661 | file | 2007-10-22 11:05:26 -0300 (Mon, 22 Oct 2007) | 6 lines
Fix tab completion for dundi show peer.
(closes issue #11041 )
Reported by: jsmith
Patches:
      asterisk-dundicomplete.diff.txt uploaded by jamesgolovich (license 176)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86662  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								b0f3e6097e 
								
							
								 
							
						 
						
							
							
								
								Convert NEW_CLI to AST_CLI.  
							
							... 
							
							
 
							
							Closes issue #11039 , as suggested by seanbright.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@86536  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								ed690fc348 
								
							
								 
							
						 
						
							
							
								
								Switch dundi to new tos config format.  
							
							... 
							
							
 
							
							Remove old unused defines for old style.
Closes issue 10860, patch by IgorG.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85764  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								3f2e8db598 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 85556 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r85556 | russell | 2007-10-15 10:40:45 -0500 (Mon, 15 Oct 2007) | 9 lines
Ensure the buffer passed to ast_canmatch_extension() is properly initialized so
that it is null terminated.
(issue #10977 )
Reported by: dimas
Patches: 
      pbxdundi.patch uploaded by dimas (license 88)
	    - small mods by me
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85557  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								e97a723cf1 
								
							
								 
							
						 
						
							
							
								
								Merge a ton of NEW_CLI conversions.  Thanks to everyone that helped out!  :)  
							
							... 
							
							
 
							
							(closes issue #10724 )
Reported by: eliel
Patches: 
      chan_skinny.c.patch uploaded by eliel (license 64)
      chan_oss.c.patch uploaded by eliel (license 64)
      chan_mgcp.c.patch2 uploaded by eliel (license 64)
      pbx_config.c.patch uploaded by seanbright (license 71)
      iax2-provision.c.patch uploaded by eliel (license 64)
      chan_gtalk.c.patch uploaded by eliel (license 64)
      pbx_ael.c.patch uploaded by seanbright (license 71)
      file.c.patch uploaded by seanbright (license 71)
      image.c.patch uploaded by seanbright (license 71)
      cli.c.patch uploaded by moy (license 222)
      astobj2.c.patch uploaded by moy (license 222)
      asterisk.c.patch uploaded by moy (license 222)
      res_limit.c.patch uploaded by seanbright (license 71)
      res_convert.c.patch uploaded by seanbright (license 71)
      res_crypto.c.patch uploaded by seanbright (license 71)
      app_osplookup.c.patch uploaded by seanbright (license 71)
      app_rpt.c.patch uploaded by seanbright (license 71)
      app_mixmonitor.c.patch uploaded by seanbright (license 71)
      channel.c.patch uploaded by seanbright (license 71)
      translate.c.patch uploaded by seanbright (license 71)
      udptl.c.patch uploaded by seanbright (license 71)
      threadstorage.c.patch uploaded by seanbright (license 71)
      db.c.patch uploaded by seanbright (license 71)
      cdr.c.patch uploaded by moy (license 222)
      pbd_dundi.c.patch uploaded by moy (license 222)
      app_osplookup-rev83558.patch uploaded by moy (license 222)
      res_clioriginate.c.patch uploaded by moy (license 222)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@85460  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								41d513f443 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 83976 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r83976 | russell | 2007-09-26 19:01:29 -0500 (Wed, 26 Sep 2007) | 1 line
remove a todo item that has been completed
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83977  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								9f64905d4e 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 83432 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r83432 | russell | 2007-09-21 09:37:20 -0500 (Fri, 21 Sep 2007) | 4 lines
gcc 4.2 has a new set of warnings dealing with cosnt pointers.  This set of
changes gets all of Asterisk (minus chan_alsa for now) to compile with gcc 4.2.
(closes issue #10774 , patch from qwell)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83433  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								6489076887 
								
							
								 
							
						 
						
							
							
								
								Fix memory leaks in pbx_dundi, cdr_pgsql, and the configuration file parser.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@83229  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								3d7cf301d8 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 82802 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r82802 | russell | 2007-09-18 11:31:01 -0500 (Tue, 18 Sep 2007) | 4 lines
When copying the contents from the wildcard peer, do a deep copy instead of
shallow copy so that it doesn't crash when beging destroyed.
(closes issue #10546 , patch by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82803  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								c0f72f5311 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 82250 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r82250 | russell | 2007-09-11 11:03:42 -0500 (Tue, 11 Sep 2007) | 4 lines
The sample dundi.conf claims support for a wildcard peer entry - [*], but the
code did not support it.  This patch makes it work.
(closes issue #10546 , patch by dds, with some changes by me)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82251  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								078595f5c5 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 82243 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r82243 | file | 2007-09-11 11:56:39 -0300 (Tue, 11 Sep 2007) | 6 lines
(closes issue #10577 )
Reported by: jamesgolovich
Patches:
      asterisk-dundifree.diff.txt uploaded by jamesgolovich (license 176)
Don't leak memory when unloading DUNDi.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@82244  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								2f4a2811b6 
								
							
								 
							
						 
						
							
							
								
								Add proper channel locking around the uses of datastore_add and _find.  There  
							
							... 
							
							
 
							
							are still more places in the tree that I have not yet changed if someone wants
to go through and find the places they are used without the channel locked.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81262  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								44795584b2 
								
							
								 
							
						 
						
							
							
								
								This should have been trunk only, I guess.  oh well ... it's harmless.  
							
							... 
							
							
 
							
							Merged revisions 81065 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r81065 | russell | 2007-08-27 11:38:33 -0500 (Mon, 27 Aug 2007) | 1 line
explicity define a variable as a boolean
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81098  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								adcd4d4ab4 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 81074 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r81074 | russell | 2007-08-27 12:27:48 -0500 (Mon, 27 Aug 2007) | 3 lines
Add a \todo to note that this module leaks most of the memory it allocates on
unload and should be fixed (when I'm not in the middle of something else ...).
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@81076  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								8d4761f8d3 
								
							
								 
							
						 
						
							
							
								
								localize a variable and remove a duplicate error message  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@80897  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								fafa7d93e4 
								
							
								 
							
						 
						
							
							
								
								Correct the argument separator for a Dial statement in pbx_dundi.  
							
							... 
							
							
 
							
							Closes issue #10483 , patch by lunn
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79888  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								56b9568164 
								
							
								 
							
						 
						
							
							
								
								Don't reload a configuration file if nothing has changed.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79747  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								3f998a86a1 
								
							
								 
							
						 
						
							
							
								
								(closes issue  #10467 )  
							
							... 
							
							
 
							
							Reported by: lunn
Patches:
      pbx_dundi.diff uploaded by lunn (license 179)
Don't print a warning saying an ethernet interface was found when it indeed was.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79688  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							18 years ago  
				
					
						
							
							
								 
						
							
							
								4e0947c5f1 
								
							
								 
							
						 
						
							
							
								
								Convert code that checks the _softhangup member of ast_channel directory to use  
							
							... 
							
							
 
							
							the ast_check_hangup() funciton.  This function takes scheduled hangups into
account.
(closes issue #10230 , patch by Juggie)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@77858  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  
				
					
						
							
							
								 
						
							
							
								0e969271ae 
								
							
								 
							
						 
						
							
							
								
								After some study, thought, comparing, etc. I've backed out the previous universal mod to make ast_flags a 64 bit thing. Instead, I added a 64-bit version of ast_flags (ast_flags64), and 64-bit versions of the test-flag, set-flag, etc. macros, and an app_parse_options64 routine, and I use these in app_dial alone, to eliminate the 30-option limit it had grown to meet. There is room now for 32 more options and flags. I was heavily tempted to implement some of the other ideas that were presented, but this solution does not intro any new versions of dial, doesn't have a different API, has a minimal/zero impact on code outside of dial, and doesn't seriously (I hope) affect the code structure of dial. It's the best I can think of right now. My goal was NOT to rewrite dial. I leave that to a future, coordinated effort.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75983  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								5ac24b25d3 
								
							
								 
							
						 
						
							
							
								
								This corrects the problem with flags and %lld formats on 64-bit machines, where uint64_t is NOT acceptable for %lld, and also works on 32-bit machines. At least, with gcc.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75585  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								674dbeb0cf 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 75583 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r75583 | file | 2007-07-18 11:18:53 -0300 (Wed, 18 Jul 2007) | 5 lines
(closes issue #10224 )
Reported by: irroot
Record the threadid of each running thread before shutting them down as the thread themselves may change the value.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75584  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								8a7732f067 
								
							
								 
							
						 
						
							
							
								
								via 10206, I have added an option (e) to Dial to allow the h exten to get run on peer. Had to upgrade ast_flag stuff to 64 bits to do this.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@75400  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								836ea36d3c 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 74045 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r74045 | file | 2007-07-09 11:49:05 -0300 (Mon, 09 Jul 2007) | 2 lines
Few minor thread synchronization tweaks. (issue #10124  reported by gzero)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@74046  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								36668045a6 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 72006 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r72006 | file | 2007-06-26 20:58:35 -0400 (Tue, 26 Jun 2007) | 2 lines
Make unloading of pbx_dundi actually work.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@72007  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								4573b36af1 
								
							
								 
							
						 
						
							
							
								
								use the OpenSSL AES implementation if it's available (unless configured not to)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@66071  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								4b3a3fb14c 
								
							
								 
							
						 
						
							
							
								
								Add a new API call for creating detached threads.  Then, go replace all of the  
							
							... 
							
							
 
							
							places in the code where the same block of code for creating detached threads
was replicated.  (patch from bbryant)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65968  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								f02e26feff 
								
							
								 
							
						 
						
							
							
								
								Make sure that DUNDIRESULT is given an ID.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@64469  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								b419fc1134 
								
							
								 
							
						 
						
							
							
								
								Add support for setting the CoS for VLAN traffic (802.1p) in Linux.  The  
							
							... 
							
							
 
							
							file doc/qos.tex has been updated to document the new functionality.
(issue #9540 , patch submitted by IgorG)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62457  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								c59b8876aa 
								
							
								 
							
						 
						
							
							
								
								Merge changes from team/russell/dundi_results  
							
							... 
							
							
 
							
							This introduces two new dialplan functions: DUNDIQUERY and DUNDIRESULT.
DUNDIQUERY lets you intitiate a DUNDi query from the dialplan.  Then,
DUNDIRESULT will let you find out how many results there are, and access each
one without having to the query again.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@62267  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								32e03f9e4a 
								
							
								 
							
						 
						
							
							
								
								Add the ability to dynamically specify weights for responses to DUNDi queries.  
							
							... 
							
							
 
							
							This can be done using a global variable or a dialplan function.  Using the
SHELL() function will allow you to use an external script to determine what the
weight in the response should be.  This can be very useful in load balancing
applications.
(inspired by discussions with blitzrage and jsmith in #asterisk-bugs)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@58304  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								e7b03a991e 
								
							
								 
							
						 
						
							
							
								
								Convert the PBX core to use read/write locks. This yields a nifty performance improvement when it comes to simultaneous calls going through the dialplan. Using murf's test the old mutex based core took an average of 57.3 seconds while the rwlock based core took 31.1 seconds. That's a nifty 26.2 seconds performance improvement. The other good part is that if we do need to switch back then we just have to change the lock/unlock API calls. I converted everywhere that used to touch the mutex locks directly to use them.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@57184  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								b233892198 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 53046 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
................
r53046 | russell | 2007-01-31 15:32:08 -0600 (Wed, 31 Jan 2007) | 11 lines
Merged revisions 53045 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r53045 | russell | 2007-01-31 15:25:11 -0600 (Wed, 31 Jan 2007) | 3 lines
Fix a bunch of places where pthread_attr_init() was called, but
pthread_attr_destroy() was not.
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@53047  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								cd73a483f1 
								
							
								 
							
						 
						
							
							
								
								const-ify some more APIs, and fix rev 49710 from branch-1.4 in a better way here  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@49711  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								17a2888d2e 
								
							
								 
							
						 
						
							
							
								
								Staticize one, and Constify a bunch of usage strings for CLI commands.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@48303  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								eceb5c60d7 
								
							
								 
							
						 
						
							
							
								
								Fine, take this.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47465  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								3521586712 
								
							
								 
							
						 
						
							
							
								
								Hello compiler working, goodbye compiler warning. (fix compiler warning introduced from pbx_dundi optimizations)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47461  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								74b6314d50 
								
							
								 
							
						 
						
							
							
								
								Various little bits of code cleanup to reduce nesting, remove useless casts,  
							
							... 
							
							
 
							
							and to remove a duplicated error message after a memory allocation error
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47410  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								908b6ed6bc 
								
							
								 
							
						 
						
							
							
								
								Make pbx_dundi compile again.  Sorry.  :(  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47213  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								b1e7dd843a 
								
							
								 
							
						 
						
							
							
								
								use the AST_MODULE_LOAD_* return codes from load_module()  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47207  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								121bd75fcc 
								
							
								 
							
						 
						
							
							
								
								simplify a couple of loops  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47206  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								4b5ad8fb98 
								
							
								 
							
						 
						
							
							
								
								Do some minor cleanup to the section of code that sets the EID by getting the  
							
							... 
							
							
 
							
							mac address for an ethernet interface
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@47204  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								4ffc388358 
								
							
								 
							
						 
						
							
							
								
								Add the ability to pass options to the Dial application when using the DUNDi  
							
							... 
							
							
 
							
							switch in the dialplan by setting the DUNDIDIALARGS channel variable.
(issue #8084 , patch by bluecrow76, with small modifications and documentation
updates)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@46781  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								fef9ec96c7 
								
							
								 
							
						 
						
							
							
								
								put flags in an enum and remove a couple of unused defines  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44944  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								3c876af5cf 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 44378 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r44378 | kpfleming | 2006-10-04 14:47:22 -0500 (Wed, 04 Oct 2006) | 4 lines
update thread creation code a bit
reduce standard thread stack size slightly to allow the pthreads library to allocate the stack+data and not overflow a power-of-2 allocation in the kernel and waste memory/address space
add a new stack size for 'background' threads (those that don't handle PBX calls) when LOW_MEMORY is defined
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@44379  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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								05a695af72 
								
							
								 
							
						 
						
							
							
								
								everything that loads a config that needs a config file to run  
							
							... 
							
							
 
							
							now reports AST_MODULE_LOAD_DECLINE when loading if config file
is not there, also fixed an error in res_config_pgsql where it 
had a non static function when it should.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41633  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							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  
				
					
						
							
							
								 
						
							
							
								ca9ba719b6 
								
							
								 
							
						 
						
							
							
								
								Merge a new implementation of ast_inet_ntoa, our thread safe replacement for  
							
							... 
							
							
 
							
							inet_ntoa, which uses thread specific data (aka thread local storage) instead
of stack allocatted buffers to store the result.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@38042  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  
				
					
						
							
							
								 
						
							
							
								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  
				
					
						
							
							
								 
						
							
							
								b7c2ae9dba 
								
							
								 
							
						 
						
							
							
								
								- use ast_calloc instead of malloc+memset  
							
							... 
							
							
 
							
							- conver one malloc to ast_malloc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@25356  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								0765f065ca 
								
							
								 
							
						 
						
							
							
								
								staticize the list heads from my recent conversions to list macros  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@24139  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								02eda146ac 
								
							
								 
							
						 
						
							
							
								
								- convert permission lists to use list macros  
							
							... 
							
							
 
							
							- remove unused precachesend and precachereceive variables from dundi_peer
This concludes the visit to pbx_dundi ...
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23831  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								5a60431c29 
								
							
								 
							
						 
						
							
							
								
								conver the lists of dundi packets to use the list macros  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23810  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								7ce2726c09 
								
							
								 
							
						 
						
							
							
								
								- convert the dundi precache list to use the list macros  
							
							... 
							
							
 
							
							- change an instance of malloc+memset to ast_calloc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23808  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								b992d92742 
								
							
								 
							
						 
						
							
							
								
								- convert the lists of dundi_transactions to the list macros  
							
							... 
							
							
 
							
							- remove an unused variable, keypending, from the dundi_peer struct
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23769  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								31cd56f76e 
								
							
								 
							
						 
						
							
							
								
								remove unneeded define - it is already in asterisk.h  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23494  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								03d005e472 
								
							
								 
							
						 
						
							
							
								
								convert the dundi_request list to use the list macros  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23493  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								dbbe944da8 
								
							
								 
							
						 
						
							
							
								
								convert existing comments to doxygen format  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23492  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								149e45924a 
								
							
								 
							
						 
						
							
							
								
								fix indentation for this function  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23491  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								fcb2809e45 
								
							
								 
							
						 
						
							
							
								
								immediately handle ast_strdupa result so that one more level of indentation  
							
							... 
							
							
 
							
							can be removed from this function
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23490  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								ef775bbd66 
								
							
								 
							
						 
						
							
							
								
								fix the indentation of a large block  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23489  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								ed320702d9 
								
							
								 
							
						 
						
							
							
								
								handle a memory allocation failure immediately so the following large block  
							
							... 
							
							
 
							
							does not have to be indented
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23480  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								4cfcacf6c9 
								
							
								 
							
						 
						
							
							
								
								- convert the list of dundi mappings to use the list macros  
							
							... 
							
							
 
							
							- change an instance of malloc+memset to use ast_calloc, instead
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23468  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								d9fa5f3c89 
								
							
								 
							
						 
						
							
							
								
								change a list traversal to use a for loop  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23466  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								c7fea723a3 
								
							
								 
							
						 
						
							
							
								
								fix the indentation of a large block of code  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23465  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								059f0bd108 
								
							
								 
							
						 
						
							
							
								
								immediately handle a memory allocation failure so the rest of the function  
							
							... 
							
							
 
							
							doesn't have to be indented (indentation still to be fixed)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23464  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								d66de679d9 
								
							
								 
							
						 
						
							
							
								
								- convert some comments to doxygen format  
							
							... 
							
							
 
							
							- convert the list of dundi peers to use the list macros
- convert a use of malloc+memset to use ast_calloc
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23463  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								8682a7378d 
								
							
								 
							
						 
						
							
							
								
								add a small optimization for deleting all the members of a list  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@23271  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							20 years ago  
				
					
						
							
							
								 
						
							
							
								574e14cbea 
								
							
								 
							
						 
						
							
							
								
								Thanks to the fine work of Russell Bryant and Dancho Lazarov, we now have autoconf and menuselect tools for Asterisk!  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@22267  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  
				
					
						
							
							
								 
						
							
							
								756c7cbb12 
								
							
								 
							
						 
						
							
							
								
								Bug 6873 - Finish moving from the non-threadsafe (and poor randomness) rand() to threadsafe ast_random()  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@17627  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  
				
					
						
							
							
								 
						
							
							
								d0bc6c20a7 
								
							
								 
							
						 
						
							
							
								
								- remove an unnecessary cast and recomputation of (timeout - now);  
							
							... 
							
							
 
							
							- remove useless recomputations of strlen(word) in a loop, and
  normalize the form of complete_peer_helper();
- move LOCAL_USER_ADD() to after the verification of arguments,
  thus removing the need for one LOCAL_USER_REMOVE() call.
The three chunks of the patch are fully disjoint.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15581  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  
				
					
						
							
							
								 
						
							
							
								c3447c7cce 
								
							
								 
							
						 
						
							
							
								
								Fix a few compile warnings (turned errors) and disable -Werror on the  
							
							... 
							
							
 
							
							normal build.  If people want this they can turn it on, and don't anyone 
turn it on by default until you fix building on GCC 4.x
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@10842  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  
				
					
						
							
							
								 
						
							
							
								2f2530b8e6 
								
							
								 
							
						 
						
							
							
								
								remove LOCAL_USER_ACF_ADD since it is now the same as LOCAL_USER_ADD  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9800  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  
				
					
						
							
							
								 
						
							
							
								452f87a465 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 9609 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r9609 | russell | 2006-02-11 14:23:20 -0500 (Sat, 11 Feb 2006) | 2 lines
fix memory leak from not destroying the scheduler context on module unload
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@9610  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							20 years ago