Review Board 1.7.16


SIP Session-Expires: Set timer to correctly expire at (~2/3) of the expiry interval when not the refresher.

Review Request #2488 - Created May 1, 2013 and submitted

Alec Davis
1.8 to trunk
ASTERISK-21742
Reviewers
asterisk-dev
Asterisk
RFC 4028 Section 10

	if the side not performing refreshes does not receive a
	session refresh request before the session expiration, it SHOULD send
	a BYE to terminate the session, slightly before the session
	expiration.  The minimum of 32 seconds and one third of the session
	interval is RECOMMENDED.

asterisk to phone.
Phone's Session-Expires: 120

[Apr 30 22:49:20] NOTICE[12686][C-00000000]: chan_sip.c:29006 start_session_timer: Session timer started: 104 - 50a7397219b8f47e192f74e81f3b125e@192.168.x.y:5060 88000ms
<<<<<  pull ethernet on phone >>
<<<<<  88 seconds later       >>
[Apr 30 22:50:48] WARNING[12686]: chan_sip.c:29042 proc_session_timer: Session-Timer expired - 50a7397219b8f47e192f74e81f3b125e@192.168.x.y:5060


Phone to Asterisk, No Session-Expires
Asterisk's Session-Expires: 300
[Apr 30 23:47:02] NOTICE[12857][C-00000001]: chan_sip.c:29006 start_session_timer: Session timer started: 99 - 7160947918a9977c@192.168.124.73 150000ms
Review request changed
Updated (May 7, 2013, 8:38 a.m.)
  • changed from pending to submitted
Committed in revision 387797

https://reviewboard.asterisk.org/ runs on a server provided by Digium, Inc. and uses bandwidth donated to the open source Asterisk community by API Digital Communications in Huntsville, AL USA.
Please report problems with this site to asteriskteam@digium.com.