[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
Tue May 31 02:30:26 CDT 2011


The following issue has been SUBMITTED. 
====================================================================== 
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-05-31 02:30 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.





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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-05-31 02:30 meinasterisk   New Issue                                    
2011-05-31 02:30 meinasterisk   Asterisk Version          => 1.8.4           
2011-05-31 02:30 meinasterisk   Regression                => No              
2011-05-31 02:30 meinasterisk   SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list