<div dir="auto"><div>Hi Atul, </div><div dir="auto"><br></div><div dir="auto">What is your main concern? I don't see how a lightweight Options request and reply every second or so for each of your 2-3 gateways can overwhelm a network (presumably LAN), considering that you are handling 400 heavyweight Invites per second. </div><div dir="auto"><br></div><div dir="auto">Cheers. <br><br><div class="gmail_quote" dir="auto"><div dir="ltr">On Mon, Apr 2, 2018, 9:07 PM Atul Thosar, <<a href="mailto:atulthosar@gmail.com">atulthosar@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="color:rgb(0,0,0)"><span style="font-family:trebuchet ms,sans-serif">Hi All,<br>I am using Kamailio <div style="display:inline" class="gmail_default"><b></b></div><b>v4.4.x</b> to load balanced traffic to FreeSWITCH servers. I have query regarding ds_ping_interval and ds_probing_threshold. We have very high traffic (around 200-400<div style="display:inline" class="gmail_default"> (CPS)</div> calls per sec) hitting on Kamailio which then distribute it to 2-3 FreeSWITCH servers.<div style="display:inline" class="gmail_default"> </div>What is the optimal value should I set to ds_ping_interval and ds_probing_threshold?<br><br>If I set <div style="font-family:courier new,monospace;color:rgb(53,28,117);display:inline" class="gmail_default"></div>ds_ping_interval=2 and <div style="display:inline" class="gmail_default"></div>ds_probing_threshold=1 then in every 2 sec, I would come to know if my <div style="display:inline" class="gmail_default"></div>FreeSWITCH server is down/up. But by setting such low values, I afraid there would <div style="display:inline" class="gmail_default">be </div>lot of SIP traffic on network.<div style="display:inline" class="gmail_default"> If I set high (say
<div style="display:inline" class="gmail_default"></div>ds_probing_threshold=5) then I may loose high number of calls (200 CPS, I will loose 1000 calls) in case
<div style="display:inline" class="gmail_default"></div>FreeSWITCH server is down. </div><br><br>As I said earlier we have very high traffic hitting on Kamailio, can't kamailio use INVITE itself to probe FreeSWITCH server is down/up? In case of low traffic can't it switch over to OPTION mechanism?<br><br>--<br><div style="display:inline" class="gmail_default">Thanks in Advance</div>,<br><div style="display:inline" class="gmail_default"></div>Atul</span></span><div style="display:inline" class="gmail_default"><span style="color:rgb(0,0,0)"><span style="font-family:trebuchet ms,sans-serif"></span></span></div><span style="color:rgb(0,0,0)"><span style="font-family:trebuchet ms,sans-serif"><div style="display:inline" class="gmail_default"></div><div style="font-family:courier new,monospace;display:inline" class="gmail_default"></div><br><br></span></span></div>
_______________________________________________<br>
Kamailio (SER) - Users Mailing List<br>
<a href="mailto:sr-users@lists.kamailio.org" target="_blank" rel="noreferrer">sr-users@lists.kamailio.org</a><br>
<a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" rel="noreferrer noreferrer" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><br>
</blockquote></div></div></div>