sipservlet-spec
  1. sipservlet-spec
  2. SIPSERVLET_SPEC-29

Clarify which headers the container populates in new request

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0-pr
    • Labels:
      None

      Description

      SipFactory.createRequest javadoc says "Returns: the request object with method, request URI, and From, To, Call-ID, CSeq, Route headers filled in."

      Not clear on the rationale of this set of headers. e.g. Max-Forwards is mandatory in RFC3261 table 2, and it seems most container implementations populate it. The javadoc should add this to the list.

      The Allow header is a SHOULD in RFC3261. It may be useful if the container populate it with the methods it support as well. (The app can then trim remove anything it does not want to support)

        Activity

        Hide
        binod added a comment -

        As per the discussion on the EG meeting, decided to add Via, Max-Forwards and Allow as container populated headers.

        The 0.8 version distributed contains the fix to the javadoc.
        https://sipservlet-spec.java.net/javadoc/2.0/draft/javax/servlet/sip/SipFactory.html

        Show
        binod added a comment - As per the discussion on the EG meeting, decided to add Via, Max-Forwards and Allow as container populated headers. The 0.8 version distributed contains the fix to the javadoc. https://sipservlet-spec.java.net/javadoc/2.0/draft/javax/servlet/sip/SipFactory.html

          People

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

            Dates

            • Created:
              Updated:
              Resolved: