<p>Hi. Just tested and this helps and works as required. <br>
Just to be technically correct, the implementation disconnects the call when kamailio misses the keep-alive response to the number defined in the modparam in the entire call.<br>
But to better meet the use-case it should disconnect the call when the server misses the response consecutively. Meaning if I defined 3, the server should miss 3 responses consecutively to terminate the dialog and not in the entire call !!<br>
Let me know if I dont make a lot of sense here. However, the commit does help. Thanks.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly or <a href="https://github.com/kamailio/kamailio/issues/438#issuecomment-205244787">view it on GitHub</a><img alt="" height="1" src="https://github.com/notifications/beacon/AF36Zf8PtQWoZxPDitUhn5YuL-y2xoYIks5p0PAEgaJpZM4Gylqf.gif" width="1" /></p>
<div itemscope itemtype="http://schema.org/EmailMessage">
<div itemprop="action" itemscope itemtype="http://schema.org/ViewAction">
  <link itemprop="url" href="https://github.com/kamailio/kamailio/issues/438#issuecomment-205244787"></link>
  <meta itemprop="name" content="View Issue"></meta>
</div>
<meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>