<html>
<head><title></title></head>
<body><div class="iw_mail" dir="ltr">
<p style="margin:0;">Hello,</p>
<p style="margin:0;"><br></p>
<p style="margin:0;">I am trying to store data in the CDR from both before the BYE and after the BYE.</p>
<p style="margin:0;"><br></p>
<p style="margin:0;">In OpenSIPS 2.2.x we did the following - </p>
<p style="margin:0;"><br></p>
<p>modparam("acc", "db_extra","setuptime_msec=$avp(setuptime_msec);end_setup_time=$Ts;host_name=$avp(host_name) .... </p>
<p>modparam("acc", "db_extra_bye", "call_end_seconds=$avp(call_end_seconds);call_end_useconds=$avp(call_end_useconds);bye_src_ip=$avp(bye_src_ip);bye_time=$avp(bye_time)")</p>
<p><br></p>
<p>All of the values were sent to the database.</p>
<p><br></p>
<p><br></p>
<p><br></p>
<p>In OpenSIPS 2.4.x we are doing the following - </p>
<div><div>modparam("acc", "extra_fields", "db: setuptime_msec;end_setup_time;host_name; ... ;call_end_seconds;call_end_useconds;bye_src_ip;bye_time")</div></div>
<div><br></div>
<div>I am setting the $acc_extra(call_end_seconds) values after the BYE, but nothing is being sent to the database.</div>
<p style="margin:0;"><br></p>
<p style="margin:0;">How do we handle the after BYE values into the CDR for 2.4?</p>
<p style="margin:0;"><br></p>
<p style="margin:0;">Thanks in advance.</p>
<p style="margin:0;"><br></p>
<div class="signature">
<div style="font-family: arial, helvetica, sans-serif; font-size: 16px;"><span data-mce-style="color: #808080; font-family: arial,helvetica,sans-serif; font-size: 11pt;" style="color: rgb(128, 128, 128); font-size: 11pt;">Regards,</span></div>
<div style="font-family: arial, helvetica, sans-serif; font-size: 16px;">
<span data-mce-style="color: #808080; font-family: arial,helvetica,sans-serif; font-size: 11pt;" style="color: rgb(128, 128, 128); font-size: 11pt;"><strong>Pat Burke</strong></span><br><br><div><img alt="Voxtelesys | solutions to grow your business" src="http://www.voxtelesys.com/images/img/Voxtelesys-logo-2016-179x49-email-tagline.png" data-mce-src="http://www.voxtelesys.com/images/img/Voxtelesys-logo-2016-179x49-email-tagline.png" data-mce-style="color: #00274c; font-family: arial,helvetica,sans-serif; font-size: 16pt; font-weight: bold; text-decoration: none;" style="color: rgb(0, 39, 76); font-size: 16pt; font-weight: bold;"></div>
<div><span data-mce-style="color: #999999; font-size: 8pt;" style="color: rgb(153, 153, 153); font-size: 8pt;">______________________________________________________________________________________</span></div>
<div><span data-mce-style="font-size: 11pt; font-family: arial,helvetica,sans-serif; color: #808080;" style="font-size: 11pt; color: rgb(128, 128, 128);">Direct: (402) 403-5121 <span data-mce-style="font-size: 14pt;" style="font-size: 14pt;">|</span> Cell: (402) 443-8929 <span data-mce-style="font-size: 14pt;" style="font-size: 14pt;">|</span> Email: <a href="mailto:pat@voxtelesys.com">pat@voxtelesys.com</a></span></div>
<div><span data-mce-style="font-size: 11pt; font-family: arial,helvetica,sans-serif; color: #808080;" style="font-size: 11pt; color: rgb(128, 128, 128);">1801 23rd Avenue North <span data-mce-style="font-size: 14pt;" style="font-size: 14pt;">|</span> Suite 217 <span data-mce-style="font-size: 14pt;" style="font-size: 14pt;">|</span> Fargo, North Dakota 58102</span></div>
</div> </div>
</div></body>
</html>