Changes

Jump to navigation Jump to search
no edit summary
Line 263: Line 263:  
- record filename is the filename of the recording to be stored
 
- 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
+
A script can be made and placed in cron.hourly 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
 
  #!/bin/sh asterisk -r -x "voter record instance_id /tmp/voter-record"`date +%F-%H-%M` >> /var/log/voterrecordlog
 
the /tmp/ directory can be substituted for mounted USB HDD.
 
the /tmp/ directory can be substituted for mounted USB HDD.
12

edits

Navigation menu