Matthew Jordan 
							
						 
					 
					
						
						
							
						
						a2c912e997 
					 
					
						
						
							
							media formats: re-architect handling of media for performance improvements  
						
						... 
						
						
						
						In the old times media formats were represented using a bit field. This was
fast but had a few limitations.
 1. Asterisk was limited in how many formats it could handle.
 2. Formats, being a bit field, could not include any attribute information.
    A format was strictly its type, e.g., "this is ulaw".
This was changed in Asterisk 10 (see
https://wiki.asterisk.org/wiki/display/AST/Media+Architecture+Proposal  for
notes on that work) which led to the creation of the ast_format structure.
This structure allowed Asterisk to handle attributes and bundle information
with a format.
Additionally, ast_format_cap was created to act as a container for multiple
formats that, together, formed the capability of some entity. Another
mechanism was added to allow logic to be registered which performed format
attribute negotiation. Everywhere throughout the codebase Asterisk was
changed to use this strategy.
Unfortunately, in software, there is no free lunch. These new capabilities
came at a cost.
Performance analysis and profiling showed that we spend an inordinate
amount of time comparing, copying, and generally manipulating formats and
their related structures. Basic prototyping has shown that a reasonably
large performance improvement could be made in this area. This patch is the
result of that project, which overhauled the media format architecture
and its usage in Asterisk to improve performance.
Generally, the new philosophy for handling formats is as follows:
 * The ast_format structure is reference counted. This removed a large amount
   of the memory allocations and copying that was done in prior versions.
 * In order to prevent race conditions while keeping things performant, the
   ast_format structure is immutable by convention and lock-free. Violate this
   tenet at your peril!
 * Because formats are reference counted, codecs are also reference counted.
   The Asterisk core generally provides built-in codecs and caches the
   ast_format structures created to represent them. Generally, to prevent
   inordinate amounts of module reference bumping, codecs and formats can be
   added at run-time but cannot be removed.
 * All compatibility with the bit field representation of codecs/formats has
   been moved to a compatibility API. The primary user of this representation
   is chan_iax2, which must continue to maintain its bit-field usage of formats
   for interoperability concerns.
 * When a format is negotiated with attributes, or when a format cannot be
   represented by one of the cached formats, a new format object is created or
   cloned from an existing format. That format may have the same codec
   underlying it, but is a different format than a version of the format with
   different attributes or without attributes.
 * While formats are reference counted objects, the reference count maintained
   on the format should be manipulated with care. Formats are generally cached
   and will persist for the lifetime of Asterisk and do not explicitly need
   to have their lifetime modified. An exception to this is when the user of a
   format does not know where the format came from *and* the user may outlive
   the provider of the format. This occurs, for example, when a format is read
   from a channel: the channel may have a format with attributes (hence,
   non-cached) and the user of the format may last longer than the channel (if
   the reference to the channel is released prior to the format's reference).
For more information on this work, see the API design notes:
  https://wiki.asterisk.org/wiki/display/AST/Media+Format+Rewrite 
Finally, this work was the culmination of a large number of developer's
efforts. Extra thanks goes to Corey Farrell, who took on a large amount of the
work in the Asterisk core, chan_sip, and was an invaluable resource in peer
reviews throughout this project.
There were a substantial number of patches contributed during this work; the
following issues/patch names simply reflect some of the work (and will cause
the release scripts to give attribution to the individuals who work on them).
Reviews:
 https://reviewboard.asterisk.org/r/3814 
 https://reviewboard.asterisk.org/r/3808 
 https://reviewboard.asterisk.org/r/3805 
 https://reviewboard.asterisk.org/r/3803 
 https://reviewboard.asterisk.org/r/3801 
 https://reviewboard.asterisk.org/r/3798 
 https://reviewboard.asterisk.org/r/3800 
 https://reviewboard.asterisk.org/r/3794 
 https://reviewboard.asterisk.org/r/3793 
 https://reviewboard.asterisk.org/r/3792 
 https://reviewboard.asterisk.org/r/3791 
 https://reviewboard.asterisk.org/r/3790 
 https://reviewboard.asterisk.org/r/3789 
 https://reviewboard.asterisk.org/r/3788 
 https://reviewboard.asterisk.org/r/3787 
 https://reviewboard.asterisk.org/r/3786 
 https://reviewboard.asterisk.org/r/3784 
 https://reviewboard.asterisk.org/r/3783 
 https://reviewboard.asterisk.org/r/3778 
 https://reviewboard.asterisk.org/r/3774 
 https://reviewboard.asterisk.org/r/3775 
 https://reviewboard.asterisk.org/r/3772 
 https://reviewboard.asterisk.org/r/3761 
 https://reviewboard.asterisk.org/r/3754 
 https://reviewboard.asterisk.org/r/3753 
 https://reviewboard.asterisk.org/r/3751 
 https://reviewboard.asterisk.org/r/3750 
 https://reviewboard.asterisk.org/r/3748 
 https://reviewboard.asterisk.org/r/3747 
 https://reviewboard.asterisk.org/r/3746 
 https://reviewboard.asterisk.org/r/3742 
 https://reviewboard.asterisk.org/r/3740 
 https://reviewboard.asterisk.org/r/3739 
 https://reviewboard.asterisk.org/r/3738 
 https://reviewboard.asterisk.org/r/3737 
 https://reviewboard.asterisk.org/r/3736 
 https://reviewboard.asterisk.org/r/3734 
 https://reviewboard.asterisk.org/r/3722 
 https://reviewboard.asterisk.org/r/3713 
 https://reviewboard.asterisk.org/r/3703 
 https://reviewboard.asterisk.org/r/3689 
 https://reviewboard.asterisk.org/r/3687 
 https://reviewboard.asterisk.org/r/3674 
 https://reviewboard.asterisk.org/r/3671 
 https://reviewboard.asterisk.org/r/3667 
 https://reviewboard.asterisk.org/r/3665 
 https://reviewboard.asterisk.org/r/3625 
 https://reviewboard.asterisk.org/r/3602 
 https://reviewboard.asterisk.org/r/3519 
 https://reviewboard.asterisk.org/r/3518 
 https://reviewboard.asterisk.org/r/3516 
 https://reviewboard.asterisk.org/r/3515 
 https://reviewboard.asterisk.org/r/3512 
 https://reviewboard.asterisk.org/r/3506 
 https://reviewboard.asterisk.org/r/3413 
 https://reviewboard.asterisk.org/r/3410 
 https://reviewboard.asterisk.org/r/3387 
 https://reviewboard.asterisk.org/r/3388 
 https://reviewboard.asterisk.org/r/3389 
 https://reviewboard.asterisk.org/r/3390 
 https://reviewboard.asterisk.org/r/3321 
 https://reviewboard.asterisk.org/r/3320 
 https://reviewboard.asterisk.org/r/3319 
 https://reviewboard.asterisk.org/r/3318 
 https://reviewboard.asterisk.org/r/3266 
 https://reviewboard.asterisk.org/r/3265 
 https://reviewboard.asterisk.org/r/3234 
 https://reviewboard.asterisk.org/r/3178 
ASTERISK-23114 #close
Reported by: mjordan
  media_formats_translation_core.diff uploaded by kharwell (License 6464)
  rb3506.diff uploaded by mjordan (License 6283)
  media_format_app_file.diff uploaded by kharwell (License 6464) 
  misc-2.diff uploaded by file (License 5000)
  chan_mild-3.diff uploaded by file (License 5000) 
  chan_obscure.diff uploaded by file (License 5000) 
  jingle.diff uploaded by file (License 5000) 
  funcs.diff uploaded by file (License 5000) 
  formats.diff uploaded by file (License 5000) 
  core.diff uploaded by file (License 5000) 
  bridges.diff uploaded by file (License 5000) 
  mf-codecs-2.diff uploaded by file (License 5000) 
  mf-app_fax.diff uploaded by file (License 5000) 
  mf-apps-3.diff uploaded by file (License 5000) 
  media-formats-3.diff uploaded by file (License 5000) 
ASTERISK-23715
  rb3713.patch uploaded by coreyfarrell (License 5909)
  rb3689.patch uploaded by mjordan (License 6283)
  
ASTERISK-23957
  rb3722.patch uploaded by mjordan (License 6283) 
  mf-attributes-3.diff uploaded by file (License 5000) 
ASTERISK-23958
Tested by: jrose
  rb3822.patch uploaded by coreyfarrell (License 5909) 
  rb3800.patch uploaded by jrose (License 6182)
  chan_sip.diff uploaded by mjordan (License 6283) 
  rb3747.patch uploaded by jrose (License 6182)
ASTERISK-23959 #close
Tested by: sgriepentrog, mjordan, coreyfarrell
  sip_cleanup.diff uploaded by opticron (License 6273)
  chan_sip_caps.diff uploaded by mjordan (License 6283) 
  rb3751.patch uploaded by coreyfarrell (License 5909) 
  chan_sip-3.diff uploaded by file (License 5000) 
ASTERISK-23960 #close
Tested by: opticron
  direct_media.diff uploaded by opticron (License 6273) 
  pjsip-direct-media.diff uploaded by file (License 5000) 
  format_cap_remove.diff uploaded by opticron (License 6273) 
  media_format_fixes.diff uploaded by opticron (License 6273) 
  chan_pjsip-2.diff uploaded by file (License 5000) 
ASTERISK-23966 #close
Tested by: rmudgett
  rb3803.patch uploaded by rmudgetti (License 5621)
  chan_dahdi.diff uploaded by file (License 5000) 
  
ASTERISK-24064 #close
Tested by: coreyfarrell, mjordan, opticron, file, rmudgett, sgriepentrog, jrose
  rb3814.patch uploaded by rmudgett (License 5621) 
  moh_cleanup.diff uploaded by opticron (License 6273) 
  bridge_leak.diff uploaded by opticron (License 6273) 
  translate.diff uploaded by file (License 5000) 
  rb3795.patch uploaded by rmudgett (License 5621) 
  tls_fix.diff uploaded by mjordan (License 6283) 
  fax-mf-fix-2.diff uploaded by file (License 5000) 
  rtp_transfer_stuff uploaded by mjordan (License 6283) 
  rb3787.patch uploaded by rmudgett (License 5621) 
  media-formats-explicit-translate-format-3.diff uploaded by file (License 5000) 
  format_cache_case_fix.diff uploaded by opticron (License 6273) 
  rb3774.patch uploaded by rmudgett (License 5621) 
  rb3775.patch uploaded by rmudgett (License 5621) 
  rtp_engine_fix.diff uploaded by opticron (License 6273) 
  rtp_crash_fix.diff uploaded by opticron (License 6273) 
  rb3753.patch uploaded by mjordan (License 6283) 
  rb3750.patch uploaded by mjordan (License 6283) 
  rb3748.patch uploaded by rmudgett (License 5621) 
  media_format_fixes.diff uploaded by opticron (License 6273) 
  rb3740.patch uploaded by mjordan (License 6283) 
  rb3739.patch uploaded by mjordan (License 6283) 
  rb3734.patch uploaded by mjordan (License 6283) 
  rb3689.patch uploaded by mjordan (License 6283) 
  rb3674.patch uploaded by coreyfarrell (License 5909) 
  rb3671.patch uploaded by coreyfarrell (License 5909) 
  rb3667.patch uploaded by coreyfarrell (License 5909) 
  rb3665.patch uploaded by mjordan (License 6283) 
  rb3625.patch uploaded by coreyfarrell (License 5909) 
  rb3602.patch uploaded by coreyfarrell (License 5909) 
  format_compatibility-2.diff uploaded by file (License 5000) 
  core.diff uploaded by file (License 5000) 
  
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@419044  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2014-07-20 22:06:33 +00:00 
						 
				 
			
				
					
						
							
							
								Kinsey Moore 
							
						 
					 
					
						
						
							
						
						8e3815a8ee 
					 
					
						
						
							
							Prevent segfault for interpolated iLBC frames  
						
						... 
						
						
						
						When iLBC is being used with a jitter buffer and the jb has to
interpolate frames, it generates frames with a null pointer and a
non-zero datalen. This is now handled properly.
(closes issue ASTERISK-20914)
Reported By: John McEleney
Patches:
  ASTERISK-20914-1.8.diff uploaded by Matt Jordan (license 6283)
........
Merged revisions 379718 from http://svn.asterisk.org/svn/asterisk/branches/1.8 
........
Merged revisions 379719 from http://svn.asterisk.org/svn/asterisk/branches/11 
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@379721  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2013-01-21 18:47:47 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						b5193428a7 
					 
					
						
						
							
							Enable usage of system-provided iLBC library.  
						
						... 
						
						
						
						The WebRTC version of the iLBC codec is now package as a library and is
available on some platforms. This patch allows codec_ilbc to be built against
that library if it is present.
Review: https://reviewboard.asterisk.org/r/1964/ 
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@370407  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2012-07-23 21:27:56 +00:00 
						 
				 
			
				
					
						
							
							
								Matthew Jordan 
							
						 
					 
					
						
						
							
						
						16adf6de8c 
					 
					
						
						
							
							Include iLBC source code for distribution with Asterisk  
						
						... 
						
						
						
						This patch includes the iLBC source code for distribution with Asterisk.
Clarification regarding the iLBC source code was provided by Google, and
the appropriate licenses have been included in the codecs/ilbc folder.
Review: https://reviewboard.asterisk.org/r/1675 
Review: https://reviewboard.asterisk.org/r/1649 
(closes issue: ASTERISK-18943)
Reporter: Leif Madsen
Tested by: Matt Jordan
........
Merged revisions 351450 from http://svn.asterisk.org/svn/asterisk/branches/1.8 
........
Merged revisions 351451 from http://svn.asterisk.org/svn/asterisk/branches/10 
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@351452  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2012-01-18 21:06:29 +00:00 
						 
				 
			
				
					
						
							
							
								Leif Madsen 
							
						 
					 
					
						
						
							
						
						a525edea59 
					 
					
						
						
							
							Merged revisions 328247 via svnmerge from  
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.10 
................
  r328247 | lmadsen | 2011-07-14 16:25:31 -0400 (Thu, 14 Jul 2011) | 14 lines
  
  Merged revisions 328209 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.8 
  
  ........
    r328209 | lmadsen | 2011-07-14 16:13:06 -0400 (Thu, 14 Jul 2011) | 6 lines
    
    Introduce <support_level> tags in MODULEINFO.
    This change introduces MODULEINFO into many modules in Asterisk in order to show
    the community support level for those modules. This is used by changes committed
    to menuselect by Russell Bryant recently (r917 in menuselect). More information about
    the support level types and what they mean is available on the wiki at
    https://wiki.asterisk.org/wiki/display/AST/Asterisk+Module+Support+States 
  ........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@328259  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
					
						2011-07-14 20:28:54 +00:00 
						 
				 
			
				
					
						
							
							
								Paul Belanger 
							
						 
					 
					
						
						
							
						
						3556e4c2d4 
					 
					
						
						
							
							Replace ast_log(LOG_DEBUG, ...) with ast_debug()  
						
						... 
						
						
						
						(closes issue #18556 )
Reported by: kkm
Review: https://reviewboard.asterisk.org/r/1071/ 
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306258  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2011-02-04 16:55:39 +00:00 
						 
				 
			
				
					
						
							
							
								David Vossel 
							
						 
					 
					
						
						
							
						
						9f65acf33e 
					 
					
						
						
							
							Fix compile error in codec ilbc translator.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306257  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2011-02-04 16:42:15 +00:00 
						 
				 
			
				
					
						
							
							
								David Vossel 
							
						 
					 
					
						
						
							
						
						c26c190711 
					 
					
						
						
							
							Asterisk media architecture conversion - no more format bitfields  
						
						... 
						
						
						
						This patch is the foundation of an entire new way of looking at media in Asterisk.
The code present in this patch is everything required to complete phase1 of my
Media Architecture proposal.  For more information about this project visit the link below.
https://wiki.asterisk.org/wiki/display/AST/Media+Architecture+Proposal 
The primary function of this patch is to convert all the usages of format
bitfields in Asterisk to use the new format and format_cap APIs.  Functionally
no change in behavior should be present in this patch.  Thanks to twilson
and russell for all the time they spent reviewing these changes.
Review: https://reviewboard.asterisk.org/r/1083/ 
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@306010  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2011-02-03 16:22:10 +00:00 
						 
				 
			
				
					
						
							
							
								David Vossel 
							
						 
					 
					
						
						
							
						
						8a80c1bd8c 
					 
					
						
						
							
							Fixes merging issue from 1.4, frame data is held in data.ptr in trunk  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228441  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2009-11-06 17:22:31 +00:00 
						 
				 
			
				
					
						
							
							
								David Vossel 
							
						 
					 
					
						
						
							
						
						ee5ecf3c3e 
					 
					
						
						
							
							Merged revisions 228418 via svnmerge from  
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
  r228418 | dvossel | 2009-11-06 11:07:13 -0600 (Fri, 06 Nov 2009) | 13 lines
  
  fixes segfault in iLBC
  
  For reasons not yet known, it appears possible for an ast_frame
  to have a datalen greater than zero while the actual data is NULL
  during Packet Loss Concealment.  Most codecs don't support PLC so
  this doesn't affect them.  This patch catches the malformed frame
  and prevents the crash from occuring.  Additional efforts to determine
  why it is possible for a frame to look like this are still being
  investigated.
  
  (issue #16979 )
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@228420  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
					
						2009-11-06 17:09:01 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Parker 
							
						 
					 
					
						
						
							
						
						ae0a736353 
					 
					
						
						
							
							Merge codec_consistency branch.  This should make sample usage much happier.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@150729  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-10-17 21:35:23 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						7b84cf6fa6 
					 
					
						
						
							
							Convert casts to unions, to fix alignment issues on Solaris  
						
						... 
						
						
						
						(closes issue #12932 )
 Reported by: snuffy
 Patches: 
       bug_12932_20080627.diff uploaded by snuffy (license 35)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@125386  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-06-26 17:06:17 +00:00 
						 
				 
			
				
					
						
							
							
								Donny Kavanagh 
							
						 
					 
					
						
						
							
						
						2433d6ecb9 
					 
					
						
						
							
							Revision 117802 changed frame.data to frame.data.ptr however codec_ilbc.c was not updated.  This resolves that oversight.  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@121599  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2008-06-10 19:03:11 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						789831ef9a 
					 
					
						
						
							
							Merged revisions 110880 via svnmerge from  
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
................
r110880 | kpfleming | 2008-03-26 09:42:35 -0700 (Wed, 26 Mar 2008) | 10 lines
Merged revisions 110869 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.2 
........
r110869 | kpfleming | 2008-03-26 08:53:46 -0700 (Wed, 26 Mar 2008) | 2 lines
due to licensing restrictions, we cannot distribute the source code for iLBC encoding and decoding... so remove it, and add instructions on how the user can obtain it themselves
........
................
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@110881  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
					
						2008-03-26 17:10:28 +00:00 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						3fc2646808 
					 
					
						
						
							
							remove a number of #include <fcntl.h> which are either  
						
						... 
						
						
						
						useless or done elsewhere
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89516  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-22 01:03:02 +00:00 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						7bcf0529c5 
					 
					
						
						
							
							remove some useless includes from codecs  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89428  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-19 19:51:55 +00:00 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						0595b5e2aa 
					 
					
						
						
							
							include "logger.h" and errno.h from asterisk.h - usage shows that they  
						
						... 
						
						
						
						were included almost everywhere.
Remove some of the instances.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89424  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-19 18:52:04 +00:00 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						fdb7f7ba3d 
					 
					
						
						
							
							Start untangling header inclusion in a way that does not affect  
						
						... 
						
						
						
						build times - tested, there is no measureable difference before and
after this commit.
In this change:
use asterisk/compat.h to include a small set of system headers:
inttypes.h, unistd.h, stddef.h, stddint.h, sys/types.h, stdarg.h,
stdlib.h, alloca.h, stdio.h
Where available, the inclusion is conditional on HAVE_FOO_H as determined
by autoconf.
Normally, source files should not include any of the above system headers,
and instead use either "asterisk.h" or "asterisk/compat.h" which does it
better. 
For the time being I have left alone second-level directories
(main/db1-ast, etc.).
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@89333  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-11-16 20:04:58 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Parker 
							
						 
					 
					
						
						
							
						
						59c9ff7ef2 
					 
					
						
						
							
							More changes to change return values from load_module functions.  
						
						... 
						
						
						
						(issue #11096 )
Patches:
      codec_adpcm.c.patch uploaded by moy (license 222)
      codec_alaw.c.patch uploaded by moy (license 222)
      codec_a_mu.c.patch uploaded by moy (license 222)
      codec_g722.c.patch uploaded by moy (license 222)
      codec_g726.c.diff uploaded by moy (license 222)
      codec_gsm.c.patch uploaded by moy (license 222)
      codec_ilbc.c.patch uploaded by moy (license 222)
      codec_lpc10.c.patch uploaded by moy (license 222)
      codec_speex.c.patch uploaded by moy (license 222)
      codec_ulaw.c.patch uploaded by moy (license 222)
      codec_zap.c.patch uploaded by moy (license 222)
      format_g723.c.patch uploaded by moy (license 222)
      format_g726.c.patch uploaded by moy (license 222)
      format_g729.c.patch uploaded by moy (license 222)
      format_gsm.c.patch uploaded by moy (license 222)
      format_h263.c.patch uploaded by moy (license 222)
      format_h264.c.patch uploaded by moy (license 222)
      format_ilbc.c.patch uploaded by moy (license 222)
      format_jpeg.c.patch uploaded by moy (license 222)
      format_ogg_vorbis.c.patch uploaded by moy (license 222)
      format_pcm.c.patch uploaded by moy (license 222)
      format_sln.c.patch uploaded by moy (license 222)
      format_vox.c.patch uploaded by moy (license 222)
      format_wav.c.patch uploaded by moy (license 222)
      format_wav_gsm.c.patch uploaded by moy (license 222)
      res_adsi.c.patch uploaded by eliel (license 64)
      res_ael_share.c.patch uploaded by eliel (license 64)
      res_clioriginate.c.patch uploaded by eliel (license 64)
      res_convert.c.patch uploaded by eliel (license 64)
      res_indications.c.patch uploaded by eliel (license 64)
      res_musiconhold.c.patch uploaded by eliel (license 64)
      res_smdi.c.patch uploaded by eliel (license 64)
      res_speech.c.patch uploaded by eliel (license 64)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@87889  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2007-10-31 19:24:29 +00:00 
						 
				 
			
				
					
						
							
							
								Jason Parker 
							
						 
					 
					
						
						
							
						
						4aaa1d1ec1 
					 
					
						
						
							
							Merged revisions 65877 via svnmerge from  
						
						... 
						
						
						
						https://origsvn.digium.com/svn/asterisk/branches/1.4 
........
r65877 | qwell | 2007-05-24 11:14:02 -0400 (Thu, 24 May 2007) | 4 lines
Fix handling of zero-length frames when a codec is capable of native PLC.
Issue 9183, patch by Mihai.
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@65903  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
					
						2007-05-24 15:28:29 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						c63fe750bb 
					 
					
						
						
							
							minor performance improvement  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@42477  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-09-08 21:33:32 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						0a27d8bfe5 
					 
					
						
						
							
							merge new_loader_completion branch, including (at least):  
						
						... 
						
						
						
						- restructured build tree and makefiles to eliminate recursion problems
  - support for embedded modules
  - support for static builds
  - simpler cross-compilation support
  - simpler module/loader interface (no exported symbols)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@40722  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-08-21 02:11:39 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						4517f3447d 
					 
					
						
						
							
							pointer signedness warnings  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37299  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-07-07 16:11:39 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						e61d3d91f3 
					 
					
						
						
							
							The Eurostar Commit! (it's amazing how much work you can get done on a 150 minute train ride from Paris to London <G>)  
						
						... 
						
						
						
						support the new location for zaptel.h and tonezone.h
use the dependency information output by menuselect to build Makefile rules for each module for header files and libraries
combine the common rules into a top-level Makefile.rules file
remove all (now) unnecessary stuff from subdir Makefiles
change translator API so that the newpvt() callback returns an int instead of a pointer (it no longer allocates memory)
alphabetize --with-<foo> options in configure script
enhance Net-SNMP support in configure script to provide a --with-netsnmp option
fix support for --with-pq so that if pg-config is not found when --with-pq is specified, an error will be generated
add 'optional package' usage to modules now that menuselect can output it
allow res_snmp to build by default, since the new loader changes coming soon will solve the function naming problem (and users can disable it via menuselect anyway)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@35832  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-06-24 19:43:31 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						472c1ca282 
					 
					
						
						
							
							simplify autoconfig include mechanism (make tholo happy he can use lint again :-)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@32846  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-06-07 18:54:56 +00:00 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						e43bc6634d 
					 
					
						
						
							
							This rather large commit changes the way modules are loaded.  
						
						... 
						
						
						
						As partly documented in loader.c and include/asterisk/module.h,
modules are now expected to return all of their methods and flags
into a structure 'mod_data', and are normally loaded with RTLD_NOW
| RTLD_LOCAL, so symbols are resolved immediately and conflicts
should be less likely.  Only in a small number of cases (res_*,
typically) modules are loaded RTLD_GLOBAL, so they can export
symbols.
 
The core of the change is only the two files loader.c and
include/asterisk/module.h, all the rest is simply adaptation of the
existing modules to the new API, a rather mechanical (but believe
me, time and finger-consuming!) process whose detail you can figure
out by svn diff'ing any single module.
Expect some minor compilation issue after this change, please
report it on mantis http://bugs.digium.com/view.php?id=6968 
so we collect all the feedback in one place.
I am just sorry that this change missed SVN version number 20000!
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@20003  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-04-14 14:08:19 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						f10f427d49 
					 
					
						
						
							
							since the module API is changing, it's a good time to const-ify the description() and key() return values  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18552  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-04-08 22:01:19 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						1bba6ec6fc 
					 
					
						
						
							
							merge rizzo's codec module rework (very similar to the format module rework)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@18541  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-04-08 21:40:57 +00:00 
						 
				 
			
				
					
						
							
							
								Luigi Rizzo 
							
						 
					 
					
						
						
							
						
						2326d0d499 
					 
					
						
						
							
							Bring in the new loader code as described in mantis  #4377  
						
						... 
						
						
						
						and updated to today's version.
The core of the patch is only two files, loader.c
and include/asterisk/module.h, with the other files
touched only to adapt non-standard usages of the
reference counts and localuser lists.
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@15784  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-03-28 21:15:10 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						b0ac62573a 
					 
					
						
						
							
							revert loader changes that have clearly not undergone adequate testing before commit  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14952  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-03-25 23:22:44 +00:00 
						 
				 
			
				
					
						
							
							
								Tilghman Lesher 
							
						 
					 
					
						
						
							
						
						bdd24455b4 
					 
					
						
						
							
							Bug 4377 - Round 2 of the loader updates  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@14886  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-03-25 06:02:46 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						fbdc8ce317 
					 
					
						
						
							
							conversions to use allocation wrappers (issue  #6277 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@8381  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2006-01-21 08:45:39 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						2c65582b66 
					 
					
						
						
							
							remove extraneous svn:executable properties  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@7221  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-29 18:24:39 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						31a804b97c 
					 
					
						
						
							
							issue  #5605  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6979  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-11-06 15:09:47 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						6324072247 
					 
					
						
						
							
							more doxygenification (issue  #5513 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6852  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-10-26 13:03:17 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						5da915dcfd 
					 
					
						
						
							
							update MANY more files with proper copyright/license info (thanks Ian!)  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6596  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-09-14 20:46:50 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						2b8338cb52 
					 
					
						
						
							
							more file version tags  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5866  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-06-06 22:12:19 +00:00 
						 
				 
			
				
					
						
							
							
								Kevin P. Fleming 
							
						 
					 
					
						
						
							
						
						1f9ab2380a 
					 
					
						
						
							
							use double-quotes instead of angle-brackets for non-system include files (bug  #4058 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5490  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-04-21 06:02:45 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						7082d0584e 
					 
					
						
						
							
							Add PLC and jitter buffer and iax2 meta trunk with timestamps (bug  #2532 ,  #3400 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5192  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-03-17 21:30:19 +00:00 
						 
				 
			
				
					
						
							
							
								Russell Bryant 
							
						 
					 
					
						
						
							
						
						0c30452423 
					 
					
						
						
							
							update copyright headers for 2005  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4868  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2005-01-21 07:06:25 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						d4ff9abc61 
					 
					
						
						
							
							Update to new iLBC codec  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3997  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-10-14 05:15:48 +00:00 
						 
				 
			
				
					
						
							
							
								James Golovich 
							
						 
					 
					
						
						
							
						
						8801247d76 
					 
					
						
						
							
							Remove pthread.h from source.  We should be using asterisk/lock.h everywhere instead (except in asterisk/lock.h).  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3276  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-06-22 18:49:00 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						727abcdec7 
					 
					
						
						
							
							Merge FreeBSD locking fixes (bug  #1411 )  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@3176  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-06-09 01:45:08 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						a640df56e6 
					 
					
						
						
							
							Fix iLBC with valgrind, add iLBC format from bkw_  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@2740  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2004-04-22 03:34:13 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						1bb58646de 
					 
					
						
						
							
							Totally revamp thread debugging to support locating and removing deadlocks  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1310  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2003-08-13 15:25:16 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						f37357f371 
					 
					
						
						
							
							Use 50 bytes instead of 52 bytes on ilbc  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@862  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2003-04-17 14:51:49 +00:00 
						 
				 
			
				
					
						
							
							
								Mark Spencer 
							
						 
					 
					
						
						
							
						
						c4da749362 
					 
					
						
						
							
							Add iLBC codec  
						
						... 
						
						
						
						git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@852  65c4cc65-6c06-0410-ace0-fbb531ad65f3 
						
						
					 
					
						2003-04-15 04:36:52 +00:00