<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 25.01.2021 11:08, Dinesh
Krishnamurthy via Users wrote:<br>
</div>
<blockquote type="cite"
cite="mid:1605769356.4889361.1611565729925@mail.yahoo.com">
<div style="font-family: "Helvetica Neue", 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 Neue", 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 Neue", 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 Neue", Helvetica,
Arial, sans-serif;">Jan 24 22:20:48 OpenSIPS
/usr/sbin/opensips[739]: CRITICAL:core:fix_expr: fix_actions
error</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>
</p>
<pre class="moz-signature" cols="72">--
Liviu Chircu
<a class="moz-txt-link-abbreviated" href="http://www.twitter.com/liviuchircu">www.twitter.com/liviuchircu</a> | <a class="moz-txt-link-abbreviated" href="http://www.opensips-solutions.com">www.opensips-solutions.com</a></pre>
</body>
</html>