I was curious if anyone knows what asterisk call recordings cleans up when making a new recording using the dial in interface?
I had made duplicate copies of a few recordings, trying to be smart and save future recordings.
Office_Welcome.wav -> Office_Welcome.wav.VACATION
But I found that the .VACATION copy was deleted after I recorded a new Office_Welcome message. Further, I managed to lock up asterisk (ps was showing “rm Office_Welcome.wav Office_Welcome_wav.VACATION”) because I did it as a non-asterisk user and it couldn’t delete the file.
So -
- It looks like a regexp is used to generate the delete list.
- Is there a concern about deleting similar named recordings? Or only recordings with different extensions added?
Thanks!