[asterisk-bugs] [Asterisk 0010665]: [patch] SIP Session-Timers Support in Asterisk

noreply at bugs.digium.com noreply at bugs.digium.com
Thu Nov 29 09:49:58 CST 2007


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10665 
====================================================================== 
Reported By:                rjain
Assigned To:                oej
====================================================================== 
Project:                    Asterisk
Issue ID:                   10665
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   feature
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.11  
SVN Branch (only for SVN checkouts, not tarball releases):  trunk 
SVN Revision (number only!): 81013 
Disclaimer on File?:        N/A 
Request Review:              
====================================================================== 
Date Submitted:             09-07-2007 03:43 CDT
Last Modified:              11-29-2007 09:49 CST
====================================================================== 
Summary:                    [patch] SIP Session-Timers Support in Asterisk
Description: 
The Asterisk SIP stack currently does not support SIP Session-Timers (RFC
4028). This leads to defunct SIP sessions in Asterisk when calls do not
clear through normal signaling procedures due to network or end-point
failures.

John Todd recently discussed this concept on asterisk-dev:
http://lists.digium.com/pipermail/asterisk-dev/2007-July/028574.html

John Todd, JR Richardson and Kevin Fleming have expressed interest in
seeing this feature supported in Asterisk.

A software design document for this feature and code changes (unified diff
of chan_sip.c) are attached to this report. Digium has my code submission
agreement on file.
====================================================================== 

---------------------------------------------------------------------- 
 rjain - 11-29-07 09:49  
---------------------------------------------------------------------- 
oej, russell,

I've just now uploaded a file called chan_sip.c.cache.diff. This file
implements caching of session-timers related configuration data within
sip_pvt. 

In addition, this file fixes a bug that was introduced when oej merged the
st_get_min_se() and st_get_max_se() functions into one st_get_se(). The bug
was that if the session-minse and session-expires were not configured at
either user or peer level then the function was returning global_max_se
instead of global_min_se when the function argument 'max' was set to FALSE.


Pls. let me know if you have any comments. Thanks. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
11-29-07 09:49  rjain          Note Added: 0074548                          
======================================================================




More information about the asterisk-bugs mailing list