[Freeswitch-users] hiredis as limit backend
go chance
omgofchance at gmail.com
Wed Oct 23 18:35:41 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)
2019-10-23 18:16:31.923866 [DEBUG] switch_limit.c:126 incr called:
default_campaign max:2251, interval:0
Regards,
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20191023/496c5606/attachment.html>
More information about the FreeSWITCH-users
mailing list