asterisk/bridges
Richard Mudgett 0ddcee5a46 Softmix: Fix crash when switching from softmix to another bridge technology.
The crash is caused by a race condition when switching between native RTP
and softmix bridging technologies.  In this situation, the bridging
technology is switched from native RTP to softmix, and then back to native
RTP fast enough that the softmix private data gets destroyed before the
softmix mixing thread gets started.

Thanks to Kinsey Moore for the crash analysis.

* Fix race condition when starting the softmix mixing thread and switching
to another bridge technology.

(closes issue ASTERISK-22678)
Reported by: John Bigelow
Patches:
      jira_asterisk_22678_v12.patch (license #5621) patch uploaded by rmudgett
Tested by: John Bigelow
........

Merged revisions 400849 from http://svn.asterisk.org/svn/asterisk/branches/12


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@400850 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2013-10-11 16:28:50 +00:00
..
Makefile Title update 2012-10-14 21:56:13 +00:00
bridge_builtin_features.c Bridge API: Set a cause code on a channel when it is ejected from a bridge. 2013-08-22 21:09:52 +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 Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
bridge_native_rtp.c Fix assumption in bridge_native_rtp.c regarding number of participants in a bridge. 2013-10-03 20:22:17 +00:00
bridge_simple.c Cache string values of formats on ast_format_cap() to save processing. 2013-10-03 14:58:16 +00:00
bridge_softmix.c Softmix: Fix crash when switching from softmix to another bridge technology. 2013-10-11 16:28:50 +00:00