<div dir="ltr"><div><div><div><div>Razvan,<br></div>no, I was only setting the CDR_FLAG on the initial INVITE. This works with 1.10.<br><br></div>Then with 1.11, I tested setting the CDR_FLAG when processing BYE requests but it didn&#39;t work.<br>
Then I set DB_FLAG for BYE and after that, it worked.<br></div>So this behavior changed.<br>Thanks a lot.<br><br></div>Regards,<br>Takeshi.<br><div><div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Apr 30, 2014 at 11:05 PM, Răzvan Crainea <span dir="ltr">&lt;<a href="mailto:razvan@opensips.org" target="_blank">razvan@opensips.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
Hi, Takeshi!<br>
<br>
I just tested and there are no issues on my setup. Are you setting the CDR_FLAG for all the requests? Have you also tried with different db modes?<br>
<br>
Best regards,<br>
<br>
Razvan Crainea<br>
OpenSIPS Core Developer<br>
<a href="http://www.opensips-solutions.com" target="_blank">http://www.opensips-solutions.<u></u>com</a><div><div class="h5"><br>
<br>
On 04/23/2014 03:05 PM, mayamatakeshi wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div class="h5">
Hello,<br>
I am trying to upgrade from opensips 1.10 (commit<br>
bfd86ab25554082053167a82655e66<u></u>9ca1c0ea7c)<br>
to 1.11 (latest 313f41ad46921d543980fa9fc71fb0<u></u>715d385085).<br>
<br>
Almost everything works.<br>
However, in my opensips.cfg I set dialog db_mode to REALTIME. And I have<br>
acc in CDR mode.<br>
Then after making some calls and confirming the dialogs were inserted in<br>
the opensips.dialog table, I kill and restart opensips. Then I terminate<br>
the calls.<br>
In 1.10, this causes proper generation of records in the acc table.<br>
However, in 1.11, no records are written to acc table.<br>
I checked the release notes for 1.11 but could not find any indication<br>
that this behavior would change:<br>
<a href="http://opensips.org/pub/opensips/1.11.0/src/ChangeLog" target="_blank">http://opensips.org/pub/<u></u>opensips/1.11.0/src/ChangeLog</a><br>
<br>
Before filing a bug ticket i would like to confirm as i might be<br>
overlooking something.<br>
<br>
Here is the significant snippets of opensips.cfg:<br>
<br>
loadmodule &quot;dialog.so&quot;<br>
modparam(&quot;dialog&quot;, &quot;default_timeout&quot;, 10800)<br>
modparam(&quot;dialog&quot;, &quot;profiles_with_value&quot;, &quot;calls&quot;)<br>
modparam(&quot;dialog&quot;, &quot;db_url&quot;,<br>
&quot;mysql://opensips:opensipsrw@<u></u>localhost/opensips&quot;)<br>
modparam(&quot;dialog&quot;, &quot;db_mode&quot;, 1) # 1=REALTIME, 2=DELAYED, 3=SHUTDOWN<br>
modparam(&quot;dialog&quot;, &quot;db_update_period&quot;, 10)<br>
<br>
<br>
loadmodule &quot;acc.so&quot;<br>
modparam(&quot;acc&quot;, &quot;db_flag&quot;, &quot;DB_FLAG&quot;)<br>
modparam(&quot;acc&quot;, &quot;log_flag&quot;, &quot;LOG_FLAG&quot;)<br>
modparam(&quot;acc&quot;, &quot;log_level&quot;, -1)<br>
modparam(&quot;acc&quot;, &quot;log_facility&quot;, &quot;LOG_LOCAL0&quot;)<br>
modparam(&quot;acc&quot;, &quot;db_url&quot;, &quot;mysql://opensips:opensipsrw@<u></u>localhost/opensips&quot;)<br>
modparam(&quot;acc&quot;, &quot;failed_transaction_flag&quot;, &quot;FAILED_TRANSACTION_FLAG&quot;)<br>
modparam(&quot;acc&quot;, &quot;db_extra&quot;,<br>
&quot;domain=$avp(i:6);direction=$<u></u>avp(i:20);from_uname=$fU;to_<u></u>uname=$tU;calling_number=$avp(<u></u>i:21);destination=$avp(i:22);<u></u>anonymous=$avp(i:23);gwid=$<u></u>avp(i:24);forward=$avp(i:25)&quot;)<br>

modparam(&quot;acc&quot;, &quot;log_extra&quot;,<br>
&quot;domain=$avp(i:6);direction=$<u></u>avp(i:20);from_uname=$fU;to_<u></u>uname=$tU;calling_number=$avp(<u></u>i:21);destination=$avp(i:22);<u></u>anonymous=$avp(i:23);gwid=$<u></u>avp(i:24);forward=$avp(i:25)&quot;)<br>

modparam(&quot;acc&quot;, &quot;cdr_flag&quot;, &quot;CDR_FLAG&quot;)<br>
<br>
Regards,<br>
Takeshi<br>
<br>
<br>
<br></div></div>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
<br>
</blockquote>
<br>
______________________________<u></u>_________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-<u></u>bin/mailman/listinfo/users</a><br>
</blockquote></div><br></div></div></div></div></div></div>