[arm-allstar] Hamvoip update
Doug Crompton
wa3dsp at gmail.com
Wed Jun 3 16:26:29 EDT 2020
An update has gone out - Asterisk 1.4.23-pre.hamvoip-V1.6.2-10 6/1/2020 -
Use the admin menu item 1 to update.
This corrects a long standing bug in the code that could cause a server
crash on a busy hub when many connections were being made.
It also adds the ability to interrogate the RX and TX timeouts with an
event statement. Events are executed when the variable changes state. This
would allow a user to run scripts to do things based on timeouts. The
script could do just about anything you would want including sleeping the
system for some period of time before it recovered. Here is some sample
code showing this -
; rpt.conf
;;
;; Sample node 1885
[1885]
tx_timeout = 240000 ; TX timeout in mS. Adjust as desired.
rx_timeout = 180000 ; RX timeout in mS. Adjust as desired.
rx_cosflap = 300 ; RX COS flap in mS. Adjust as desired.
events = events1885
[events1885]
# If TX is timed out create a file
touch /tmp/TX_TIMEOUT_1885 = s|t|RPT_TX_TIMEOUT
# If TX is not timed out remove the file
rm -f /tmp/TX_TIMEOUT_1885 = s|f|RPT_TX_TIMEOUT
# If RX is timed out create a file
touch /tmp/RX_TIMEOUT_1885 = s|t|RPT_RX_TIMEOUT
# If RX is not timed out remove a file
rm -f /tmp/RX_TIMEOUT_1885 = s|f|RPT_RX_TIMEOUT
# Another example
# Call a script at TX timeout, Pass true parameter
/etc/asterisk/local/some_script 1 = s|t|RPT_TX_TIMEOUT
# Call a script at no TX timeout, Pass false parameter
/etc/asterisk/local/some_script 0 = s|f|RPT_TX_TIMEOUT
*73 Doug*
*WA3DSP*
*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*
More information about the ARM-allstar
mailing list