Changes

Jump to navigation Jump to search
Line 61: Line 61:  
*voter txlockout [instance] <client_list>
 
*voter txlockout [instance] <client_list>
 
**Set Tx Lockout for voter instance clients
 
**Set Tx Lockout for voter instance clients
 +
*** *CLI> <code>voter txlockout 1999</code>  ''will show a list of locked-out and able to transmit sites''
 +
*** *CLI> <code>voter txlockout 1999 +North</code>  ''will add lock-out the North site. Transmit disabled.''
 +
*** *CLI> <code>voter txlockout 1999 -North</code>  ''will remove lock-out of the North site. Transmit enabled.''
    
*voter ping [client] <# pings, 0 to abort>
 
*voter ping [client] <# pings, 0 to abort>
Line 263: Line 266:  
- 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.
896

edits

Navigation menu