Hi Bogdan,<br><br>Thank you for the help [:)]<br><br><div class="gmail_quote">On Tue, Feb 10, 2009 at 7:07 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;">Then do it, as this will trigger the accounting.<div class="Ih2E3d"><br>
<br>
Regards,<br>
Bogdan<br>
<br>
ASHWINI NAIDU wrote:<br>
</div><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">
no i don't setflag(1) for requests or anywhere in the script<br>
<br></div><div class="Ih2E3d">
On Tue, Feb 10, 2009 at 6:58 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></div><div><div></div><div class="Wj3C7c">
do you do "setflag(1)" in you script, for the requests?<br>
<br>
<br>
Regards,<br>
Bogdan<br>
<br>
ASHWINI NAIDU wrote:<br>
<br>
hi bogdan,<br>
<br>
I donot get any record in DB. I have written below the setting<br>
for acc made.<br>
<br>
# ----- acc params -----<br>
/* what sepcial events should be accounted ? */<br>
modparam("acc", "db_url",<br>
"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<br>
requests.<br>
if you enable this parameter, be sure the enable<br>
"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>
On Tue, Feb 10, 2009 at 6:27 PM, Bogdan-Andrei Iancu<br>
<<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>><br></div></div><div><div></div>
<div class="Wj3C7c">
<mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a><br>
<mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>>>> wrote:<br>
<br>
You mean you do not get any record in DB or only the db_extra<br>
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>
<br>
oops sorry<br>
<br>
modparam("acc", "db_url",<br>
"mysql://opensips:opensipsrw@localhost/opensips")<br>
modparam("acc", "db_extra",<br>
"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>
On Tue, Feb 10, 2009 at 6:03 PM, Bogdan-Andrei Iancu<br>
<<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>><br>
<mailto:<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>>><br>
<mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a><br>
<mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a>><br>
<mailto:<a href="mailto:bogdan@voice-system.ro" target="_blank">bogdan@voice-system.ro</a><br>
<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<br>
supoorted with<br>
mysql. but when i try to insert values into acc<br>
table using<br>
the below command the acc table is not getting<br>
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>
<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
<mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>>><br>
<mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>><br>
<mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a><br>
<mailto:<a href="mailto:Users@lists.opensips.org" target="_blank">Users@lists.opensips.org</a>>>><br>
<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>
-- Thanking You,<br>
Ashwini BR Naidu<br>
<br>
<br>
<br>
<br>
<br>
-- Thanking You,<br>
Ashwini BR Naidu<br>
<br>
<br>
<br>
<br>
<br>
-- <br>
Thanking You,<br>
Ashwini BR Naidu<br>
</div></div></blockquote>
<br>
</blockquote></div><br><br clear="all"><br>-- <br>Thanking You,<br>Ashwini BR Naidu<br>