Re: [sr-dev] acc to db has stopped working

2017-11-10 Thread Daniel-Constantin Mierla
On 10.11.17 07:46, Juha Heinanen wrote: > Daniel-Constantin Mierla writes: > >> This needs to be fixed to match the docs, but I am not sure where it >> would a better place, inside acc (test if async workers is not set and >> do db sync insert, so a solution specific for acc) or do it inside db >>

[sr-dev] acc to db has stopped working

2017-11-08 Thread Juha Heinanen
Found the reason why db acc had stopped working: I had removed async_workers parameter. Looks like acc module does not insert anything if db_insert_mode=2 and there is no async workers. From README, I get the impression that it should be doing standard insert in that case: 6.28.

[sr-dev] acc to db has stopped working

2017-11-08 Thread Juha Heinanen
I noticed that accounting to database has stopped working. I don't know when it has happened, but at least I have the problem with master. My acc config is like this: modparam("acc", "db_url", "mysql://user:pass@127.0.0.1/sip_proxy_usage") modparam("acc", "db_flag", 7) modparam("acc",