Call Screening No Memory - Temporary Fix

I was having the below problem on a Trixbox 2.6.1 build so…

I Just did a clean install of PBXIAF and updated to 2.5.0rc1.1

Caller Screening with no memory is broken.

I believe it should work as follows.

Person calls in and is prompted to speak their name.

Caller is put on hold.

Sip phone rings and announces caller and presents options.

Call is completed.

“So far so good!”

However if the person calls back they are not prompted to speak their name again. I assume this is how the SCREEN CALLER: MEMORY option is supposed to work, but it is doing the same thing for NO MEMORY!

It would appear that the caller announcement files are not being removed from the filesystem after they are played to the person receiving the call.

Any help would be greatly appreciated.

you should probably file a bug in the tracker for this.

Bug report filed.

Thank You.

And for anyone who needs to use this feature now I have come up with a solution which will work in the interim.

Create, I made mine in /usr/local/sbin and add the following line to it.

find /var/lib/asterisk/sounds/priv-callerintros -name ‘*.gsm’ -mmin +1 -exec rm {} ;

Save and exit.

Then I set that script to run as a cron job once a minute.

crontab -e

          • /usr/local/sbin/

This script checks for gsm files in the directory priv-callerintros and removes any file which was modified more than 1 minute before the job runs.