asterisk/channels
Terry Wilson fb5924ebe8 Don't prematurely stop SIP session timer
When Asterisk is the UAS (incoming call, endpoint is re-inviting) the SIP session timer expires after half the time the sip endpoint indicates in the Session-expires header in proc_session_timer(). The session timer was being stopped totally and being handled as an error case instead of running again until the second expiry. This patch treats the half-time expiry as a non-error case and continues the timer until the true expiry.

(closes issue ASTERISK-18996)
Reported by: Thomas Arimont
Tested by: Thomas Arimont
Patches: session_timer_fix.diff by Terry Wilson (License #5357)
  based on session_timer.patch by Thomas Arimont (License #5525)
........

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

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


git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@351082 65c4cc65-6c06-0410-ace0-fbb531ad65f3
2012-01-16 20:15:24 +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 Set port to a default sane value if a bogus one is provided when parsing hostnames. 2012-01-13 20:32:19 +00:00
xpmr AST-2009-005 2009-08-10 19:20:57 +00:00
Makefile Extract sig_ss7 out of chan_dahdi. 2010-06-07 20:04:42 +00:00
chan_agent.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_alsa.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_bridge.c Fix crash from bridge channel hangup race condition in ConfBridge 2012-01-13 16:48:06 +00:00
chan_console.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_dahdi.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_gtalk.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_h323.c Multiple revisions 350788-350789 2012-01-14 15:51:43 +00:00
chan_iax2.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_jingle.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_local.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_mgcp.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_misdn.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_multicast_rtp.c Merged revisions 328247 via svnmerge from 2011-07-14 20:28:54 +00:00
chan_nbs.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_oss.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_phone.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +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 Don't prematurely stop SIP session timer 2012-01-16 20:15:24 +00:00
chan_skinny.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_unistim.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_usbradio.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
chan_vpb.cc Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +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 Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +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
misdn_config.c Merged revisions 317478 via svnmerge from 2011-05-05 22:55:09 +00:00
sig_analog.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
sig_analog.h Restore call progress code for analog ports. 2011-12-05 17:44:15 +00:00
sig_pri.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +00:00
sig_pri.h Merged revisions 332265 via svnmerge from 2011-08-17 16:18:27 +00:00
sig_ss7.c Replace direct access to channel name with accessor functions 2012-01-09 22:15:50 +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