0f3eaaf703 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 42600 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r42600 | file | 2006-09-09 16:24:19 -0400 (Sat, 09 Sep 2006) | 2 lines
Only truly consider the channel in the same format if the format matches the raw format OR if a translation path already exists to translate between them. (issue #7887  reported by softins & issue #7803  reported by alvaro_palma_aste). Thanks goes to stubert for giving me access to a box and showing me a scenario where this occured.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42601  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								d2a359e57f 
								
							
								 
							
						 
						
							
							
								
								Optimize a bit  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42583  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								10e361763c 
								
							
								 
							
						 
						
							
							
								
								It's another round of RTP updates!  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42569  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								160cea6139 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 42452 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r42452 | file | 2006-09-08 14:50:43 -0400 (Fri, 08 Sep 2006) | 2 lines
Swap spies during masquerading
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42453  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								d597b76c36 
								
							
								 
							
						 
						
							
							
								
								whentohangup is already in seconds, just need to convert to milliseconds  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42374  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								8a2dd45283 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 42260 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r42260 | file | 2006-09-07 12:30:44 -0400 (Thu, 07 Sep 2006) | 2 lines
Let's use the same thing we use in other places to calculate our time for ast_cond_timedwait (issue #7697  reported by bn999)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42261  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								11a7e38930 
								
							
								 
							
						 
						
							
							
								
								Made changes corresponding to those in 1.2 here in main/logger.c for bug 7544.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42208  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								d5f812e0b1 
								
							
								 
							
						 
						
							
							
								
								don't try to get the length of the string in the ast_dynamic_str object unless we know there is actually one there  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42185  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								bc5924120d 
								
							
								 
							
						 
						
							
							
								
								Remove old unused functions  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41974  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								55d594e9da 
								
							
								 
							
						 
						
							
							
								
								Make the difference clear about what the responsibilities of the core and a spy are when it comes to spying on a channel. The core is responsible for adding a spy to a channel, feeding frames into the spy, removing the spy from the channel, and notifying the spy that is has been detached. The spy is responsible for reading frames in, and cleaning itself up. Each side will not try to do the other's job.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41959  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								4de3c0e447 
								
							
								 
							
						 
						
							
							
								
								Add the ability to specify that a frame should not be considered for caching  
							
							... 
							
							
 
							
							for uses in cases where you *know* that it will do no good.  This patch was
inspired by file for use in some work of his on mixmonitor/chanspy.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41958  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								3057660a79 
								
							
								 
							
						 
						
							
							
								
								when calling this function to append to a dynamic string and the buffer was not  
							
							... 
							
							
 
							
							large enough and had to be reallocated, cut off the partially appended data.
Otherwise, the function will get called over and over again appending to the
end every time and never thinking it has enough room.
Thanks to jmls for access to his machine for debugging!
(issue #7691 )
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41944  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								ffd9281db9 
								
							
								 
							
						 
						
							
							
								
								Provide a little more protection to make sure that a MOH class is specified when using the 'm' option with WaitExten, and prevent a segfault in the process.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41930  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								bbc9c049ab 
								
							
								 
							
						 
						
							
							
								
								Fix enum indexing problem with m() in WaitExten. Reported by Pavel J, in asterisk-dev.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41916  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								6fdd2ef790 
								
							
								 
							
						 
						
							
							
								
								Tweak the if statement a bit  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41865  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								e576ac0930 
								
							
								 
							
						 
						
							
							
								
								Don't use ast_frdup() in the AST_LIST_INSERT_TAIL macro directly.  That was a  
							
							... 
							
							
 
							
							very stupid thing to do.  It ends up duplicating the frame twice, linking in
one of them and setting the tail pointer to the other one.  Sorry ...
Thanks to file for pointing out the breakage!!!  file rocks.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41864  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								f912c9e69f 
								
							
								 
							
						 
						
							
							
								
								Unbridge the RTP streams at the correct place  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41735  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								0be2884d80 
								
							
								 
							
						 
						
							
							
								
								If we are doing video and we can't reinvite, then resort to generic bridging instead of Packet2Packet since video isn't supported there yet. (reported by PCadach in #asterisk-bugs)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41718  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								b4d0f26d2b 
								
							
								 
							
						 
						
							
							
								
								You see nothing...  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41696  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								a845587805 
								
							
								 
							
						 
						
							
							
								
								Another formatting update for PCadach.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41695  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								043a01e6bd 
								
							
								 
							
						 
						
							
							
								
								0 is indeed considered a valid file descriptor (issue  #7861  reported by PCadach)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41694  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								9edf55b64d 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 41690 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r41690 | file | 2006-09-01 12:28:08 -0400 (Fri, 01 Sep 2006) | 2 lines
Don't treat an unexpected control subclass as voice (issue #7858  reported by PCadach)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41693  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								2ff2b02eae 
								
							
								 
							
						 
						
							
							
								
								PCadach wanted better formatting of those 'if' conditions for 7859.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41692  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								cd8635b9b5 
								
							
								 
							
						 
						
							
							
								
								This small tweek will hopefully fix 7859, and silence all possible others  
							
							... 
							
							
 
							
							along that line.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41674  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								f2b836ff4f 
								
							
								 
							
						 
						
							
							
								
								Tweak the DTMF muting stuff a bit to take into account VLDTMF and compensation.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41632  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								faf4975122 
								
							
								 
							
						 
						
							
							
								
								Ignore DTMF begin frames in the waitstream core so that we don't get duplicate digits in our extension match  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41611  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								d6096858d0 
								
							
								 
							
						 
						
							
							
								
								Don't fail the write if they try to write a NULL or IAX frame as we just ignore these.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41596  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								aaaec0e917 
								
							
								 
							
						 
						
							
							
								
								Add new frame types for DTMF  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41595  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								29ee02bfce 
								
							
								 
							
						 
						
							
							
								
								Only write a received packet out if we are actually bridged to something  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41574  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  
				
					
						
							
							
								 
						
							
							
								b281acf0f8 
								
							
								 
							
						 
						
							
							
								
								change default setting for autofallthrough  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41475  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								1ffff64e66 
								
							
								 
							
						 
						
							
							
								
								fix a bug introduced when I merged my frame caching branch.  Queue the  
							
							... 
							
							
 
							
							translated frame to the spies, *not* the original frame.  Thanks PCadach!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41389  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								11b5db3d61 
								
							
								 
							
						 
						
							
							
								
								Clarify what show translations is displaying a bit more (issue  #7772  reported by Mithraen)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41373  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								3028eb1c15 
								
							
								 
							
						 
						
							
							
								
								Print what read-only variable is being set so that the user doesn't have to guess and figure it out or look at the list in cdr.c and match it up (issue  #7831  reported by sedwards)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41357  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								0855df6a5a 
								
							
								 
							
						 
						
							
							
								
								Only feed a DTMF frame into the core if we need to  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41338  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								245aa1a62d 
								
							
								 
							
						 
						
							
							
								
								Only switch the second alert fd (which is RTCP) to callback mode if it is in use  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41317  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								12b6ec4e11 
								
							
								 
							
						 
						
							
							
								
								Use an API call (ast_rtp_get_bridged) to return the RTP stream we are bridged to, and also use it in chan_sip so we know to ignore the no RTP activity checking  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41316  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								da7d969ae1 
								
							
								 
							
						 
						
							
							
								
								If the RTP stack is already being operated in callback mode, then suspend it upon switching to P2P callback bridging. Once P2P callback bridging has ended, then restore callback mode.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41303  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								ca33d2ecc6 
								
							
								 
							
						 
						
							
							
								
								This is the last round of RTP bridge optimizations. Basically it introduces a way that under a straight bridge (ie: no transcoding and no DTMF detection) the core is not touched at all and no frames pass through (not even null frames). This is accomplished by stealing the file descriptors from the channel and using the provided IO context with a custom callback. When a channel is placed on hold this bridge is broken so audio can flow from the core to the other side. When a channel is off hold this bridge is re-established.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41302  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								a2e2a51d8d 
								
							
								 
							
						 
						
							
							
								
								Move the direct bridge write to after the NAT handling code  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41285  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								299465336a 
								
							
								 
							
						 
						
							
							
								
								This change fixes bug 7820. Way back in April this bug was reintroduced, it appears, when a bunch of restructuring was done. This code was basically left out during the restructuring. In the case of the failure in 7820, it is trying to match the extension _x. with _x., and failing, because the 'x' should only match 0 thru 9. I **could** upgrade the code so that that N,Z, and X match not only their intended number ranges, but also N,Z,and X respectively. And, moreover, X could also match N and Z, and Z could also match N. I have no idea why this bug took so long to turn up. I have no idea what a more thorough treatment of the code would do to working code, either. So I left it as it ***was***.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41283  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								f7e7161607 
								
							
								 
							
						 
						
							
							
								
								Merge team/russell/frame_caching  
							
							... 
							
							
 
							
							There are some situations in Asterisk where ast_frame and/or iax_frame
structures are rapidly allocatted and freed (at least 50 times per second
for one call).
This code significantly improves the performance of ast_frame_header_new(), 
ast_frdup(), ast_frfree(), iax_frame_new(), and iax_frame_free() by keeping
a thread-local cache of these structures and using frames from the cache 
whenever possible instead of calling malloc/free every time.
This commit also converts the ast_frame and iax_frame structures to use the
linked list macros.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41278  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								c70ed7614a 
								
							
								 
							
						 
						
							
							
								
								Merge in RTP-level packet bridging. Packet comes in, packet goes out - that's what RTP-level packet bridging is all about!  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41235  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								d12f54f90b 
								
							
								 
							
						 
						
							
							
								
								GNU make already knows how to quietly ignore non-existent files in 'include' directives  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41209  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								a757ca2947 
								
							
								 
							
						 
						
							
							
								
								ensure that unload_dynamic_module won't continue dereferencing a module pointer after the module has been unloaded from memory  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41196  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								3ba8e0a973 
								
							
								 
							
						 
						
							
							
								
								ensure that cross-compiler info is removed from the enviroment before configuring menuselect  
							
							... 
							
							
 
							
							ensure that the user's LDFLAGS take precedence when linking the final binary
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41178  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								aa7b32d175 
								
							
								 
							
						 
						
							
							
								
								more optimizations for embedded systems:  
							
							... 
							
							
 
							
							when LOADABLE_MODULES is off, don't export symbols from the main binary
  when LOADABLE_MODULES is off, and the compiler/linker support it, strip out code not used in the final binary
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41166  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								d770396e23 
								
							
								 
							
						 
						
							
							
								
								Identify what the columns mean in the output of "show profile"  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41118  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								d2b7882788 
								
							
								 
							
						 
						
							
							
								
								Off by one error in buffer length (issue 7379)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41103  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								970c6876c5 
								
							
								 
							
						 
						
							
							
								
								instead of reverting this supposedly 'stupid' change, let's try to get it working properly  
							
							... 
							
							
 
							
							also eliminate a warning from dlopen() because some flags were missing on the second dlopen() call
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@41087  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								1ff5a0988d 
								
							
								 
							
						 
						
							
							
								
								Merged revisions 40994 via svnmerge from  
							
							... 
							
							
 
							
							https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r40994 | russell | 2006-08-24 15:41:26 -0400 (Thu, 24 Aug 2006) | 11 lines
Fix a few issues related to the handling of channel variables
 - in pbx_builtin_serialize_variables(), the variable list traversal would stop
   on a variables with empty name/values, which is not appropriate
 - When removing the GROUP variables, use AST_LIST_REMOVE_CURRENT instead of
   AST_LIST_REMOVE
 - During masquerading, when copying the variables list from one channel to the
   other, using AST_LIST_INSERT_TAIL is not valid for appending a whole list.
   It leaves the tail pointer of the list invalid.  Introduce a new macro,
   AST_LIST_APPEND_LIST that appends a list properly.
(issue #7802 , softins)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40995  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								16157e26d6 
								
							
								 
							
						 
						
							
							
								
								Revert stupid RTLD_NOLOAD change that breaks module loading on some systems.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40981  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								3f7b10eab6 
								
							
								 
							
						 
						
							
							
								
								Free the filename so we don't have a memory leak. (reported by PCadach in #asterisk-bugs)  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40953  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								7eecf0bfbc 
								
							
								 
							
						 
						
							
							
								
								use RTLD_NOLOAD if it's available to make loading dynamic modules a little faster and less resource-intensive  
							
							... 
							
							
 
							
							also, keep trying to dlclose() a module until it actually goes away, since it may have other modules it brought in when it was loaded (thanks PCadach for pointing this problem out to me)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40949  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								e0df1dfd7c 
								
							
								 
							
						 
						
							
							
								
								generate a message when a module cannot be found and loadable modules are disabled  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40866  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								950b3fb070 
								
							
								 
							
						 
						
							
							
								
								make platforms that use mutexes in stdio.h happy  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40864  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								e274fc0b54 
								
							
								 
							
						 
						
							
							
								
								minor improvements  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40863  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								804f49e2c9 
								
							
								 
							
						 
						
							
							
								
								when loadable modules are disabled, if someone tries to load a module that does not exist, don't dereference a NULL pointer, just stop trying to load it...  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40854  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								ec23dcb172 
								
							
								 
							
						 
						
							
							
								
								Solaris didn't like this.  
							
							... 
							
							
 
							
							Let's just go ahead and make this match every other uintXX_t in Asterisk.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40833  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								0264c362b6 
								
							
								 
							
						 
						
							
							
								
								a couple Solaris tweaks, to help build properly.  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40832  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								26fa229138 
								
							
								 
							
						 
						
							
							
								
								restore 'preload' functionality in loader  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40796  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								a394f4ad64 
								
							
								 
							
						 
						
							
							
								
								use a customized configure macro to tell the script that uCLinux does not have fork() that works  
							
							... 
							
							
 
							
							drop all startup options and code related to forking if it is not available
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40790  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								ca0a1d3842 
								
							
								 
							
						 
						
							
							
								
								don't initialize global variables list twice  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40789  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								61755115c2 
								
							
								 
							
						 
						
							
							
								
								restore printing of module name during loading  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40784  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								283bcf4c9f 
								
							
								 
							
						 
						
							
							
								
								- simplify and improve astmm by using thread storage instead of a dynamic  
							
							... 
							
							
 
							
							allocation and free on every call of the function for preparing the string
  that will be appended.  Then, use the ast_dynamic_str() code instead of the
  open coded version that is appended to when waiting for it to be delivered.
- use for loops for list traversals
- convert the manager sessions list to use list macros
- use atomic operations for num_sessions and usecounts
- convert some defines to the equivalent enum
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40783  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								389c605a67 
								
							
								 
							
						 
						
							
							
								
								- use the atomic operations for incrementing the unique int  
							
							... 
							
							
 
							
							- free the string fields allocation if ast_create_channel() failes to open the
  alert pipe
- formatting tweaks
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40782  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								5d3869a1c8 
								
							
								 
							
						 
						
							
							
								
								various cleanups, including ...  
							
							... 
							
							
 
							
							- Create an astmm_log() macro that logs the same message to both stderr as well
  as the mmlog file if it is open instead of duplicating the code everywhere.
- Use for loops for list traversals instead of while loops
- reduce nesting
- ensure locking isn't put around more than is necessary
- localize a struct definition
- change the limit of the path to the mmlog to PATH_MAX instead of 80
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40780  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								5b03b3449b 
								
							
								 
							
						 
						
							
							
								
								use a safer process for checking if a module wants to export symbols into the global namespace  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40769  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
							
						 
						
							19 years ago  
				
					
						
							
							
								 
						
							
							
								f3c518a70f 
								
							
								 
							
						 
						
							
							
								
								don't declare these variables unless needed  
							
							... 
							
							
 
							
							git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40751  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