User Tools

Site Tools


changing_reflector_timeout

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
changing_reflector_timeout [2018/05/17 10:54]
ve7ltd created
changing_reflector_timeout [2018/05/17 11:06]
ve7ltd
Line 1: Line 1:
-On a specific reflector:+**On a specific reflector:**
  
-Add a special entry into the file custom_decode,​ which adds the "​notimeout"​ flag to the call. The line would look like this:+Add a special entry into the file /​home/​irlp/​custom/​custom_decode,​ which adds the "​notimeout"​ flag to the call. The line would look like this:
  
 if [ "​${1}"​ = "​9198"​ ] ; then ${SCRIPT}/​connect_to_reflector ref9198 notimeout ; exit 1 ; fi if [ "​${1}"​ = "​9198"​ ] ; then ${SCRIPT}/​connect_to_reflector ref9198 notimeout ; exit 1 ; fi
  
-To break it down, ${1} is the value received by the DTMF decoder, it is compared to the value "​9198",​ and if it matches, it runs the script that calls ref9198. Then it exits with a value of 1, which prevents further commands from being processed.+To break it down, ${1} is the value received by the DTMF decoder, it is compared to the value "​9198",​ and if it matches, ​then it runs the script ​"​connect_to_reflector ref9198 notimeout" ​that calls ref9198, and removes the timeout timer. Then it exits with a value of 1, which prevents further commands from being processed.
  
-On all reflectors:+**On all reflectors:**
  
 Change the value for reflector timeouts in the environment file to something larger. I don't recommend a value of zero (which disables all), but something much larger than the default is fine. The value you want to change is: Change the value for reflector timeouts in the environment file to something larger. I don't recommend a value of zero (which disables all), but something much larger than the default is fine. The value you want to change is:
Line 17: Line 17:
 export REFLECT_TIMEOUT_VALUE=7200 (which is 120 minutes) export REFLECT_TIMEOUT_VALUE=7200 (which is 120 minutes)
  
-Dave Cameron 
changing_reflector_timeout.txt ยท Last modified: 2018/05/17 11:06 by ve7ltd