asterisk/bridges
Kevin Harwell 91733b5d15 bridge_softmix: G.729 codec license held
When more than one call using the same codec type enters into a softmix bridge
and no audio is present for a channel the bridge optimizes the out frame by
using the same one for all channels with the same codec type. Unfortunately,
when that number (channels with same codec type) dropped to <= 1 the codec
was not dereferenced. At least not until all parties left the bridge. Thus in
the case of G.729 the license was not released. This patch ensures that the
codec is dereferenced immediately when the optimization no longer applies.

ASTERISK-24797 #close
Reported by: Luke Hulsey
Review: https://reviewboard.asterisk.org/r/4429/
........

Merged revisions 432174 from http://svn.asterisk.org/svn/asterisk/branches/11
........

Merged revisions 432175 from http://svn.asterisk.org/svn/asterisk/branches/13


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@432176 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-02-24 18:38:03 +00:00
..
Makefile Title update 2012-10-14 21:56:13 +00:00
bridge_builtin_features.c Enable REF_DEBUG for ast_module_ref / ast_module_unref. 2015-02-11 17:03:04 +00:00
bridge_builtin_interval_features.c Handle DTMF and hold wrapup when a channel leaves the bridging system. 2013-08-23 18:33:36 +00:00
bridge_holding.c media formats: re-architect handling of media for performance improvements 2014-07-20 22:06:33 +00:00
bridge_native_rtp.c bridge_native_rtp: Change local/remote message from debug/2 to verb/4 2015-01-06 17:49:03 +00:00
bridge_simple.c media formats: re-architect handling of media for performance improvements 2014-07-20 22:06:33 +00:00
bridge_softmix.c bridge_softmix: G.729 codec license held 2015-02-24 18:38:03 +00:00