asterisk/channels
Richard Mudgett 0f71b29e2f Fix POTS flash hook to orignate a second call deadlock.
A deadlock can occur when a POTS phone tries to flash hook to originate a
second call for 3-way or transfer.  If another process is scanning the
channels container when the POTS line flash hooks then a deadlock will
occur.

* Release the channel and private locks when creating a new channel as a
result of a flash hook.

(closes issue ASTERISK-19842)
Reported by: rmudgett
Tested by: rmudgett
........

Merged revisions 368644 from http://svn.asterisk.org/svn/asterisk/branches/1.8
........

Merged revisions 368645 from http://svn.asterisk.org/svn/asterisk/branches/10


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@368646 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-06-06 21:34:10 +00:00
..
h323 Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
misdn Correct some set-but-unused variable warnings in the mISDN library. 2012-02-22 21:10:05 +00:00
sip Merge changes dealing with support for Digium phones. 2012-06-04 20:26:12 +00:00
Makefile Extract sig_ss7 out of chan_dahdi. 2010-06-07 20:04:42 +00:00
chan_agent.c Coverity Report: Fix issues for error type REVERSE_INULL (core modules) 2012-05-31 18:39:30 +00:00
chan_alsa.c Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE) 2012-05-14 19:44:27 +00:00
chan_bridge.c Finalize ast_channel opaquification 2012-03-13 18:20:34 +00:00
chan_console.c Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE) 2012-05-14 19:44:27 +00:00
chan_dahdi.c Fix POTS flash hook to orignate a second call deadlock. 2012-06-06 21:34:10 +00:00
chan_gtalk.c Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE) 2012-05-14 19:44:27 +00:00
chan_h323.c Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE) 2012-05-14 19:44:27 +00:00
chan_iax2.c Coverity Report: Fix issues for error type REVERSE_INULL (core modules) 2012-05-31 18:39:30 +00:00
chan_jingle.c Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE) 2012-05-14 19:44:27 +00:00
chan_local.c Convert AST_FLAG_ANSWERED_ELSEWHERE usage to AST_CAUSE_ANSWERED_ELSEWHERE 2012-06-05 14:41:43 +00:00
chan_mgcp.c Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE) 2012-05-14 19:44:27 +00:00
chan_misdn.c Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE) 2012-05-14 19:44:27 +00:00
chan_multicast_rtp.c Opaquification for ast_format structs in struct ast_channel 2012-02-24 00:32:20 +00:00
chan_nbs.c Opaquification for ast_format structs in struct ast_channel 2012-02-24 00:32:20 +00:00
chan_oss.c Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE) 2012-05-14 19:44:27 +00:00
chan_phone.c Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE) 2012-05-14 19:44:27 +00:00
chan_phone.h rename DialTone.h to chan_phone.h because chan_phone.c is the only file using it 2008-05-28 20:00:21 +00:00
chan_sip.c Fix a specific scenario where ACKs are not matched. 2012-06-06 19:25:44 +00:00
chan_sip.exports.in Merge changes dealing with support for Digium phones. 2012-06-04 20:26:12 +00:00
chan_skinny.c Merge changes dealing with support for Digium phones. 2012-06-04 20:26:12 +00:00
chan_unistim.c Convert AST_FLAG_ANSWERED_ELSEWHERE usage to AST_CAUSE_ANSWERED_ELSEWHERE 2012-06-05 14:41:43 +00:00
chan_vpb.cc Commit framework for HANGUPCAUSE (replacement for SIP_CAUSE) 2012-05-14 19:44:27 +00:00
console_board.c import the recent additions for video console into trunk, 2008-06-29 21:17:14 +00:00
console_gui.c Add missing newlines to CLI logging 2012-04-06 18:19:03 +00:00
console_video.c Add missing newlines to CLI logging 2012-04-06 18:19:03 +00:00
console_video.h implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
iax2-parser.c Made use IAX frame cache only for cacheable frame types. 2012-05-24 00:36:19 +00:00
iax2-parser.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
iax2-provision.c Coverity Report: Fix issues for error type CHECKED_RETURN for core 2012-05-10 18:35:14 +00:00
iax2-provision.h Don't reload a configuration file if nothing has changed. 2007-08-16 21:09:46 +00:00
iax2.h Media Project Phase2: SILK 8khz-24khz, SLINEAR 8khz-192khz, SPEEX 32khz, hd audio ConfBridge, and other stuff 2011-02-22 23:04:49 +00:00
misdn_config.c Merged revisions 317478 via svnmerge from 2011-05-05 22:55:09 +00:00
sig_analog.c Fix POTS flash hook to orignate a second call deadlock. 2012-06-06 21:34:10 +00:00
sig_analog.h push 'outgoing' flag from sig_XXX up to chan_dahdi 2012-02-18 08:02:08 +00:00
sig_pri.c Fix deadlock when executing CLI "pri show channels" and "ss7 show channels" commands. 2012-05-30 17:50:38 +00:00
sig_pri.h Clear ISDN channel resetting state if the peer continues to use it. 2012-04-25 19:55:12 +00:00
sig_ss7.c Fix deadlock when executing CLI "pri show channels" and "ss7 show channels" commands. 2012-05-30 17:50:38 +00:00
sig_ss7.h Setup DSP when SS7 call is connected or early media is available. 2012-03-05 21:48:32 +00:00
vcodecs.c Avoid cppcheck warnings; removing unused vars and a bit of cleanup. 2012-04-17 18:57:40 +00:00
vgrabbers.c free memory used by the x11 grabber when closing it. 2008-07-14 16:50:54 +00:00