Re: [SR-Users] How to detect and Hangup a call on network lost at Caller or Callee?

2018-08-30 Thread Sergiu Pojoga
Joel, I'm not all too sure about the *ka_timer*, but it must be more or less how you described it. In my observation below, when caller disappears from the network, Kamailio sends 10 OPTIONS requests followed by 10 BYE if no reply received, which is probably the value of *ka_timer*. [image:

Re: [SR-Users] How to detect and Hangup a call on network lost at Caller or Callee?

2018-08-29 Thread Alex Balashov
On Wed, Aug 29, 2018 at 01:18:24PM -0400, Sergiu Pojoga wrote: > Hi Joel, > > I personally use the values from examples: > > modparam("dialog", "ka_timer", 10) > modparam("dialog", "ka_interval", 300) > modparam("dialog", "send_bye", 1) That's more or less how I roll, too. -- Alex Balashov |

Re: [SR-Users] How to detect and Hangup a call on network lost at Caller or Callee?

2018-08-29 Thread Sergiu Pojoga
Hi Joel, I personally use the values from examples: modparam("dialog", "ka_timer", 10) modparam("dialog", "ka_interval", 300) modparam("dialog", "send_bye", 1) On Wed, Aug 29, 2018 at 11:48 AM Joel Serrano wrote: > Hi Alex/Sergeu/Hamid, > > This is super useful and I had no idea about it! > >

Re: [SR-Users] How to detect and Hangup a call on network lost at Caller or Callee?

2018-08-29 Thread Joel Serrano
Hi Alex/Sergeu/Hamid, This is super useful and I had no idea about it! Would you mind sharing your modparam settings for dialog module relative to keepalive? I’d love to see what values you guys are using to have starting reference ;) Thanks, Joel. On Wed, Aug 29, 2018 at 07:00 Sergiu Pojoga

Re: [SR-Users] How to detect and Hangup a call on network lost at Caller or Callee?

2018-08-29 Thread Alex Balashov
On Wed, Aug 29, 2018 at 01:43:52PM +, Hamid Hashmi wrote: > I already tried this but it didn't work. There are no OPTIONS packet > to caller or callee. I use it; it works. I would troubleshoot that angle further. -- Alex Balashov | Principal | Evariste Systems LLC Tel: +1-706-510-6800 /

Re: [SR-Users] How to detect and Hangup a call on network lost at Caller or Callee?

2018-08-29 Thread Hamid Hashmi
Daniel Default Session-Expires time is 1800 sec. Can't we set Max Session-Expires as Min-SE because I didn't find any softphone which provides an option to change Sessions-Expire time? Call disconnected after 1800 sec. Alex I already tried this but it didn't work. There are no OPTIONS packet

Re: [SR-Users] How to detect and Hangup a call on network lost at Caller or Callee?

2018-08-29 Thread Daniel Grotti
Hi, have you tired SIP Session Timers (https://kamailio.org/docs/modules/5.1.x/modules/sst.html)? Daniel On 08/29/2018 11:30 AM, Hamid Hashmi wrote: Dear Users Please advise how to detect a network lost at caller or callee side. I have tried timeout_socket

[SR-Users] How to detect and Hangup a call on network lost at Caller or Callee?

2018-08-29 Thread Hamid Hashmi
Dear Users Please advise how to detect a network lost at caller or callee side. I have tried timeout_socket and keepalives