Allstar Timeout Function and Script: Top of rpt.conf file set timeout time variables. Example is 60 seconds: tx_timeout=60000 rx_timeout=60000 Put in rpt.conf under event: [events"yourNodeNumber"] /usr/local/bin/timeout.sh 1 = s|t|RPT_TX_TIMEOUT /usr/local/bin/timeout.sh 1 = s|t|RPT_RX_TIMEOUT Make script and change node number: #!/bin/bash asterisk -rx "rpt cmd "yourNodeNumber" cop 3"|grep executed asterisk -rx "rpt cmd "yourNodeNumber" cop 54"|grep executed sleep 60.0 asterisk -rx "rpt cmd "yourNodeNumber" cop 53"|grep executed asterisk -rx "rpt cmd "yourNodeNumber" cop 2"|grep executed
Allstar Timeout Function and Script:
Top of rpt.conf file set timeout time variables. Example is 60 seconds:
tx_timeout=60000
rx_timeout=60000
Put in rpt.conf under event:
[events"yourNodeNumber"]
/usr/local/bin/timeout.sh 1 = s|t|RPT_TX_TIMEOUT
/usr/local/bin/timeout.sh 1 = s|t|RPT_RX_TIMEOUT
Make script and change node number:
#!/bin/bash
asterisk -rx "rpt cmd "yourNodeNumber" cop 3"|grep executed
asterisk -rx "rpt cmd "yourNodeNumber" cop 54"|grep executed
sleep 60.0
asterisk -rx "rpt cmd "yourNodeNumber" cop 53"|grep executed
asterisk -rx "rpt cmd "yourNodeNumber" cop 2"|grep executed