<p>Hey Guys,</p>

<p>I am having some hard time trying to record BYEs for calls which are disconnected from outside the signaling (eg: via dlg_end_dlg mi command).</p>

<p>I have tried setting CDR flag, evi_flag, evi_missed_flag and even call the acc_evi_request() manually in the route. There was no event triggered.</p>

<p>I should mention that I am using latest master of today.</p>

<p>Bellow an example of configuration:</p>

<pre><code>modparam("acc", "evi_flag", "CDR")
modparam("acc", "evi_missed_flag", "CDR")
...
local_route {
    if (is_method("BYE") ) {
        setflag(CDR);
        acc_evi_request("LOCAL_DISCONNECT"); #FixMe
    }
}
</code></pre>

<p>And the network capture for events:</p>

<pre><code>U 2015/05/17 14:52:59.015958 127.0.0.1:44151 -&gt; 127.0.0.1:8020
:dlg_end_dlg:
311
1582574523


#
U 2015/05/17 14:52:59.016792 127.0.0.1:8020 -&gt; 127.0.0.1:44151
200 OK

#
U 2015/05/17 14:52:59.029577 127.0.0.1:59830 -&gt; 127.0.0.1:2020
E_DLG_STATE_CHANGED
hash_entry::311
hash_id::1582574523
old_state::3
new_state::5
</code></pre>

<p>Thanks in advance for any kind of tip.</p>

<p>DanB</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">&mdash;<br>Reply to this email directly or <a href="https://github.com/OpenSIPS/opensips/issues/515">view it on GitHub</a>.<img alt="" height="1" src="https://github.com/notifications/beacon/AFOciaKtjtiH6FB3tb2Z6t93bBxpNZITks5oKIf9gaJpZM4EdqHW.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/OpenSIPS/opensips/issues/515"></link>
    <meta itemprop="name" content="View Issue"></meta>
  </div>
  <meta itemprop="description" content="View this Issue on GitHub"></meta>
</div>