[asterisk-bugs] [Asterisk 0019387]: Missing session-expires from Asterisk to the phone. Asterisk not working according to RFC

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 1 04:58:46 CDT 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=19387 
====================================================================== 
Reported By:                meinasterisk
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   19387
Category:                   Tests/NewFeature
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     new
Asterisk Version:           1.8.4 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-05-31 02:30 CDT
Last Modified:              2011-06-01 04:58 CDT
====================================================================== 
Summary:                    Missing session-expires from Asterisk to the phone.
Asterisk not working according to RFC
Description: 
There is no Session-Expires header present in the 200OK response sent by
asterisk to the ReINVITE/SessionRefresh from the phone.            
Because of this the SessionRefresh is considered as failed as marked
within the Warning header in the ACK request.

According to RFC4028 (chap.9 UAS behavior ):
"If the UAS wishes to accept the request, it copies the value of the
Session-Expires header field from the request into the 2xx response.
and
The UAS MUST set the value of the refresher parameter in the
Session-Expires header field in the 2xx response."




Precondition:
--------------
Asterisk configuartion :sip.conf:

session-timers=accept (Asterisk default)
session-expires=3600
session-minse=90 (Asterisk default)
session-refresher=uac 

Scenario:
==========
760: IP-Addr = 192.168.4.163, SIP-Session-Timer=true,
SIP-Session-Duration: 120 sec
761: IP-Addr = 192.168.4.198, SIP-Session-Timer=true,
SIP-Session-Duration: 150 sec

760 calls 761 which accepts the call.
>>>ERROR<<<:Connection is broken after 60 sec.

Phone type used:
Both 760 and 761 are OpenStage 40.





====================================================================== 

---------------------------------------------------------------------- 
 (0135602) davidw (reporter) - 2011-06-01 04:58
 https://issues.asterisk.org/view.php?id=19387#c135602 
---------------------------------------------------------------------- 
You should attach "sip set debug on" output, unarchived and uncompressed
(so that it can be viewed directly from the web browser). 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-06-01 04:58 davidw         Note Added: 0135602                          
======================================================================




More information about the asterisk-bugs mailing list