/var/log/asterisk/api.log
/var/log/asterisk/ChamadaRamal.log
{
daily
rotate 365
create 0640 pbx pbx
dateext
dateformat -%d-%m-%Y
notifempty
delaycompress
copytruncate
olddir /var/log/logs_antigos/asterisk/api
missingok
su root root
}