Hi,<div><br></div><div>I have transaction accounting to RADIUS setup and get the start and stop events logged to file when a call is made. I want to extend this to also get CDR logs - call duration etc. To do this I understand I need to configure the acc module and load and configure the dialog module:</div>
<div><br></div><div>#!define FLD_DLG  4</div><div>modparam(&quot;acc&quot;, &quot;cdr_enable&quot;, 1)<br></div><div>modparam(&quot;dialog&quot;, &quot;dlg_flag&quot;, FLD_DLG)</div><div><br></div><div>I was expecting extra entries in the RADIUS file but they don&#39;t appear. I think this is because I need to set and clear the dialog flag at appropriate places in the route script (e.g. setflag(FLD_DLG)) but I&#39;m not sure where. Should this be done in the INVITE and BYE method handling as is currently done for the transaction accounting, e.g.:</div>
<div><br></div><div><div>        # account only INVITEs</div><div>        if (is_method(&quot;INVITE&quot;))</div><div>        {</div><div>                setflag(FLT_ACC); # do accounting</div><div>        }</div></div><div>
<br></div><div><br></div><div>Thanks,</div><div>Owen Lynch</div>