The custom_decode script is located in /home/irlp/custom directory. It can be edited by user root or user repeater. The custom_decode script allows the IRLP owner to modify the way the DTMF decoder works.
The script is called before the automatic determination of each DTMF string is interpreted. In other words, entries in the custom_decode script are compared FIRST, and therefore allows the operator to control the action of ANY DTMF sequence passed through the node.
Below is a sample custom_decode script, which shows a few additions that can be made. NOTE: Reference to AUX1 thru AUX3 are only available to Version 3 board owners.
--- START SAMPLE SCRIPT ---
# This is the custom decode file. Make sure all valid
codes exit with "exit 1".
#This line enables the node with code " ABC2#*" (note P=# S=*)
#This line adds the DTMF sequence "73" to
drop ANY active link
# This line takes the code 12345 and "dumps
# This line takes the code 23456 and causes it to
become a new reflector 2 on code
# The following code is a sample of turning ON and
OFF AUX1 contacts
#This line is required so that the rest of the decoding will still take place
--- END SAMPLE SCRIPT ---