<html><head></head><body><div class="ydp8ee32998yahoo-style-wrap" style="font-family: Helvetica Neue, Helvetica, Arial, sans-serif; font-size: 13px;"><div></div>
        <div dir="ltr" data-setdir="false">Hi,</div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false">I am using the exact string as in example provided in the link below. If there any dependency that could cause this issue ? Thank you,  </div><div dir="ltr" data-setdir="false"><span><b style="color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 12px; text-align: justify; background-color: rgb(239, 248, 248);"><br></b></span></div><div dir="ltr" data-setdir="false"><span><b style="color: rgb(0, 0, 0); font-family: Helvetica, Arial; font-size: 12px; text-align: justify; background-color: rgb(239, 248, 248);">Example 1.8. <code class="ydp398e0f19function">rest_get</code> usage</b></span></div><div dir="ltr" data-setdir="false"><br></div><div dir="ltr" data-setdir="false"><a href="https://opensips.org/html/docs/modules/2.3.x/rest_client.html" rel="nofollow" target="_blank">https://opensips.org/html/docs/modules/2.3.x/rest_client.html</a><br></div><div><br></div><div><br></div><div dir="ltr" data-setdir="false">Thank you,</div><div dir="ltr" data-setdir="false">Dinesh</div><div><br></div>
        
        </div><div id="ydpbfaf4750yahoo_quoted_2164313181" class="ydpbfaf4750yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    On Monday, January 25, 2021, 02:45:24 PM GMT+5:30, Liviu Chircu <liviu@opensips.org> wrote:
                </div>
                <div><br></div>
                <div><br></div>
                <div><div id="ydpbfaf4750yiv9441737075"><div>
    <div class="ydpbfaf4750yiv9441737075yqt9098961182" id="ydpbfaf4750yiv9441737075yqtfd95905"><div class="ydpbfaf4750yiv9441737075moz-cite-prefix">On 25.01.2021 11:08, Dinesh
      Krishnamurthy via Users wrote:<br clear="none">
    </div>
    </div><blockquote type="cite"><div class="ydpbfaf4750yiv9441737075yqt9098961182" id="ydpbfaf4750yiv9441737075yqtfd48695">
      <div style="font-family:Helvetica, Arial, sans-serif;">Jan 24 22:20:48 OpenSIPS
        /usr/sbin/opensips[739]: ERROR:core:fix_cmd: Param [2] expected
        to be a variable</div>
      <div style="font-family:Helvetica, Arial, sans-serif;">Jan 24 22:20:48 OpenSIPS
        /usr/sbin/opensips[739]: ERROR:core:fix_actions: Failed to fix
        command <rest_get></div>
      <div style="font-family:Helvetica, Arial, sans-serif;">Jan 24 22:20:48 OpenSIPS
        /usr/sbin/opensips[739]: ERROR:core:fix_actions: fixing failed
        (code=-6) at /etc/opensips/opensips.cfg:232</div>
      <div style="font-family:Helvetica, Arial, sans-serif;">Jan 24 22:20:48 OpenSIPS
        /usr/sbin/opensips[739]: CRITICAL:core:fix_expr: fix_actions
        error</div></div>
    </blockquote>
    <p><tt>Hi,</tt></p>
    <p><tt>You are calling rest_get() with a quoted 2nd parameter, but
        the function expects a non-quoted variable.  The example snippet
        you gave worked well on my test, so I suspect there is another
        rest_get() call which is incorrect, see line 232 in your file.</tt></p>
    <p><tt>Regards,</tt><br clear="none">
    </p>
    <pre class="ydpbfaf4750yiv9441737075moz-signature">-- 
Liviu Chircu
<a shape="rect" class="ydpbfaf4750yiv9441737075moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu" rel="nofollow" target="_blank">www.twitter.com/liviuchircu</a> | <a shape="rect" class="ydpbfaf4750yiv9441737075moz-txt-link-abbreviated" href="http://www.opensips-solutions.com" rel="nofollow" target="_blank">www.opensips-solutions.com</a></pre><div class="ydpbfaf4750yiv9441737075yqt9098961182" id="ydpbfaf4750yiv9441737075yqtfd82488">
  </div></div></div><div class="ydpbfaf4750yqt9098961182" id="ydpbfaf4750yqtfd44991">_______________________________________________<br clear="none">Users mailing list<br clear="none"><a shape="rect" href="mailto:Users@lists.opensips.org" rel="nofollow" target="_blank">Users@lists.opensips.org</a><br clear="none"><a shape="rect" href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" rel="nofollow" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br clear="none"></div></div>
            </div>
        </div></body></html>