Asterisk 18.16 not writing to queue_log

I recently upgraded to Asterisk 18.9 and after the update, I’m noticing that my queue_log is not populating.

[root@pbx ~]# cat /etc/logrotate.d/asterisk
/var/log/asterisk/queue_log {
        daily
        missingok
        rotate 30
        notifempty
        sharedscripts
        create 0640 asterisk asterisk
        su asterisk asterisk
        postrotate
        /usr/sbin/asterisk -rx 'logger reload' > /dev/null 2> /dev/null
    endscript
}

Why did you upgrade to a version that was over a year old, rather than the latest (18.17.0)?

I would not be using this version of Asterisk. Not stating that it would solve your particular issue if you went to something newer but Queues in general are super buggy in this version.

When running asterisk-version-switch and choosing Asterisk18 this was the version provided

It wasn’t the only version. You chose 18 Certified which is a special version provided to Sangoma customers with a special support contract. Chose the other version 18 option.

You are right! I’ll try the other Asterisk version. Thought I was choosing the better option. Thanks

I’ve updated to asterisk 18.16 and the queue_log is still empty

Try Enabling queue logs in FreePBX | QueueMetrics Blog

In etc/asterisk/logger_general_additional.conf I see the following

dateformat=%F %T
rotatestrategy=rotate
queue_log=yes
appendhostname=no

It’s a little different than the guide you sent. It was working great until the update to Asterisk V18 and FreePBX V15

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.