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

Asterisk Bug Tracker noreply at bugs.digium.com
Tue May 3 16:17:59 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-03 16:17 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*.
====================================================================== 

---------------------------------------------------------------------- 
 (0134367) dvossel (administrator) - 2011-05-03 16:17
 https://issues.asterisk.org/view.php?id=18804#c134367 
---------------------------------------------------------------------- 
I noticed that it appears the peername is already searched for in the
st_get_mode function, so passing the authpeer in seems like redundant
information. I uploaded a patch that gives the mode found during searching
for the peername precedence over the cached value during handle request
invite.  Please verify this patch also resolves the issue for you as I
believe it is a more straightforward approach. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-03 16:17 dvossel        Note Added: 0134367                          
======================================================================




More information about the asterisk-bugs mailing list