cdr table is locked during the miner script (one of the scripts that are executed every night to populate the report tables). The issue is in the subquery that takes all the agents involved in a call.
When this subquery is executed, Asterisk can't write to cdr, output a lot of errors and sometimes this lead to a lock
cdr table is locked during the miner script (one of the scripts that are executed every night to populate the report tables). The issue is in the subquery that takes all the agents involved in a call. When this subquery is executed, Asterisk can't write to cdr, output a lot of errors and sometimes this lead to a lock
Steps to reproduce
/opt/nethvoice-report/scripts/queue-miner.php