[Spce-user] ngcp-cleanup-acc not work

cappellari at connectlife.it cappellari at connectlife.it
Thu Dec 3 16:35:55 EST 2020


hi, cronjob ngcp-cleanup-acc not work automatically.. 

in /etc/cron.d/ngcp-cleanup-tool have: 

00 03 * * * root ngcp-cleanup-acc >/dev/null 2>&1 
29 03 * * * root ngcp-cleanup-cdr-files >/dev/null 2>&1 
*/59 * * * * root [ -d /var/spool/asterisk/voicemail/default/ ] && find /var/spool/asterisk/voicemail/default/ -maxdepth 1 -mmin +59 -type d ! -name default -exec r$ 

In the /var/log/cron.log: 

Nov 30 03:00:01 sbc CRON[5859]: (root) CMD ( ngcp-cleanup-acc >/dev/null 2>&1) 


But the cdr remains in database 

Why? 

if run ngcp-cleanup-acc manually: 

Use of uninitialized value $aff in addition (+) at /usr/share/perl5/NGCP/Cleanup.pm line 658. 
Use of uninitialized value $aff in numeric gt (>) at /usr/share/perl5/NGCP/Cleanup.pm line 659. 


version:9.1.1 

Thanks 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sipwise.com/pipermail/spce-user_lists.sipwise.com/attachments/20201203/0f1b59c5/attachment.html>


More information about the Spce-user mailing list