I have been working with asterisk for a couple of months now and am currently utilizing the autodial function with the record application. Basically I just want the system to place a call, record for 8 seconds and hangup. Now sometimes the system does this without a problem using the call file format below.
However, when I append a q to remove the initial beep like so:
The call recording is deleted once the call is hung up. If I add “,k” after q, the file is not deleted but is a blank wav file. I have tried removing the beep in other ways, such as deleting the beep audio file, replacing it with my own very short silent audio file, and even commenting out that part of app_record.c. But each time it has resulted in the same action. The call recording is deleted after the call is hung up. Watching the CLI and the logs, asterisk reports that the call was completed successfully.
I have tried this on 3 different asterisk systems and all have the same results, so I believe it is actually a problem in asterisk itself.
Any help would be appreciated.