Limit for interval -- e.g. 1 per 30 seconds, only allows hash.https://wiki.freeswitch.org/wiki/Limit#Which_backend_do_I_use.3F shows only hash supports interval.
"The interval argument is ONLY supported by the hash backend."-AviOn Tue, Mar 25, 2014 at 3:06 PM, Vik Killa <vipkilla@gmail.com> wrote:Last I knew, limit can be used interchangeably with hash or dbOn Tue, Mar 25, 2014 at 4:27 AM, Kevin Mathy <k.mathy@hexanet.fr> wrote:
Hi Vik,We can't use the the db backend for limit app because there's no support for the "interval" value. We can only work with this with a hash backend.
Also, we configured our servers to use the hash_remote function, but it seems that the hashes aren't replicated from the 1st server to the 2nd one.Thanks,Bien cordialement,Best Regards,Kevin MATHY | Ingénieur VoIP
2014-03-24 19:17 GMT+01:00 Vik Killa <vipkilla@gmail.com>:I believe hash stores in memory, you'll need to use mod_dbOn Mon, Mar 24, 2014 at 11:06 AM, Kevin Mathy <k.mathy@hexanet.fr> wrote:
Hi list,Today I'm trying to share some "limit" hashes between two Freeswitch servers (both running on 1.5.8b git version), but it doesn't work.I've made some tcpdump captures on the server which is trying to pull data from the other, and it seems like when pull requests are sent "automatically" (due to the hash.conf.xml configuration) there's no authentication phase before the "hash_dump" command is sent.Admitting that there's no necessary authentication, and that it's not an issue, nothing is received on my server, no hash is added...When I execute "hash_dump all" on the first server, I see something like :L/outgoing_0352620101/1/1/1/1395671049And when I execute "hash_dump all" on the 2nd server, nothing is returned.And finally, when I try to crash the 1st server and recover the calls on the 2nd one, the leg with limit applied is simply "dropped" because of the lack of hashes on the 2nd server.So, maybe I forgot to set something on hash or event_socket, or anything else, configuration, and you'll be able to tell me ?Also, if you have any other idea to make a concurrent call limit to be shared between multiple FS servers, I'll be glad to ear it ! ;-)Thanks a lot,Bien cordialement,Best Regards,Kevin MATHY | Ingénieur VoIP
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org
_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com
FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com
Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org