| Line 247: |
Line 247: |
| | | | |
| | ==Node Configuration== | | ==Node Configuration== |
| | + | As mentioned above the Asterisk CLI is as follows - |
| | + | * voter record instance_id [record filename] - Enables/Specifies (or disables) recording file for chan/voter |
| | + | Where |
| | + | |
| | + | - instance_id = voter number instance |
| | + | |
| | + | - record filename is the filename of the recording to be stored |
| | + | |
| | + | A script can be made and placed in cron.daily which will run every hour. Every time the above command is run in Asterisk, it creates a new file. An example of such a script is below |
| | + | #!/bin/sh asterisk -r -x "voter record instance_id /tmp/voter-record"`date +%F-%H-%M` >> /var/log/voterrecordlog |