[OpenSIPS-Users] Syntax in 3.2

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Nov 19 07:13:13 EST 2021


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 list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20211119/0296a820/attachment.html>


More information about the Users mailing list