sailfin
  1. sailfin
  2. SAILFIN-1831

getSubscriberURI is not consistent during application composition.

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: b29
    • Component/s: sip_container
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: Macintosh

    • Issuezilla Id:
      1,831

      Description

      http://www.nabble.com/Problem-with-%40SipApplicationKey-calling-
      SipServletRequest.getSubscriberURI%28%29%2C-when-request-is-proxied-to24255794.html

        Activity

        Hide
        binod added a comment -

        By looking at the code. The issue seem to be that session in the request is not null, when the request is
        used again in the @SAK method during composition. So, the code gets the subscriber URI from the
        session and returns it.

        Servelt dispatcher need some re-factoring to make this robust.

        Show
        binod added a comment - By looking at the code. The issue seem to be that session in the request is not null, when the request is used again in the @SAK method during composition. So, the code gets the subscriber URI from the session and returns it. Servelt dispatcher need some re-factoring to make this robust.
        Hide
        binod added a comment -

        A simpler fix is to make sure that subscriber uri that is set in the request is used as against the subscriber
        uri in the session. Any further re-factoring of the servlet dispatcher can be done at a later stage.

        bash-3.2$ cvs -e vi commit SipServletRequestImpl.java
        Checking in SipServletRequestImpl.java;
        /cvs/sailfin/sip-stack/src/java/com/ericsson/ssa/sip/SipServletRequestImpl.java,v <--
        SipServletRequestImpl.java
        new revision: 1.80; previous revision: 1.79
        done

        Show
        binod added a comment - A simpler fix is to make sure that subscriber uri that is set in the request is used as against the subscriber uri in the session. Any further re-factoring of the servlet dispatcher can be done at a later stage. bash-3.2$ cvs -e vi commit SipServletRequestImpl.java Checking in SipServletRequestImpl.java; /cvs/sailfin/sip-stack/src/java/com/ericsson/ssa/sip/SipServletRequestImpl.java,v <-- SipServletRequestImpl.java new revision: 1.80; previous revision: 1.79 done

          People

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

            Dates

            • Created:
              Updated:
              Resolved: