This patch takes advantage of insert buffers when acc_db_request() is called from the script and the table is set to the currently configured acc or missed_calls table.
We manually call acc_db_request for failed calls so that we may update accounting variables before saving the call record. This gave us a big boost in performance.
Use insert buffers in acc_db_request()
Hello,
Thanks for the patch, it has been applied in OpenSIPS trunk.
Best Regards,
Vlad