<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p>Correct, Max-Forwards stays the same on each ReINVITE and the
      CSeq increments by 1 each time.  All other headers stay the same.
      I have no idea what is broken with the client to continually
      ReINVITE in a loop.  We accept the ReINVITE with an OK and we
      receive an ACK back and then immediately another INVITE and so it
      goes on until the call is terminated.</p>
    <p>I'm less interested in working out what is broken on the client
      end and more interested in protecting our network.</p>
    <p>Thanks,</p>
    <p>Ray<br>
    </p>
    <div class="moz-cite-prefix">On 14/05/22 2:59 pm, Jehanzaib Younis
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKrJzCx6we3xheAHg0PjK92DV8uNMY16sK_QTbOT=j6E_QEb=Q@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">Hi Ray,
        <div><br>
        </div>
        <div>I assume the Max-Forwards remains same but the CSeq is
          increasing ya?</div>
        <div><br>
        </div>
        <div>
          <div>
            <div dir="ltr" class="gmail_signature"
              data-smartmail="gmail_signature">
              <div>Regards,</div>
              <div>Jehan</div>
            </div>
          </div>
          <br>
        </div>
      </div>
      <br>
      <div class="gmail_quote">
        <div dir="ltr" class="gmail_attr">On Sat, May 14, 2022 at 2:42
          PM Ray Jackson <<a href="mailto:ray@hero.co.nz"
            moz-do-not-send="true" class="moz-txt-link-freetext">ray@hero.co.nz</a>>
          wrote:<br>
        </div>
        <blockquote class="gmail_quote" style="margin:0px 0px 0px
          0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi
          all,<br>
          <br>
          I have a misbehaving SIP client which is repeatedly sending
          SIP ReINVITE <br>
          messages over and over again (in the hundreds) and want to
          enforce a <br>
          limit on the number of ReINVITE messages per Call to stop this
          in it's <br>
          tracks.  The CSeq is incrementing on each ReINVITE.<br>
          <br>
          Are there any config settings to limit the number of ReINVITEs
          on a <br>
          single Call/Dialog?  I was going to possibly keep a count of
          the INVITEs <br>
          using a cache variable based on the Unique CallID but wanted
          to check <br>
          first there wasn't a simpler (built-in) way of doing this?<br>
          <br>
          Thanks,<br>
          Ray<br>
          <br>
          <br>
          <br>
          <br>
          _______________________________________________<br>
          Users mailing list<br>
          <a href="mailto:Users@lists.opensips.org" target="_blank"
            moz-do-not-send="true" class="moz-txt-link-freetext">Users@lists.opensips.org</a><br>
          <a
            href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users"
            rel="noreferrer" target="_blank" moz-do-not-send="true"
            class="moz-txt-link-freetext">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset class="moz-mime-attachment-header"></fieldset>
      <pre class="moz-quote-pre" wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a>
<a 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>
    <div class="moz-signature">-- <br>
      <div class="moz-signature">
        <meta http-equiv="content-type" content="text/html;
          charset=UTF-8">
        <div class="moz-signature">
          <title>Email Signature</title>
          <meta content="text/html; charset=UTF-8"
            http-equiv="Content-Type">
          <table style="width: 400px; font-size: 9pt; font-family:
            Arial, sans-serif; line-height:normal;" cellspacing="0"
            cellpadding="0">
            <tbody>
              <tr>
                <td style=" font-size:12pt;
                  font-family:Arial,sans-serif; color:#1793ce;
                  padding-bottom:6px; width:259px"> <span
                    style="font-family: Arial, sans-serif;
                    color:#1793ce; font-weight: bold">Ray Jackson</span>
                  <span style="font-family: Arial, sans-serif;
                    color:#878787; font-size: 10pt;"><span
                      style="font-family: Arial, sans-serif;
                      color:#878787"><br>
                      Chief Technology Officer</span></span> </td>
                <td style=" width:141px; padding-bottom:6px;
                  text-align:right;"> <a href="https://hero.co.nz"
                    target="_blank"><img alt="Logo" style="width:auto;
                      height:36px; border:0;"
                      src="https://hero.co.nz/img/logosmall.png"
                      height="36" border="0"></a> </td>
              </tr>
              <tr>
                <td style="width:400px; border-top:1px solid;
                  border-top-color:#1793ce;" colspan="2" width="400"><br>
                </td>
              </tr>
              <tr>
                <td style=" font-size: 10pt; font-family: Arial,
                  sans-serif; font-weight:bold; color: #2c2c2c;
                  width:400px;" colspan="2" width="400"> <span
                    style="font-family: Arial, sans-serif;
                    color:#2c2c2c">Hero Internet</span> </td>
              </tr>
              <tr>
                <td style=" font-size: 10pt; font-family: Arial,
                  sans-serif; color: #2c2c2c; width:400px;" colspan="2"
                  width="400"> <span style="font-family: Arial,
                    sans-serif; color:#2c2c2c">Level 4, 220 Queen Street</span>
                </td>
              </tr>
              <tr>
                <td style=" font-size: 10pt; font-family: Arial,
                  sans-serif; color: #2c2c2c; width:400px;" colspan="2"
                  width="400"> <span style="font-family: Arial,
                    sans-serif; color:#2c2c2c">Auckland</span> </td>
              </tr>
              <tr>
                <td style=" font-size: 10pt; font-family: Arial,
                  sans-serif; color: #2c2c2c; width:400px;" colspan="2"
                  width="400"> <span style="font-family: Arial,
                    sans-serif; color:#2c2c2c">t: +649-242-0001</span> </td>
              </tr>
              <tr>
                <td style=" font-size: 10pt; font-family: Arial,
                  sans-serif; color: #2c2c2c; width:400px;" colspan="2"
                  width="400"> <span style="font-family: Arial,
                    sans-serif; color:#2c2c2c">e: <a
                      class="moz-txt-link-abbreviated
                      moz-txt-link-freetext"
                      href="mailto:ray@hero.co.nz">ray@hero.co.nz</a></span>
                </td>
              </tr>
              <tr>
                <td style="width:400px;" colspan="2" width="400"><br>
                </td>
              </tr>
              <tr>
                <td style=" font-size: 10pt; font-family: Arial,
                  sans-serif; font-weight:bold; color: #1793ce;
                  width:200px; height:15px;" width="200"> <span
                    style="display:inline-block; height:15px;
                    font-family: Arial, sans-serif; font-size: 9pt;"><a
                      href="https://hero.co.nz" target="_blank"
                      style="text-decoration:none;"><span
                        style="font-family:Arial, sans-serif;
                        color:#1793ce">hero.co.nz</span></a></span> </td>
                <td style="width:200px; text-align:right;" width="200"><span
                    style="display:inline-block; height:15px;"><span><a
                        href="https://www.facebook.com/herointernetnz"
                        target="_blank"><img alt="Facebook icon"
                          style="border:0; height:15px; width:15px"
src="https://codetwocdn.azureedge.net/images/mail-signatures/generator/all-inclusive/fb.png"
                          width="15" height="15" border="0"></a></span><span><a
                        href="https://twitter.com/herointernetnz/"
                        target="_blank"><img alt="Twitter icon"
                          style="border:0; height:15px; width:15px"
src="https://codetwocdn.azureedge.net/images/mail-signatures/generator/all-inclusive/tt.png"
                          width="15" height="15" border="0"></a></span></span>
                </td>
              </tr>
            </tbody>
          </table>
        </div>
      </div>
    </div>
  </body>
</html>