[Freeswitch-dev] Redis Module Implementation
rodnet at gmail.com
Mon Nov 26 06:52:23 MSK 2012
I'm currently looking at the redis module as a way of implementing limits
that are shared across multiple servers and noticed that for every limit I
create, two keys are set in redis.
One key is what I'm expecting, with the name derived from the values I've
supplied, however the other key is the same thing but with the hostname
Looking at the code, this could be either the hostname or the switchname
that is being prefixed (depending on if a switchname is set).
My question is basically why is it doing this ? I would have assumed that
if a dialplan author wanted the key in question to have the hostname or
switch name, couldn't they just include it in the call to limit in the dial
It also looks to me like there could be a bug where the hostname prefixed
key only gets incremented if there is a max set but will always get
I'm just trying to work out if this is intended behaviour and I have just
misunderstood the purpose of the module, or if it is worth trying to put a
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-dev