Issue Details (XML | Word | Printable)

Key: SAILFIN-1510
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: chinmayee_srivathsa
Reporter: erikvandervelden
Votes: 0
Watchers: 3
Operations

If you were logged in you would be able to see more operations.
sailfin

[RN] relnote issue 1351

Created: 15/Dec/08 07:10 AM   Updated: 25/Nov/10 06:38 PM   Resolved: 12/Jan/09 07:30 AM
Component/s: doc
Affects Version/s: 1.0
Fix Version/s: milestone 1

Time Tracking:
Not Specified

File Attachments: 1. PDF File SJSASEERN.pdf (550 kB) 12/Jan/09 07:30 AM - chinmayee_srivathsa

Environment:

Operating System: All
Platform: All

Issue Links:
Dependency
 

Issuezilla Id: 1,510
Tags:
Participants: chinmayee_srivathsa, erikvandervelden and prasads


 Description  « Hide

The following can be added to the release notes for issue 1351.

The application should NOT rely on the getLastAccessedTime() to return accurate
results. First of all the lastAccessedTime of a SipSession is not updated for
outgoing requests or incoming responses. Furthermore, the lastAccessedTime()
only gives expected results when invoked from within the application triggered
by the request that update of the lastAccessedTime (i.e., requesting the
lastAccessedTime of the any of the sibling sessions of of the
SipApplicationSession parent might not give the correct times).
Finally, in the calculation of the lastAccessedTime invalidated child sessions
of the SipApplicationSession are not taken into account.

As a workaround, applications that need to keep accurate track of the
lastAccessedTime should store it themselves into the SipApplicationSession, e.g.:
synchronized (sas) {
Long last = (Long) sas.getAttribute("myLastAccessedTime");
if (last == null) {last = 0};
// do something with the last one
// and...
// set the new one.
sas.setAttribute("myLastAccessedTime", System.currentTimeMillis());
}



erikvandervelden added a comment - 15/Dec/08 07:11 AM

added dependancy


prasads added a comment - 15/Dec/08 08:45 AM

Re-assigning to Chinmayee


chinmayee_srivathsa added a comment - 17/Dec/08 12:08 AM

Needs to be release noted


chinmayee_srivathsa added a comment - 17/Dec/08 12:21 AM

Needs to be release noted


chinmayee_srivathsa added a comment - 12/Jan/09 07:29 AM

see pages 14 and 15 in the attached file


chinmayee_srivathsa added a comment - 12/Jan/09 07:30 AM

Created an attachment (id=914)
release notes