<div dir="ltr"><span style="color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;white-space:pre-wrap;background-color:rgb(248,249,250)">Hi,

How would one go about using hiredis as limit backend for a counter object in JS dialplan?

Without mentioning "default" hiredis profile 
session.execute("limit","hiredis campaign 2251");
EXECUTE sofia/external/</span><a href="http://8888556@192.168.1.1:3456/" target="_blank" rel="noopener nofollow noreferrer" style="text-decoration-line:none;color:rgb(26,115,232);background:rgb(248,249,250);font-size:14px;margin:0px;padding:0px;vertical-align:baseline;font-family:Roboto,sans-serif;white-space:pre-wrap">8888556@192.168.1.1:3456</a><span style="color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;white-space:pre-wrap;background-color:rgb(248,249,250)"> limit(hiredis campaign 2251)
[DEBUG] switch_limit.c:126 incr called: campaign_2251 max:-1, interval:0
[ERR] mod_hiredis.c:148 hiredis: Unable to locate profile[campaign]

with "default" profile mentioned in execute
session.execute("limit","hiredis default campaign 2251");
EXECUTE sofia/external/</span><a href="http://8888556@192.168.1.1:3456/" target="_blank" rel="noopener nofollow noreferrer" style="text-decoration-line:none;color:rgb(26,115,232);background:rgb(248,249,250);font-size:14px;margin:0px;padding:0px;vertical-align:baseline;font-family:Roboto,sans-serif;white-space:pre-wrap">8888556@192.168.1.1:3456</a><span style="color:rgb(32,33,36);font-family:Roboto,sans-serif;font-size:14px;white-space:pre-wrap;background-color:rgb(248,249,250)"> limit(hiredis default campaign 2251)
[DEBUG] switch_limit.c:126 incr called: default_campaign max:2251, interval:0


Regards,</span>  <br><div>Saqib Nawaz</div></div>