hi bogdan,<br><br>I donot get any record in DB. I have written below the setting for acc made.<br><br># ----- acc params -----<br>/* what sepcial events should be accounted ? */<br>modparam("acc", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")<br>
modparam("acc", "early_media", 1)<br>modparam("acc", "report_ack", 1)<br>modparam("acc", "report_cancels", 1)<br><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><br>/* account triggers (flags) */<br><br>modparam("acc", "failed_transaction_flag", 3)<br>
modparam("acc", "log_flag", 1)<br>modparam("acc", "log_missed_flag", 2)<br><br>/* uncomment the following lines to enable DB accounting also */<br>modparam("acc", "db_flag", 1)<br>
modparam("acc", "db_missed_flag", 2)<br><br><br><br><div class="gmail_quote">On Tue, Feb 10, 2009 at 6:27 PM, Bogdan-Andrei Iancu <span dir="ltr"><<a href="mailto:bogdan@voice-system.ro">bogdan@voice-system.ro</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You mean you do not get any record in DB or only the db_extra values are missing?<br>
<br>
Do you set the acc flag in your script?<br>
<br>
Regards,<br>
Bogdan<br>
<br>
ASHWINI NAIDU wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">
oops sorry<br>
<br>
modparam("acc", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")<br>
modparam("acc", "db_extra", "src_user=$fU;src_domain=$fd;dst_user=$rU;dst_domain=$rd;src_ip=$si")<br>
<br>
this doesn't insert values into acc table.<br>
<br>
<br>
<br></div><div class="Ih2E3d">
On Tue, Feb 10, 2009 at 6:03 PM, Bogdan-Andrei Iancu <<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a> <mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>>> wrote:<br>
<br>
Hi ASHWINI,<br>
<br>
<br>
ASHWINI NAIDU wrote:<br>
<br>
<br>
hi All,<br>
<br>
Installed opensips-1.4.4 . my acc module is supoorted with<br>
mysql. but when i try to insert values into acc table using<br>
the below command the acc table is not getting populated.<br>
<br>
What is the below command for insert into acc ?<br>
<br>
Regards,<br>
Bogdan<br>
<br>
<br>
<br>
-- Thanking You,<br>
Ashwini BR Naidu<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br></div>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a> <mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><div class="Ih2E3d"><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>
<br>
<br>
<br>
<br>
<br>
-- <br>
Thanking You,<br>
Ashwini BR Naidu<br>
</div></blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanking You,<br>Ashwini BR Naidu<br>