<div dir="ltr"><div class="gmail_default" style="font-family:courier new,monospace">Ah.  I should have paid more attention.  I meant to paste the link for the 2.4 Docs.</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">However, your point is well taken.  I need to spend more time getting more current rather than working in older versions.</div><div class="gmail_default" style="font-family:courier new,monospace"><br></div><div class="gmail_default" style="font-family:courier new,monospace">Richard</div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><span><p dir="ltr" style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"> </p></span></div></div></div></div></div></div></div></div></div></div></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Jun 11, 2020 at 10:33 AM Bogdan-Andrei Iancu <<a href="mailto:bogdan@opensips.org">bogdan@opensips.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
  
    
  
  <div>
    <tt>Hey Richard,<br>
      <br>
      Agreed, but nothing we can do about 2.1 - it is old and
      unmaintained.<br>
      <br>
      Starting 3.0, the all the script functions accept parameters via
      variables.<br>
      <br>
      Regards,<br>
    </tt>
    <pre cols="72">Bogdan-Andrei Iancu

OpenSIPS Founder and Developer
  <a href="https://www.opensips-solutions.com" target="_blank">https://www.opensips-solutions.com</a>

</pre>
    <div>On 6/11/20 4:15 PM, Richard Revels
      wrote:<br>
    </div>
    <blockquote type="cite">
      
      <div dir="ltr">
        <div class="gmail_default" style="font-family:"courier new",monospace">I feel like this function would be a lot more
          useful if the last argument would accept a variable
          rather than a static int.</div>
        <div class="gmail_default" style="font-family:"courier new",monospace"><br>
        </div>
        <div class="gmail_default" style="font-family:"courier new",monospace"><a href="https://opensips.org/html/docs/modules/2.1.x/avpops.html#idp5679392" target="_blank">https://opensips.org/html/docs/modules/2.1.x/avpops.html#idp5679392</a><br>
        </div>
        <div class="gmail_default" style="font-family:"courier new",monospace"><br>
        </div>
        <div>
          <div dir="ltr">
            <div dir="ltr">
              <div dir="ltr">
                <div dir="ltr">
                  <div dir="ltr">
                    <div dir="ltr"><span>
                        <p style="line-height:1.38;margin-top:0pt;margin-bottom:0pt"><span class="gmail_default">Richard Revels</span><br>
                        </p>
                      </span></div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset></fieldset>
      <pre>_______________________________________________
Users mailing list
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a>
</pre>
    </blockquote>
    <br>
  </div>

</blockquote></div>