[OpenSIPS-Users] about Accounting

Цэвээндорж ЖиМэйл tseveendorj at gmail.com
Mon May 18 07:52:56 CEST 2009


Hello,

I need to get accounting information in MySQL database.

*My acc settings*
# ----- acc params -----
/* what sepcial events should be accounted ? */
modparam("acc", "early_media", 1)
modparam("acc", "report_ack", 1)
modparam("acc", "report_cancels", 1)
/* by default ww do not adjust the direct of the sequential requests.
  if you enable this parameter, be sure the enable "append_fromtag"
  in "rr" module */
modparam("acc", "detect_direction", 0)
/* account triggers (flags) */
modparam("acc", "failed_transaction_flag", 3)
modparam("acc", "log_flag", 1)
modparam("acc", "log_missed_flag", 2)
/* uncomment the following lines to enable DB accounting also */
modparam("acc", "db_flag", 2)
modparam("acc", "db_missed_flag", 3)
modparam("acc", "db_url", "mysql://opensips:opensipsrw@localhost/opensips")

What is wrong in my configuration ?
How to do it ?

Sincerely,
Tseveen.



More information about the Users mailing list