jsip
  1. jsip
  2. JSIP-391

jain-sip-ri-1.2.1962.jar 's parser ignores P-Access-Network-Info header when header contains # or " character.

    Details

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

      Solaris,Linux,Windows

      Description

      On Fri, Aug 19, 2011 at 4:58 PM, M. Ranganathan <mranga@gmail.com> wrote:
      Yes please open a JIRA issue. And if you post a diff (fix), I will
      gratefully accept it and it will be faster (but please run the ant
      torture target before submission).

      Thanks

      On Fri, Aug 19, 2011 at 7:08 AM, Alper Ozdamar <alper.ozdamar@gmail.com> wrote:
      > Hello Ranga,
      > Thank you for quick response. As you said, I upgraded my application's jain
      > api to jain-sip-ri-1.2.1962.jar. But parser still ignores following header.
      >
      > P-Access-Network-Info: 3GPP-UTRAN-TDD;
      > utran-cell-id-3gpp=#TTNET_PLAZA_LOCAL#;"ue-ip=88.255.100.2";"ue-port=50953"
      >
      > Parser doesn't like # and " characters. When I deleted these
      > characters, P-Access-Network-Info header was parsed successfully.
      > Then i read about P-Access-Network-Info header (RFC-3455 Private Header
      > (P-Header) Extensions to the Session I) Rfc-3455 stated that our header
      > parameters are allowable under the grammar. What should we do know ? Do you
      > need bug report ?
      >
      > 5.4 P-Access-Network-Info header syntax
      >
      > The syntax of the P-Access-Network-Info header is described as
      > follows:
      > P-Access-Network-Info = "P-Access-Network-Info" HCOLON
      > access-net-spec
      > access-net-spec = access-type *(SEMI access-info)
      >
      > access-type = "IEEE-802.11a" / "IEEE-802.11b" /
      > "3GPP-GERAN" / "3GPP-UTRAN-FDD" /
      > "3GPP-UTRAN-TDD" /
      > "3GPP-CDMA2000" / token
      > access-info = cgi-3gpp / utran-cell-id-3gpp /
      > extension-access-info
      > extension-access-info = gen-value
      > cgi-3gpp = "cgi-3gpp" EQUAL
      > (token / quoted-string)
      > utran-cell-id-3gpp = "utran-cell-id-3gpp" EQUAL
      > (token / quoted-string)
      >
      > The access-info may contain additional information relating to the
      > access network. The values for "cgi-3gpp" and "utran-cell-id-3gpp"
      > are defined in 3GPP TS 24.229 [15].
      >
      > Best Regards,
      > Alper Ozdamar.
      >
      >
      > On Thu, Aug 18, 2011 at 5:54 PM, M. Ranganathan <mranga@gmail.com> wrote:
      >>
      >> Please upgrade to the latest version (you are way behind) and then
      >> look at the P-Access-Network-Info header parser. Check the grammar for
      >> that and make sure your header parameters are allowable under the
      >> grammar. If they are fine, please post a bug report or a fix.
      >>
      >> Ranga
      >>
      >> On Thu, Aug 18, 2011 at 9:48 AM, Alper Ozdamar <alper.ozdamar@gmail.com>
      >> wrote:
      >> > Hello,
      >> > I'm having some problem while using Jain-sip-api-1.2. jar and
      >> > jain-sip-ri-1.2.136.jar in my application. My application receives
      >> > following
      >> > registerMessage but after parsing sipMessage with StringMsgParser
      >> > we are losing header which contains "ue-ip=88.255.100.2";"ue-port=50953"
      >> > information.
      >> > When i tried to parse same message with nist-sip-1.2.jar
      >> > and JainSipApi1.2.jar, there were no problem.
      >> > Do you have any suggestions ?
      >> > REGISTER sip:turktelekom.com.tr SIP/2.0^M
      >> > To: "11001"<sip:11001@turktelekom.com.tr:5060>^M
      >> > From: "11001"<sip:11001@turktelekom.com.tr:5060>;tag=1^M
      >> > Via: SIP/2.0/UDP
      >> >
      >> > 212.174.177.75:5060;branch=z9hG4bK-25412-1-0;received=212.174.177.75;rport=5060^M
      >> > Call-ID: 1-25412@212.174.177.75^M
      >> > CSeq: 1 REGISTER^M
      >> > Contact: <sip:11001@212.174.177.75:5060>^M
      >> > Expires: 3600;
      >> > P-Access-Network-Info: 3GPP-UTRAN-TDD;
      >> >
      >> > utran-cell-id-3gpp=#TTNET_PLAZA_LOCAL#;"ue-ip=88.255.100.2";"ue-port=50953"^M
      >> > User-Agent: 11001^M
      >> > Content-Length: 0^M
      >> > Best Regards,
      >> > Alper Ozdamar
      >> > Software Engineer
      >> >
      >>
      >>
      >>
      >> –
      >> M. Ranganathan
      >
      >

        Activity

        Hide
        deruelle_jean added a comment -

        This seems to affect P-Charging-Vector as well.
        See http://groups.google.com/group/mobicents-public/browse_thread/thread/47e6acff52ccc138

        Jean

        Show
        deruelle_jean added a comment - This seems to affect P-Charging-Vector as well. See http://groups.google.com/group/mobicents-public/browse_thread/thread/47e6acff52ccc138 Jean

          People

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

            Dates

            • Created:
              Updated:

              Time Tracking

              Estimated:
              Original Estimate - 2 days
              2d
              Remaining:
              Remaining Estimate - 2 days
              2d
              Logged:
              Time Spent - Not Specified
              Not Specified