<div dir="ltr"><font face="arial, sans-serif" color="#000000">Hi,<br><br>How would one go about using hiredis as limit backend for a counter object in JS dialplan?<br></font><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"><font face="arial, sans-serif" color="#000000"><span style="font-variant-ligatures:no-common-ligatures"><br></span></font></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"></p><font face="arial, sans-serif" color="#000000">Without mentioning "default" hiredis profile </font><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"><font face="arial, sans-serif" color="#000000"><span style="font-variant-ligatures:no-common-ligatures">session.execute(</span><span style="font-variant-ligatures:no-common-ligatures">"limit"</span><span style="font-variant-ligatures:no-common-ligatures">,</span><span style="font-variant-ligatures:no-common-ligatures">"hiredis campaign 2251");<br></span></font></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000">EXECUTE sofia/external/<a href="http://8888556@192.168.1.1:3456/" target="_blank">8888556@192.168.1.1:3456</a> limit(hiredis campaign 2251)</font></span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000">[DEBUG] switch_limit.c:126 incr called: campaign_2251 max:-1, interval:0</font></span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000">[ERR] mod_hiredis.c:148 hiredis: Unable to locate profile[campaign]</font></span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000"></font></span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"><font face="arial, sans-serif" color="#000000"><br></font></p><font face="arial, sans-serif" color="#000000"><br>with "default" profile mentioned in execute<br></font><p></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"><font face="arial, sans-serif" color="#000000"><span style="font-variant-ligatures:no-common-ligatures">session.execute(</span><span style="font-variant-ligatures:no-common-ligatures">"limit"</span><span style="font-variant-ligatures:no-common-ligatures">,</span><span style="font-variant-ligatures:no-common-ligatures">"hiredis default campaign 2251");</span></font></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000">EXECUTE sofia/external/<a href="http://8888556@192.168.1.1:3456/" target="_blank">8888556@192.168.1.1:3456</a> limit(hiredis default campaign 2251)</font></span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000"></font></span></p><p style="font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;line-height:normal;margin:0px"><span style="font-variant-ligatures:no-common-ligatures"><font face="arial, sans-serif" color="#000000">2019-10-23 18:16:31.923866 [DEBUG] switch_limit.c:126 incr called: default_campaign max:2251, interval:0<br><br></font><br>Regards,</span></p></div>