asterisk/channels
Matthew Jordan b8dba87a4c Fixed crash from orphaned MWI subscriptions in chan_sip
This patch resolves the issue where MWI subscriptions are orphaned
by subsequent SIP SUBSCRIBE messages.  When a peer is removed, either
by pruning realtime SIP peers or by unloading / loading chan_sip, the
MWI subscriptions that were orphaned would still be on the event engine
list of valid subscriptions but have a pointer to a peer that no longer
was valid.  When an MWI event would occur, this would cause a seg fault.

(closes issue ASTERISK-18663)
Reported by: Ross Beer
Tested by: Ross Beer, Matt Jordan
Patches:
  blf_mwi_diff_12_06_11.txt uploaded by Matt Jordan (license 6283)

Review: https://reviewboard.asterisk.org/r/1610/
........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@347069 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2011-12-06 17:34:35 +00:00
..
h323 Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
misdn Merged revisions 319469 via svnmerge from 2011-05-17 22:04:59 +00:00
sip Restore SIP DTMF overlap dialing method. 2011-11-14 22:05:39 +00:00
xpmr AST-2009-005 2009-08-10 19:20:57 +00:00
chan_agent.c Merged revisions 335991 via svnmerge from 2011-09-15 08:40:07 +00:00
chan_alsa.c Merged revisions 335078 via svnmerge from 2011-09-09 16:28:23 +00:00
chan_bridge.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
chan_console.c Merged revisions 335078 via svnmerge from 2011-09-09 16:28:23 +00:00
chan_dahdi.c Restore call progress code for analog ports. 2011-12-05 17:44:15 +00:00
chan_gtalk.c Fix res_jabber resource leaks 2011-11-23 17:16:33 +00:00
chan_h323.c Merged revisions 346763 via svnmerge from 2011-12-02 18:03:31 +00:00
chan_iax2.c Fix calls to ast_get_ip() not initializing the address family. 2011-11-23 23:03:32 +00:00
chan_jingle.c Fix res_jabber resource leaks 2011-11-23 17:16:33 +00:00
chan_local.c Fix typo from r333070 2011-08-24 19:27:15 +00:00
chan_mgcp.c More parking issues. 2011-10-18 21:15:45 +00:00
chan_misdn.c mISDN Round Robin break when no channel is available 2011-11-12 16:32:45 +00:00
chan_multicast_rtp.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
chan_nbs.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
chan_oss.c Merged revisions 335078 via svnmerge from 2011-09-09 16:28:23 +00:00
chan_phone.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +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 Fixed crash from orphaned MWI subscriptions in chan_sip 2011-12-06 17:34:35 +00:00
chan_skinny.c Allow each logging destination and console to have its own notion of the verbosity level. 2011-11-29 18:43:16 +00:00
chan_unistim.c Remove the few places where we try to ast_verbose() without a newline. 2011-11-30 23:38:34 +00:00
chan_usbradio.c Allow each logging destination and console to have its own notion of the verbosity level. 2011-11-29 18:43:16 +00:00
chan_vpb.cc chan_vpb: remove unused variables (gcc4.6) 2011-08-28 09:57:47 +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 Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
console_video.c Merged revisions 284597 via svnmerge from 2010-09-02 05:02:54 +00:00
console_video.h implement the 'freeze' function for incoming frames; 2008-06-30 15:45:15 +00:00
iax2-parser.c Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
iax2-parser.h Asterisk media architecture conversion - no more format bitfields 2011-02-03 16:22:10 +00:00
iax2-provision.c Merged revisions 317474 via svnmerge from 2011-05-05 22:44:52 +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
Makefile Extract sig_ss7 out of chan_dahdi. 2010-06-07 20:04:42 +00:00
misdn_config.c Merged revisions 317478 via svnmerge from 2011-05-05 22:55:09 +00:00
sig_analog.c Restore call progress code for analog ports. 2011-12-05 17:44:15 +00:00
sig_analog.h Restore call progress code for analog ports. 2011-12-05 17:44:15 +00:00
sig_pri.c Remove dead code since pri_grab() can never fail. 2011-11-17 17:31:16 +00:00
sig_pri.h Merged revisions 332265 via svnmerge from 2011-08-17 16:18:27 +00:00
sig_ss7.c Add protection for SS7 channel allocation and better glare handling. 2011-10-11 21:06:55 +00:00
sig_ss7.h Add protection for SS7 channel allocation and better glare handling. 2011-10-11 21:06:55 +00:00
vcodecs.c Const-ify the world (or at least a good part of it) 2009-05-21 21:13:09 +00:00
vgrabbers.c free memory used by the x11 grabber when closing it. 2008-07-14 16:50:54 +00:00