Hi Atul, 

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. 

Cheers. 

On Mon, Apr 2, 2018, 9:07 PM Atul Thosar, <atulthosar@gmail.com> wrote:
Hi All,
I am using Kamailio
v4.4.x 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
​ (CPS)​
calls per sec) hitting on Kamailio which then distribute it to 2-3 FreeSWITCH servers.
​ ​
What is the optimal value should I set to ds_ping_interval and ds_probing_threshold?

If I set  
​​
ds_ping_interval=2 and
​​
ds_probing_threshold=1 then in every 2 sec, I would come to know if my
​​
FreeSWITCH server is down/up. But by setting such low values, I afraid there would
​be ​
lot of SIP traffic on network.
​ If I set high (say
ds_probing_threshold=5) then I may loose high number of calls (200 CPS, I will loose 1000 calls) in case 
FreeSWITCH server is down. ​


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?

--
​Thanks in Advance​
,
​​
Atul
​​
​​
​​


_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users