<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body text="#000000" bgcolor="#FFFFFF">
    <div class="moz-cite-prefix"><tt>I see....We have a patch to allow
        changing cseq, we are working in properly integrating it in the
        public tree. Hopefully it will be ready in the next 1-2 weeks.<br>
        <br>
        Regards,<br>
      </tt>
      <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
      On 06.08.2014 19:45, Igor Olhovskiy wrote:<br>
    </div>
    <blockquote cite="mid:53E25BA9.2000404@gmail.com" type="cite">
      <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
      Change CSeq<br>
      It's related to problem to get registering proxy. Means on one
      side is "transparent" dialog, on other - need to be auth'ed. While
      auth (INVITE - 401 - INVITE (with digest + another CSeq)) you have
      to change CSeq.<br>
      <br>
      <div class="moz-cite-prefix">06.08.14 19:41, Bogdan-Andrei Iancu
        написав(ла):<br>
      </div>
      <blockquote cite="mid:53E25ACB.4000503@opensips.org" type="cite">
        <meta content="text/html; charset=UTF-8"
          http-equiv="Content-Type">
        <div class="moz-cite-prefix"><tt>Hi Igor,<br>
            <br>
            The CANCEL requests are propagating hop by hop (and not
            end-to-end) - this means the request is re-generated by each
            hop. This is why you cannot change it.<br>
            <br>
            What exactly are you trying to achieve here ?<br>
            <br>
            Regards,<br>
          </tt>
          <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a></pre>
          On 04.08.2014 15:40, Igor Olhovskiy wrote:<br>
        </div>
        <blockquote cite="mid:53DF7F25.7000202@gmail.com" type="cite">
          <meta http-equiv="content-type" content="text/html;
            charset=UTF-8">
          Hi!<br>
          <br>
          I've tried some modification of in-transaction CANCEL packets.<br>
          Idea A call B, than A cancels call.<br>
          Initial CANCEL:<br>
          <br>
          <font size="-2"><font color="red"><b>CANCEL</b></font>
            sip:0919082171@XXXXXXX SIP/2.0 <br>
            Via: SIP/2.0/UDP 31.172.143.70;rport;branch=<font
              color="green"><b>z9hG4bKHg59atZ9pDDHg</b></font> <br>
            Route: &lt;sip:31.172.143.67:5060&gt; <br>
            Max-Forwards: 68 <br>
            From: "2063259" <a moz-do-not-send="true"
              class="moz-txt-link-rfc2396E"
              href="mailto:sip:2063259@31.172.143.70">&lt;sip:2063259@31.172.143.70&gt;</a>;tag=<font
              color="red"><b>N1D0tceygg3tN</b></font> <br>
            To: &lt;sip:0919082171@XXXXXXXX&gt; <br>
            Call-ID: <font color="blue"><b>ed5d0207-9675-1232-e38f-000c29eaa3c3</b></font>
            <br>
            CSeq: 63241643 <font color="red"><b>CANCEL</b></font> <br>
            Reason: SIP;cause=487;text="ORIGINATOR_<font color="red"><b>CANCEL</b></font>"
            <br>
            Content-Length: 0 </font><br>
          <br>
          I've simply add <br>
          <br>
          if (is_method("CANCEL")) {<br>
          ...<br>
              xlog("L_INFO", "CANCEL!");<br>
              append_hf("X-Hint: CANCEL!\r\n");<br>
              if (t_check_trans()) {<br>
                  xlog("L_INFO", "CANCEL is in transaction!");<br>
                  t_relay();<br>
              }<br>
          }<br>
          <br>
          In logs I see:<br>
          <br>
          CANCEL!<br>
          CANCEL is in transaction!<br>
          <br>
          but I can't see appended header to outgoing CANCEL packet.<br>
          <br>
          Outgoing CANCEL is<br>
          <br>
          <br>
          <font size="-2"><font color="red"><b>CANCEL</b></font>
            sip:0919082171@XXXXXXX SIP/2.0 <br>
            Via: SIP/2.0/UDP 31.172.143.67:5060;branch=<font
              color="green"><b>z9hG4bKed78.b56ef11.1</b></font> <br>
            From: "2063259" <a moz-do-not-send="true"
              class="moz-txt-link-rfc2396E"
              href="mailto:sip:2063259@31.172.143.70">&lt;sip:2063259@31.172.143.70&gt;</a>;tag=<font
              color="red"><b>N1D0tceygg3tN</b></font> <br>
            Call-ID: <font color="blue"><b>ed5d0207-9675-1232-e38f-000c29eaa3c3</b></font>
            <br>
            To: &lt;sip:0919082171@XXXXXXX&gt; <br>
            CSeq: 63241643 <font color="red"><b>CANCEL</b></font> <br>
            Max-Forwards: 70 <br>
            Reason: SIP;cause=487;text="ORIGINATOR_<font color="red"><b>CANCEL</b></font>"
            <br>
            User-Agent: OpenSIPS (1.11.2-notls (x86_64/linux)) <br>
            Content-Length: 0 </font><br>
          <br>
          <br>
          <fieldset class="mimeAttachmentHeader"></fieldset>
          <br>
          <pre wrap="">_______________________________________________
Users mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
        </blockquote>
        <br>
      </blockquote>
      <br>
    </blockquote>
    <br>
  </body>
</html>