1 Reply Latest reply: Jul 11, 2014 4:49 AM by Mavy78! RSS

    OCCAS 5.1: 183 Session Progress, missing RSeq Header


      Hi all,

      I have a problem with reliability scenario (183 and prack messages)

      I should send a 183 response message with following headers:

      Require: 100Rel

      RSeq: 1


      My code is:

      SipServletResponse polling183 = request.createResponse(SipServletResponse.SC_SESSION_PROGRESS);
      polling183.addHeader(Constants.SipHeaders.HEADER_REQUIRED, "100rel");
      polling183.addHeader(Constants.SipHeaders.HEADER_RSEQ, String.valueOf(rSeq));

      The line that add Rseq Header throws this erro:

      java.lang.IllegalArgumentException: header [RSeq] is a system header


      ok, should be added automatically?....no don't works


      I founded this old discussion that reports a set an attribute in sipServletContext to manage 100Rel:

      Why provisional response 183 doesnt add header RSeq?

      (the urls in last response are invalid....)


      I have checked in actual version and is all ok:

      javax.servlet.sip.supported = [100rel, path, from-change]

      javax.servlet.sip.100rel = true


      But my message is still without RSeq:


      SIP/2.0 183 Session Progress
      Content-Type: application/sdp
      To: <sip:C0810900680022191@XXXX.com>;tag=62141cad
      Via: SIP/2.0/UDP;branch=z9hG4bKsipp85693825010pid12485sipp
      CSeq: 127 INVITE
      Content-Length: 154
      Call-ID: 1-12485@
      Require: 100rel
      From: <sip:0666412356XXXX.com>;tag=016f7ffa

      o=- 78 78 IN IP4
      c=IN IP4
      t=1 1
      m=audio 16386 RTP/AVP 8 101
      a=rtpmap:101 telephone-event/8000
      a=fmtp:101 0-15