[OpenSIPS-Users] A word of caution on migrating to 3.1

johan johan at democon.be
Fri Feb 28 10:10:36 EST 2020


no, what I mean is this: if lookup_location(...) needs to be if 
(lookup_location())

On 28.02.20 11:06, Grant Bagdasarian wrote:
> Hi Johan,
>
> I’ve been testing with a nightly build (not the latest) these past few 
> days, and the body of an if statement doesn’t require any brackets if 
> there is only a single statement. Haven’t tested with multiple 
> statements, but I assumed the syntax of other languages.
>
> Can’t comment on the rest.
>
> Regards,
>
> Grant
>
> On Fri, 28 Feb 2020 at 10:56 Johan De Clercq <johan at democon.be 
> <mailto:johan at democon.be>> wrote:
>
>
>     Hello,
>
>     Migration from 3.0 to 3.1 is not so straightforward:
>     For script:
>     -everything after if needs to be in brackets.
>     -setflag ans etbflag : their parameters need to be in double quotes.
>
>     For db: ther is a version change there also.
>
>     Best regards,
>     Outlook voor iOS <https://aka.ms/o0ukef> downloaden
>     _______________________________________________
>     Users mailing list
>     Users at lists.opensips.org <mailto:Users at lists.opensips.org>
>     http://lists.opensips.org/cgi-bin/mailman/listinfo/users
>
>
> _______________________________________________
> 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/20200228/6fe670cb/attachment-0001.html>


More information about the Users mailing list