jsip
  1. jsip
  2. JSIP-419

Some P-header definitions absent in Parser Factory

    Details

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

      All environments.

      Description

      In parser factory - some of the P-header parser definitions have not been added to the parser table.

      As a side effect, when the application calls sipRequest.getHeader (name-of-the-header), an exception is thrown.

      This patch resolves this issue. Please review.

      Headers missed out were:

      parserTable.put(PServedUserHeader.NAME.toLowerCase(), PServedUserParser.class);
      parserTable.put(PPreferredServiceHeader.NAME.toLowerCase(), PPreferredServiceParser.class);
      parserTable.put(PAssertedServiceHeader.NAME.toLowerCase(), PAssertedServiceParser.class);
      parserTable.put(PProfileKeyHeader.NAME.toLowerCase(), PProfileKeyParser.class);
      parserTable.put(PUserDatabaseHeader.NAME.toLowerCase(), PUserDatabaseParser.class);

        Activity

        Hide
        deruelle_jean added a comment -

        Committed in r2091

        Show
        deruelle_jean added a comment - Committed in r2091

          People

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

            Dates

            • Created:
              Updated:
              Resolved: