hi,<br><br>šš have you set the flag 2 and 3 at invite and bye.<br><br>šš i.e <br>//logging invite requests<br><br>šš if ( method == &quot;INVITE&quot;) {<br>š .......<br>š setflag(&quot;2&quot;); //for call<br>š setflag(&quot;3&quot;); //for missed call<br>
<br>š } <br>//for logging bye requests<br><br>š if (method == &quot;BYE&quot;) {<br>š ...........<br>š setflag(&quot;2&quot;);<br>š setflag(&quot;3&quot;);<br>š }<br><br><div class="gmail_quote">2009/5/18 ãÜ×ÜÜÎÄÏÒÖ öÉíÜÊÌ <span dir="ltr">&lt;<a href="mailto:tseveendorj@gmail.com">tseveendorj@gmail.com</a>&gt;</span><br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hello,<br>
<br>
I need to get accounting information in MySQL database.<br>
<br>
*My acc settings*<br>
# ----- acc params -----<br>
/* what sepcial events should be accounted ? */<br>
modparam(&quot;acc&quot;, &quot;early_media&quot;, 1)<br>
modparam(&quot;acc&quot;, &quot;report_ack&quot;, 1)<br>
modparam(&quot;acc&quot;, &quot;report_cancels&quot;, 1)<br>
/* by default ww do not adjust the direct of the sequential requests.<br>
 šif you enable this parameter, be sure the enable &quot;append_fromtag&quot;<br>
 šin &quot;rr&quot; module */<br>
modparam(&quot;acc&quot;, &quot;detect_direction&quot;, 0)<br>
/* account triggers (flags) */<br>
modparam(&quot;acc&quot;, &quot;failed_transaction_flag&quot;, 3)<br>
modparam(&quot;acc&quot;, &quot;log_flag&quot;, 1)<br>
modparam(&quot;acc&quot;, &quot;log_missed_flag&quot;, 2)<br>
/* uncomment the following lines to enable DB accounting also */<br>
modparam(&quot;acc&quot;, &quot;db_flag&quot;, 2)<br>
modparam(&quot;acc&quot;, &quot;db_missed_flag&quot;, 3)<br>
modparam(&quot;acc&quot;, &quot;db_url&quot;, &quot;mysql://opensips:opensipsrw@localhost/opensips&quot;)<br>
<br>
What is wrong in my configuration ?<br>
How to do it ?<br>
<br>
Sincerely,<br>
Tseveen.<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opensips.org">Users@lists.opensips.org</a><br>
<a href="http://lists.opensips.org/cgi-bin/mailman/listinfo/users" target="_blank">http://lists.opensips.org/cgi-bin/mailman/listinfo/users</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanking You,<br>Ashwini BR Naidu<br>