[OpenSIPS-Devel] msg:len is deprecated in master?

jarrod at unixc.org jarrod at unixc.org
Wed Aug 2 17:48:56 EDT 2017


Yes: https://github.com/OpenSIPS/opensips/commit/9c9252c97b4e641d814320f33d795a43c3ea7b0e <https://github.com/OpenSIPS/opensips/commit/9c9252c97b4e641d814320f33d795a43c3ea7b0e>

> On Aug 2, 2017, at 4:29 PM, Maxim Sobolev <sobomax at sippysoft.com> wrote:
> 
> Hi, is msg_len deprecated in latest master? There are tons of examples in the tree that use it. I am seeing this:
> 
> +/home/travis/build/sippy/voiptests/dist/opensips/opensips -f opensips.cfg -C
> Aug  2 21:21:37 [23623] CRITICAL:core:yyerror: parse error in config file opensips.cfg, line 27, column 12-13: syntax error
> Aug  2 21:21:37 [23623] CRITICAL:core:yyerror: parse error in config file opensips.cfg, line 27, column 12-13: bare word <msg> found, command calls need '()'
> Aug  2 21:21:37 [23623] CRITICAL:core:yyerror: parse error in config file opensips.cfg, line 27, column 12-13: bad command!)
> Aug  2 21:21:37 [23623] CRITICAL:core:yyerror: parse error in config file opensips.cfg, line 27, column 17-19: bare word <len> found, command calls need '()'
> Aug  2 21:21:37 [23623] CRITICAL:core:yyerror: parse error in config file opensips.cfg, line 27, column 17-19: bad command: missing ';'?
> Aug  2 21:21:37 [23623] CRITICAL:core:yyerror: parse error in config file opensips.cfg, line 27, column 27-28: bare word <max_len> found, command calls need '()'
> Aug  2 21:21:37 [23623] CRITICAL:core:yyerror: parse error in config file opensips.cfg, line 27, column 27-28: bad command: missing ';'?
> Aug  2 21:21:37 [23623] CRITICAL:core:yyerror: parse error in config file opensips.cfg, line 27, column 29-30: bad command!)
> Aug  2 21:21:37 [23623] CRITICAL:core:yyerror: parse error in config file opensips.cfg, line 30, column 6-7: syntax error
> Aug  2 21:21:37 [23623] CRITICAL:core:yyerror: parse error in config file opensips.cfg, line 30, column 6-7: 
> 
>     27	    if (msg:len >= max_len) {
>     28	        sl_send_reply("513", "Message too big");
>     29	        exit;
>     30	    };
> 
> Full config here:
> 
> https://travis-ci.org/sippy/voiptests/jobs/260374909 <https://travis-ci.org/sippy/voiptests/jobs/260374909>
> 
> -Max
> _______________________________________________
> Devel mailing list
> Devel at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/devel/attachments/20170802/77991fb1/attachment-0001.html>


More information about the Devel mailing list