sipservlet-spec
  1. sipservlet-spec
  2. SIPSERVLET_SPEC-36

Clarification on how proxy branch response(s) to subsequent requests should be handled.

    Details

    • Type: New Feature New Feature
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-pfd
    • Labels:
      None

      Description

      JSR289 is pretty clear on how to handle the virtual branch responses for Initial requests where it specifies
      10.2.3 Sending Responses
      From the container perspective when a response from the virtual branch is sent upstream, a derived SipSession is created for the virtual branch as per 6.2.3.2 Derived SipSessions. The original SipSession associated with the incoming request corresponds to the Proxy while the derived one represents the virtual UAS..
      It even discreetly defines how virtual branch response can be one of candidate for choosing best Final response , application callback and how applications can get a handle to the proxy branch associated with response

      It makes sense .

      But JSR289 doesn't say much about the proxy branch response created for subsequent request. usecase can be when application (proxy) wants to handle authentication for BYE request and challenge it by sending 407/BYE.

      In that case it is not clear
      – whether we need to create a proxy branch response or act more like a UAS?
      – what getProxyBranch() api call should return for that response?
      – should application get a callback for that response before sending upstream?
      – should a new session be created to handle this proxy branch response or primary dialog session be used?

      This is very confusing and needs some clarification.

        Activity

        abahl created issue -
        binod made changes -
        Field Original Value New Value
        Assignee binod [ binod ]
        Hide
        binod added a comment -

        https://java.net/projects/sipservlet-spec/lists/jsr359-experts/archive/2014-07/message/9

        Section 12.2.3 has been updated to clarify that virtual proxy branch only applies to initial requests. Since the specification already say that application should not proxy a subsequent proxy and that would result in an IllegalStateException, the intention of the specification is pretty clear in general.

        Show
        binod added a comment - https://java.net/projects/sipservlet-spec/lists/jsr359-experts/archive/2014-07/message/9 Section 12.2.3 has been updated to clarify that virtual proxy branch only applies to initial requests. Since the specification already say that application should not proxy a subsequent proxy and that would result in an IllegalStateException, the intention of the specification is pretty clear in general.
        binod made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 2.0-pfd [ 17068 ]
        Resolution Fixed [ 1 ]

          People

          • Assignee:
            binod
            Reporter:
            abahl
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: