[asterisk-bugs] [Asterisk 0015621]: [patch] session-expires default timer wrong

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Sep 7 08:18:21 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15621 
====================================================================== 
Reported By:                fnordian
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   15621
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     closed
Target Version:             1.6.1.6
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.1 
SVN Revision (number only!): 209451 
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2009-07-31 04:13 CDT
Last Modified:              2009-09-07 08:18 CDT
====================================================================== 
Summary:                    [patch] session-expires default timer wrong
Description: 
There is a bug in chan_sip which causes asterisk to set invalid
session-expires-header in 200 OK after invites. My guess is that it's been
there for a long time but got activated with bugfix 15403. 

The problem is, that for invites without session-expires-headers a reply
is generated with Session-Expires: -1;refresher=uas causing the uac to
hangup the call with BYE immediately. 

A workaround is setting session-timers=refuse in sip.conf
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0015403 [patch] Session timer is not activated
====================================================================== 

---------------------------------------------------------------------- 
 (0110286) svnbot (reporter) - 2009-09-07 08:18
 https://issues.asterisk.org/view.php?id=15621#c110286 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 216698

_U  branches/1.6.2/
U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r216698 | oej | 2009-09-07 08:18:20 -0500 (Mon, 07 Sep 2009) | 16 lines

Merged revisions 216695 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

........
r216695 | oej | 2009-09-07 15:06:19 +0200 (M?\195?\131?\194?\165n, 07 Sep
2009) | 8 lines

If there is no session timer in the INVITE, set it to default value (not
unset minimum = -1)

Patch by oej

closes issue https://issues.asterisk.org/view.php?id=15621
Reported by: fnordian
Tested by: atis

........

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-09-07 08:18 svnbot         Checkin                                      
2009-09-07 08:18 svnbot         Note Added: 0110286                          
======================================================================




More information about the asterisk-bugs mailing list