<div dir="ltr">Hi Ray,<div><br><div>I did not see any built-in way to restrict the number of re-invites. The problem with this buggy client is, if your SBC does not respond the client's reinvite. It might send BYE ;) so even if you restrict the reinvites that might not work well. </div><div><br></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></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 14, 2022 at 5:06 PM Ray Jackson <<a href="mailto:ray@hero.co.nz">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">
  
    
  
  <div>
    <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>On 14/05/22 2:59 pm, Jehanzaib Younis
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <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">
              <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" target="_blank">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">Users@lists.opensips.org</a><br>
          <a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
        </blockquote>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <div>-- <br>
      <div>
        
        <div>
          
          
          <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:rgb(23,147,206);padding-bottom:6px;width:259px"> <span style="font-family:Arial,sans-serif;color:rgb(23,147,206);font-weight:bold">Ray Jackson</span>
                  <span style="font-family:Arial,sans-serif;color:rgb(135,135,135);font-size:10pt"><span style="font-family:Arial,sans-serif;color:rgb(135,135,135)"><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: 0px;" src="https://hero.co.nz/img/logosmall.png" height="36" border="0"></a> </td>
              </tr>
              <tr>
                <td style="width:400px;border-top:1px solid rgb(23,147,206)" colspan="2" width="400"><br>
                </td>
              </tr>
              <tr>
                <td style="font-size:10pt;font-family:Arial,sans-serif;font-weight:bold;color:rgb(44,44,44);width:400px" colspan="2" width="400"> <span style="font-family:Arial,sans-serif;color:rgb(44,44,44)">Hero Internet</span> </td>
              </tr>
              <tr>
                <td style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(44,44,44);width:400px" colspan="2" width="400"> <span style="font-family:Arial,sans-serif;color:rgb(44,44,44)">Level 4, 220 Queen Street</span>
                </td>
              </tr>
              <tr>
                <td style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(44,44,44);width:400px" colspan="2" width="400"> <span style="font-family:Arial,sans-serif;color:rgb(44,44,44)">Auckland</span> </td>
              </tr>
              <tr>
                <td style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(44,44,44);width:400px" colspan="2" width="400"> <span style="font-family:Arial,sans-serif;color:rgb(44,44,44)">t: +649-242-0001</span> </td>
              </tr>
              <tr>
                <td style="font-size:10pt;font-family:Arial,sans-serif;color:rgb(44,44,44);width:400px" colspan="2" width="400"> <span style="font-family:Arial,sans-serif;color:rgb(44,44,44)">e: <a href="mailto:ray@hero.co.nz" target="_blank">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:rgb(23,147,206);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" style="text-decoration:none" target="_blank"><span style="font-family:Arial,sans-serif;color:rgb(23,147,206)">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: 0px; 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: 0px; 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>
  </div>

_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="noreferrer" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div>