How to enable queue_log on the embedded Asterisk of a Yeastar MyPBX?

kr flag

I have an old PBX from Yeastar that contains an instance of Asterisk
How can I enable the queue_log setting and have it persist across reboots?

kr flag

First, you have to enable SSH access from the web interface (System / LAN settings / Enable SSH).
Then log into the MyPBX and create the file /persistent/custom-cfg/logger_custom.conf with the following content:

queue_log = yes
; enable log rotation and removal of the archived file to avoid filling up the partition
rotatestrategy = sequential
exec_after_rotate = rm ${filename}

Finally, reboot the PBX:
asterisk -rx 'core restart gracefully'


Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.