[asterisk-bugs] [Asterisk 0017005]: [patch] Asterisk sends session-timer with "require" after 15 minutes

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Aug 25 10:52:53 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17005 
====================================================================== 
Reported By:                alexrecarey
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   17005
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Target Version:             1.6.2.13
Asterisk Version:           SVN 
JIRA:                       SWP-1067 
Regression:                 No 
Reviewboard Link:           https://reviewboard.asterisk.org/r/698/ 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-03-10 21:02 CST
Last Modified:              2010-08-25 10:52 CDT
====================================================================== 
Summary:                    [patch] Asterisk sends session-timer with "require"
after 15 minutes
Description: 
When asterisk is set to defaults in session timer handling, after 15
minutes it will send a re-invite with the "required" tag.

This will cause an asterisk server with session-timers=refuse setting to
respond with a sip 420 and disconnect the call.

According to developer documentation at
https://issues.asterisk.org/file_download.php?file_id=15454&type=bug
asterisk should NEVER send a session timer with the "require" tag even if
set to session-timers=force

This issue is easily reproduced by registering a sip client with one
asterisk, set to session-timers=refuse, and place a call to another
asterisk with default session-timers settings. After exactly 15 minutes the
call will drop.

I have included a SIP Trace of the last 30 seconds of the call.
====================================================================== 

---------------------------------------------------------------------- 
 (0126315) svnbot (reporter) - 2010-08-25 10:52
 https://issues.asterisk.org/view.php?id=17005#c126315 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 283558

U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r283558 | dvossel | 2010-08-25 10:52:52 -0500 (Wed, 25 Aug 2010) | 10
lines

Asterisk will not advertise session timers are supported when
'session-timers=refuse' is used.

Asterisk now dynamically builds the "Supported" header depending
on what is enabled/disabled in sip.conf.  Session timers used
to always be advertised as being supported even when they were disabled
in the configuration.  This caused problems with some end points.

(issue https://issues.asterisk.org/view.php?id=17005)


------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=283558 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-08-25 10:52 svnbot         Checkin                                      
2010-08-25 10:52 svnbot         Note Added: 0126315                          
======================================================================




More information about the asterisk-bugs mailing list