Hi Team
Inserts require resources, especially on high load situations and if there are a couple of indexes on the table.
As I use the dialogue module to create CDR, I would like to disable the normal transaction based accounting.
I have attempted by not calling:
setflag(FLT_ACC) setflag(FLT_ACCFAILED)
but I still get both, CDR and Transaction entries created in the corresponding database tables.
How could I turn off transaction accounting?
Mit freundlichen Grüssen
-Benoît Panizzon-
Hi Team
After more experimenting around trying to get CDR but no accouting...
Am I right to assume, this is not possible?
db_url affects both, acc and cdrs. So setting db_url to "" also disables cdrs.
So the only way to keep the acc tables from 'exploding' is to have a cronjob deleting the data on a regular basis, or am I missing anything?
Mit freundlichen Grüssen
-Benoît Panizzon-
Hello,
writing to db acc table should happen only if configured acc db_flag is set, it is not done just because db_url is set.
Cheers, Daniel
On 25.11.22 14:28, Benoit Panizzon wrote:
Hi Team
After more experimenting around trying to get CDR but no accouting...
Am I right to assume, this is not possible?
db_url affects both, acc and cdrs. So setting db_url to "" also disables cdrs.
So the only way to keep the acc tables from 'exploding' is to have a cronjob deleting the data on a regular basis, or am I missing anything?
Mit freundlichen Grüssen
-Benoît Panizzon-
I m p r o W a r e A G - Leiter Commerce Kunden ______________________________________________________
Zurlindenstrasse 29 Tel +41 61 826 93 00 CH-4133 Pratteln Fax +41 61 826 93 01 Schweiz Web http://www.imp.ch ______________________________________________________
Kamailio - Users Mailing List - Non Commercial Discussions sr-users@lists.kamailio.org Important: keep the mailing list in the recipients, do not reply only to the sender! Edit mailing list options or unsubscribe: https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users