Hi,
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,  
Example 1.8. rest_get usage
https://opensips.org/html/docs/modules/2.3.x/rest_client.html


Thank you,Dinesh
    On Monday, January 25, 2021, 02:45:24 PM GMT+5:30, Liviu Chircu 
<[email protected]> wrote:  
 
  On 25.01.2021 11:08, Dinesh Krishnamurthy via Users wrote:
  
 Jan 24 22:20:48 OpenSIPS /usr/sbin/opensips[739]: ERROR:core:fix_cmd: Param 
[2] expected to be a variable Jan 24 22:20:48 OpenSIPS /usr/sbin/opensips[739]: 
ERROR:core:fix_actions: Failed to fix command <rest_get> Jan 24 22:20:48 
OpenSIPS /usr/sbin/opensips[739]: ERROR:core:fix_actions: fixing failed 
(code=-6) at /etc/opensips/opensips.cfg:232 Jan 24 22:20:48 OpenSIPS 
/usr/sbin/opensips[739]: CRITICAL:core:fix_expr: fix_actions error 
 
Hi,
 
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.
 
Regards,
 
 -- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com 
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users
  
_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to