[asterisk-bugs] [Asterisk 0018804]: [patch] session-timers=refuse is not enforced for *caller*

Asterisk Bug Tracker noreply at bugs.digium.com
Wed May 4 08:40:44 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18804 
====================================================================== 
Reported By:                wdoekes
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   18804
Category:                   Channels/chan_sip/Interoperability
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Target Version:             1.4/1.6.2 Issues (Final Release)
Asterisk Version:           1.6.2.16.1 
JIRA:                       SWP-3122 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-14 09:38 CST
Last Modified:              2011-05-04 08:40 CDT
====================================================================== 
Summary:                    [patch] session-timers=refuse is not enforced for
*caller*
Description: 
Hi,

when my peer calls with these headers

Supported: timer
Session-Expires: <some-integer>

session-timers are enabled, even though this peer has
session-timers=refuse set.

It looks like that setting only disables the session-timers if the peer is
the *callee*.
====================================================================== 

---------------------------------------------------------------------- 
 (0134420) svnbot (reporter) - 2011-05-04 08:40
 https://issues.asterisk.org/view.php?id=18804#c134420 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 316616

U   branches/1.6.2/channels/chan_sip.c

------------------------------------------------------------------------
r316616 | dvossel | 2011-05-04 08:40:42 -0500 (Wed, 04 May 2011) | 12
lines

Fixes session-timers=refuse not being enforced for *caller*

During handle_request_invite, the session timer mode was retrieved from
a cached variable.  This patch forces a peer lookup of the session timer
mode in the case of an incoming invite.

(closes issue https://issues.asterisk.org/view.php?id=18804)
Reported by: wdoekes
Patches: 
      issue18804_session_timer_refuse_caller.patch uploaded by wdoekes
(license 717)
      issue_18804_v2.diff uploaded by dvossel (license 671)

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-04 08:40 svnbot         Checkin                                      
2011-05-04 08:40 svnbot         Note Added: 0134420                          
======================================================================




More information about the asterisk-bugs mailing list