Fixed it! Silly me. #!/bin/sh asterisk -r -x "voter record 1727 /tmp/voter-recordRTC"`date +%F-%H-%M` >> /var/log/voterrecordlog The path needs to be defined in the command. Will post all this to the wiki soon. Hayden On Wed, Oct 25, 2017 at 8:40 PM, Hayden Honeywood <haydenph91@gmail.com> wrote:
Thanks Chuck.
My /tmp directory isn't filling up with any files at all. I made sure there had been voter receiver activity, and ran the script a few times. In the log it shows a new filename everytime I run it.
Went directly into the command line and ran: voter record 1727 voter-recordRTC1
I get back: voter instance 1727 Record: Recording enabled info file voter-recordRTC1
Check activity, then send the same command with 2 at the end of the filename to change. Nothing appears in /tmp. I did a complete search on the Pi for everything with the name voter in it, and still cannot find the recordings.
I also have a tmpfs that I will have to make bigger once I get it working 25M 8.0K 25M 1% /tmp