<div dir="ltr">Thank you so much Bogdan,<div><br></div><div><br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div>Regards,</div>
<div>Jehanzaib</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Nov 19, 2021 at 8:13 PM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</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>
<font face="monospace">Hi Jehanzaib,<br>
<br>
the "status" keyword was dropped for a long time [1], use $rs
instead.<br>
<br>
[1]
<a href="https://www.opensips.org/Documentation/Migration-2-3-0-to-2-4-0#toc4" target="_blank">https://www.opensips.org/Documentation/Migration-2-3-0-to-2-4-0#toc4</a><br>
<br>
Regards,<br>
</font>
<pre cols="72">Bogdan-Andrei Iancu
OpenSIPS Founder and Developer
<a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>
OpenSIPS eBootcamp 2021
<a href="https://opensips.org/training/OpenSIPS_eBootcamp_2021/" target="_blank">https://opensips.org/training/OpenSIPS_eBootcamp_2021/</a></pre>
<div>On 11/19/21 6:04 AM, Jehanzaib Younis
wrote:<br>
</div>
<blockquote type="cite">
<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">
<div>Regards,</div>
<div>Jehanzaib</div>
</div>
</div>
</div>
</div>
</div>
</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>
<br>
</div>
</blockquote></div>