<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <font face="monospace">Hi Jehanzaib,<br>
      <br>
      the "status" keyword was dropped for a long time [1], use $rs
      instead.<br>
      <br>
      [1]
      <a class="moz-txt-link-freetext" href="https://www.opensips.org/Documentation/Migration-2-3-0-to-2-4-0#toc4">https://www.opensips.org/Documentation/Migration-2-3-0-to-2-4-0#toc4</a><br>
      <br>
      Regards,<br>
    </font>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="https://www.opensips-solutions.com">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021 
  <a class="moz-txt-link-freetext" href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
    <div class="moz-cite-prefix">On 11/19/21 6:04 AM, Jehanzaib Younis
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAKrJzCyRAQEY-yLcEFfJtEHfrkWUQnxpKpPnrXF-gqmexqKmCA@mail.gmail.com">
      <meta http-equiv="content-type" content="text/html; charset=UTF-8">
      <div dir="ltr">
        <div dir="ltr">
          <div dir="ltr">Hi experts,
            <div><br>
            </div>
            <div>I have just upgraded my old opensips to 3.2 version.
              Getting quite a few syntax errors. Running out of time, so
              thought maybe someone can quickly help out .</div>
            <div><br>
            </div>
            <div>The error comes at if(status=~"[12][0-9][0-9]")</div>
            <div>May be someone can write us the correct syntax for
              status code checking? </div>
            <div><br>
            </div>
            <div>Thank you in advance</div>
            <div><br clear="all">
              <div>
                <div dir="ltr" class="gmail_signature">
                  <div>Regards,</div>
                  <div>Jehanzaib</div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></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>
    <br>
  </body>
</html>