<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <tt>Hi Maxim,<br>
      <br>
      Yes, in dev version the msg:len and max_len were deprecated - we
      tried to updated cfg and docs, but if there is something left,
      please let us know.<br>
      <br>
      For how to deal with the removed keywords, please see:<br>
         
      <a class="moz-txt-link-freetext" href="http://www.opensips.org/Documentation/Migration-2-3-0-to-2-4-0#toc3">http://www.opensips.org/Documentation/Migration-2-3-0-to-2-4-0#toc3</a><br>
      <br>
      Regards,<br>
    </tt>
    <pre class="moz-signature" cols="72">Bogdan-Andrei Iancu
  OpenSIPS Founder and Developer
  <a class="moz-txt-link-freetext" href="http://www.opensips-solutions.com">http://www.opensips-solutions.com</a>

OpenSIPS Bootcamp 2017, Houston, US
  <a class="moz-txt-link-freetext" href="http://opensips.org/training/OpenSIPS_Bootcamp_2017.html">http://opensips.org/training/OpenSIPS_Bootcamp_2017.html</a>
</pre>
    <div class="moz-cite-prefix">On 08/03/2017 12:29 AM, Maxim Sobolev
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CAH7qZfuzT6NKrgbkwpiswqcRPZgKKT5rte98ks2W88RhL7s0dw@mail.gmail.com">
      <div dir="ltr">
        <div class="gmail_signature">Hi, is msg_len deprecated in latest
          master? There are tons of examples in the tree that use it. I
          am seeing this:</div>
        <div class="gmail_signature"><br>
        </div>
        <div class="gmail_signature">
          <div class="gmail_signature">
            <div class="gmail_signature">+/home/travis/build/sippy/voiptests/dist/opensips/opensips
              -f opensips.cfg -C</div>
            <div class="gmail_signature">Aug  2 21:21:37 [23623]
              CRITICAL:core:yyerror: parse error in config file
              opensips.cfg, line 27, column 12-13: syntax error</div>
            <div class="gmail_signature">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 '()'</div>
            <div class="gmail_signature">Aug  2 21:21:37 [23623]
              CRITICAL:core:yyerror: parse error in config file
              opensips.cfg, line 27, column 12-13: bad command!)</div>
            <div class="gmail_signature">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 '()'</div>
            <div class="gmail_signature">Aug  2 21:21:37 [23623]
              CRITICAL:core:yyerror: parse error in config file
              opensips.cfg, line 27, column 17-19: bad command: missing
              ';'?</div>
            <div class="gmail_signature">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 '()'</div>
            <div class="gmail_signature">Aug  2 21:21:37 [23623]
              CRITICAL:core:yyerror: parse error in config file
              opensips.cfg, line 27, column 27-28: bad command: missing
              ';'?</div>
            <div class="gmail_signature">Aug  2 21:21:37 [23623]
              CRITICAL:core:yyerror: parse error in config file
              opensips.cfg, line 27, column 29-30: bad command!)</div>
            <div class="gmail_signature">Aug  2 21:21:37 [23623]
              CRITICAL:core:yyerror: parse error in config file
              opensips.cfg, line 30, column 6-7: syntax error</div>
            <div class="gmail_signature">Aug  2 21:21:37 [23623]
              CRITICAL:core:yyerror: parse error in config file
              opensips.cfg, line 30, column 6-7: </div>
          </div>
          <div class="gmail_signature"><br>
          </div>
          <div class="gmail_signature">    27<span style="white-space:pre">   </span>
               if (msg:len >= max_len) {<br>
          </div>
          <div class="gmail_signature">    28<span style="white-space:pre">   </span>
                   sl_send_reply("513", "Message too big");</div>
          <div class="gmail_signature">    29<span style="white-space:pre">   </span>
                   exit;</div>
          <div class="gmail_signature">    30<span style="white-space:pre">   </span>
               };</div>
          <div class="gmail_signature"><br>
          </div>
          <div class="gmail_signature">Full config here:</div>
          <div class="gmail_signature"><br>
          </div>
          <div class="gmail_signature"><a
              href="https://travis-ci.org/sippy/voiptests/jobs/260374909"
              moz-do-not-send="true">https://travis-ci.org/sippy/voiptests/jobs/260374909</a><br>
          </div>
          <div class="gmail_signature"><br>
          </div>
          <div class="gmail_signature">-Max</div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Devel mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Devel@lists.opensips.org">Devel@lists.opensips.org</a>
<a class="moz-txt-link-freetext" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/devel">http://lists.opensips.org/cgi-bin/mailman/listinfo/devel</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>