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 == "INVITE") {<br>š .......<br>š setflag("2"); //for call<br>š setflag("3"); //for missed call<br>
<br>š } <br>//for logging bye requests<br><br>š if (method == "BYE") {<br>š ...........<br>š setflag("2");<br>š setflag("3");<br>š }<br><br><div class="gmail_quote">2009/5/18 ãÜ×ÜÜÎÄÏÒÖ öÉíÜÊÌ <span dir="ltr"><<a href="mailto:tseveendorj@gmail.com">tseveendorj@gmail.com</a>></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("acc", "early_media", 1)<br>
modparam("acc", "report_ack", 1)<br>
modparam("acc", "report_cancels", 1)<br>
/* by default ww do not adjust the direct of the sequential requests.<br>
šif you enable this parameter, be sure the enable "append_fromtag"<br>
šin "rr" module */<br>
modparam("acc", "detect_direction", 0)<br>
/* account triggers (flags) */<br>
modparam("acc", "failed_transaction_flag", 3)<br>
modparam("acc", "log_flag", 1)<br>
modparam("acc", "log_missed_flag", 2)<br>
/* uncomment the following lines to enable DB accounting also */<br>
modparam("acc", "db_flag", 2)<br>
modparam("acc", "db_missed_flag", 3)<br>
modparam("acc", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")<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>