[Freeswitch-users] Using hiredis as limit backend for counter

Saqib Nawaz saqibnawaz5812 at gmail.com
Wed Oct 23 20:22:55 UTC 2019


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/
8888556 at 192.168.1.1:3456 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/8888556 at 192.168.1.1:3456
limit(hiredis default campaign 2251) [DEBUG] switch_limit.c:126 incr
called: default_campaign max:2251, interval:0 Regards,
Saqib Nawaz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191024/6010ee5d/attachment.html>


More information about the FreeSWITCH-users mailing list