[OpenSIPS-Users] Syntax in 3.2

Jehanzaib Younis jehanzaib.kiani at gmail.com
Fri Nov 19 08:53:04 EST 2021


Thank you so much Bogdan,


Regards,
Jehanzaib


On Fri, Nov 19, 2021 at 8:13 PM Bogdan-Andrei Iancu <bogdan at opensips.org>
wrote:

> Hi Jehanzaib,
>
> the "status" keyword was dropped for a long time [1], use $rs instead.
>
> [1] https://www.opensips.org/Documentation/Migration-2-3-0-to-2-4-0#toc4
>
> Regards,
>
> Bogdan-Andrei Iancu
>
> OpenSIPS Founder and Developer
>   https://www.opensips-solutions.com
> OpenSIPS eBootcamp 2021
>   https://opensips.org/training/OpenSIPS_eBootcamp_2021/
>
> On 11/19/21 6:04 AM, Jehanzaib Younis wrote:
>
> Hi experts,
>
> 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 .
>
> The error comes at if(status=~"[12][0-9][0-9]")
> May be someone can write us the correct syntax for status code checking?
>
> Thank you in advance
>
> Regards,
> Jehanzaib
>
> _______________________________________________
> Users mailing listUsers at lists.opensips.orghttp://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211119/839fc551/attachment-0001.html>


More information about the Users mailing list