<p>Many thanks for this contribution, it was on a to-do list for quite some time. I will look over the patch and merge it if all ok.</p>

<p>One question for now -- given your details that the event route is executed on tcp connection kill or time out, I guess those were some examples and the event route is also executed if the client closes the connection (e.g., it goes offline/closing the sip application), isn't it?</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br>Reply to this email directly or <a href="https://github.com/kamailio/kamailio/pull/454#issuecomment-167967599">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AF36Za97Xqs0y6v-8aQl_4YLXTQfomcOks5pU53sgaJpZM4G64Qp.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/pull/454#issuecomment-167967599"></link>
  <meta itemprop="name" content="View Pull Request"></meta>
</div>
<meta itemprop="description" content="View this Pull Request on GitHub"></meta>
</div>