asterisk/bridges
Kevin Harwell 5c89e951bc 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/


git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@432174 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2015-02-24 18:22:58 +00:00
..
bridge_builtin_features.c Enable REF_DEBUG for ast_module_ref / ast_module_unref. 2015-02-11 15:38:39 +00:00
bridge_multiplexed.c Finalize ast_channel opaquification 2012-03-13 18:20:34 +00:00
bridge_simple.c Opaquification for ast_format structs in struct ast_channel 2012-02-24 00:32:20 +00:00
bridge_softmix.c bridge_softmix: G.729 codec license held 2015-02-24 18:22:58 +00:00
Makefile Merge phase 1 support for the new bridging architecture. 2009-03-05 18:18:27 +00:00