Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0
    • Fix Version/s: milestone 1
    • Component/s: doc
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,510

      Description

      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());
      }

      1. SJSASEERN.pdf
        550 kB
        chinmayee_srivathsa

        Issue Links

          Activity

          Hide
          erikvandervelden added a comment -

          added dependancy

          Show
          erikvandervelden added a comment - added dependancy
          Hide
          prasads added a comment -

          Re-assigning to Chinmayee

          Show
          prasads added a comment - Re-assigning to Chinmayee
          Hide
          chinmayee_srivathsa added a comment -

          Needs to be release noted

          Show
          chinmayee_srivathsa added a comment - Needs to be release noted
          Hide
          chinmayee_srivathsa added a comment -

          Needs to be release noted

          Show
          chinmayee_srivathsa added a comment - Needs to be release noted
          Hide
          chinmayee_srivathsa added a comment -

          see pages 14 and 15 in the attached file

          Show
          chinmayee_srivathsa added a comment - see pages 14 and 15 in the attached file
          Hide
          chinmayee_srivathsa added a comment -

          Created an attachment (id=914)
          release notes

          Show
          chinmayee_srivathsa added a comment - Created an attachment (id=914) release notes

            People

            • Assignee:
              chinmayee_srivathsa
              Reporter:
              erikvandervelden
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: