sailfin
  1. sailfin
  2. SAILFIN-1716

There should be an option to turn off strict processing of the "user=phone" parameter

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 2.0
    • Fix Version/s: milestone 1
    • Component/s: sip_container
    • Labels:
      None
    • Environment:

      Operating System: Windows XP
      Platform: PC

    • Issuezilla Id:
      1,716

      Description

      Due to some ambiguity of the RFCs some existing UAs include the "user=phone"
      parameter in requests that have SIP URIs, which do not conform to phone number
      format requirements (or don't have a phone number in the user part at all).
      Currently, this causes SailFin to fail when sending subsequent requests (e.g.
      NOTIFY) to such UAs because it fails to parse the request URI as a valid phone
      number.

      While it may be convenient in some scenarios to have SailFin strictly interpret
      the "user=phone" to perform a conversion from SIP to TEL URI, it causes serious
      interoperability issues in other cases.

      There should be an option to turn off strict processing of the "user=phone"
      parameter, such that when this option is set, SailFin will not attempt to
      perform any validation/conversion and treat the URI as a regular SIP URI.

        Activity

        Hide
        binod added a comment -

        Assigned it to myself.

        Show
        binod added a comment - Assigned it to myself.
        Hide
        binod added a comment -

        Added a new JVM option org.glassfish.sip.ignoreUserParameter. When it is set to true, the server will
        ignore user=phone parameter and will not resolve the SIP URI to a telephone number.

        Checking in UriUtil.java;
        /cvs/sailfin/sip-stack/src/java/com/ericsson/ssa/sip/UriUtil.java,v <-- UriUtil.java
        new revision: 1.8; previous revision: 1.7
        done

        Show
        binod added a comment - Added a new JVM option org.glassfish.sip.ignoreUserParameter. When it is set to true, the server will ignore user=phone parameter and will not resolve the SIP URI to a telephone number. Checking in UriUtil.java; /cvs/sailfin/sip-stack/src/java/com/ericsson/ssa/sip/UriUtil.java,v <-- UriUtil.java new revision: 1.8; previous revision: 1.7 done
        Hide
        motoalex added a comment -

        I verified that this fix works in V2-b10.
        To disable processing of "user=phone", add the following to the JVM options and
        restart SailFin:
        -Dorg.glassfish.sip.ignoreUserParameter=true

        Show
        motoalex added a comment - I verified that this fix works in V2-b10. To disable processing of "user=phone", add the following to the JVM options and restart SailFin: -Dorg.glassfish.sip.ignoreUserParameter=true

          People

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

            Dates

            • Created:
              Updated:
              Resolved: