sipservlet-spec
  1. sipservlet-spec
  2. SIPSERVLET_SPEC-23

SipSession should include a getOriginalRequest method

    Details

    • Type: Improvement Improvement
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      This is currently accomplished by storing the request object as a session attribute. An example of how this would be useful is:

      When using a B2BUA and getting a timeout on a PRACK there is no simple way to send a CANCEL to the UAC side of the B2BUA without searching through the message list for the outbound INVITE. Support for getOriginalRequest would simplify the coding of this.

      There was some concern about memory consumption expressed when this idea was introduced that will need to be addressed.

        Activity

        Hide
        keith-lewis added a comment -

        Current proposal is to add a new method SipSession.getActiveInvite(UAMode mode)
        This would avoid the need to search through the pending message list in order to find the request.

        Once an ACK or final error response has been sent/received the INVITE would no longer be considered active allowing the memory footprint of the container to be reduced.

        Show
        keith-lewis added a comment - Current proposal is to add a new method SipSession.getActiveInvite(UAMode mode) This would avoid the need to search through the pending message list in order to find the request. Once an ACK or final error response has been sent/received the INVITE would no longer be considered active allowing the memory footprint of the container to be reduced.

          People

          • Assignee:
            keith-lewis
            Reporter:
            bpulito
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: