<div dir="ltr">Hi Vik, <div><br></div><div>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. </div><div><br>
</div><div>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.</div><div><br></div><div>Thanks, </div></div><div class="gmail_extra">
<br clear="all"><div><b><div><span style="font-weight:normal">Bien cordialement, </span></div><div><span style="font-weight:normal">Best Regards, </span></div><div><span style="font-weight:normal"><br></span></div></b><b>Kevin MATHY</b> |<b> </b>Ingénieur VoIP<br>
<div><div><b><br></b></div></div></div>
<br><br><div class="gmail_quote">2014-03-24 19:17 GMT+01:00 Vik Killa <span dir="ltr"><<a href="mailto:vipkilla@gmail.com" target="_blank">vipkilla@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I believe hash stores in memory, you'll need to use mod_db</div><div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Mon, Mar 24, 2014 at 11:06 AM, Kevin Mathy <span dir="ltr"><<a href="mailto:k.mathy@hexanet.fr" target="_blank">k.mathy@hexanet.fr</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi list, <div><br></div><div>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.</div>
<div><br></div><div>
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.</div>
<div><br></div><div>Admitting that there's no necessary authentication, and that it's not an issue, nothing is received on my server, no hash is added... </div><div><br></div><div>When I execute "hash_dump all" on the first server, I see something like : </div>
<div><div>L/outgoing_0352620101/1/1/1/1395671049</div></div><div><br></div><div>And when I execute "hash_dump all" on the 2nd server, nothing is returned.</div><div><br></div><div>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.</div>
<div><br></div><div>So, maybe I forgot to set something on hash or event_socket, or anything else, configuration, and you'll be able to tell me ?</div><div><br></div><div>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 ! ;-)</div>
<div><br></div><div>Thanks a lot, </div><div><br></div><div><div><b><div><span style="font-weight:normal">Bien cordialement, </span></div><div><span style="font-weight:normal">Best Regards, </span></div><div><span style="font-weight:normal"><br>
</span></div></b><b>Kevin MATHY</b> |<b> </b>Ingénieur VoIP<br><div><div><b><br></b></div></div></div>
</div></div>
<br>
</div></div><img src="http://www.hexanet.fr/sites/files/hexanet/files/20130205_signature_hexanet.gif"><br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
<br>
<img src="http://www.hexanet.fr/sites/files/hexanet/files/20130205_signature_hexanet.gif">