|
Each IRLPvAUX function is added by inserting a line in the "custom_decode" script file which tests for the DTMF
command to use and if found calls the IRLPvAUX script with an argument number corresponding to the function to be performed.
Each line is the same except for the DTMF command to test for and the argument number of the desired function for that DTMF
command.
The "custom_decode" script file is found as:
/home/irlp/custom/custom_decode
For each function you want to add you will need to insert a line like the following one where DTMF is replaced with the DTMF Command for the function and ARG is replaced with the Arg Number of the function. Function Arg numbers are listed in the
following table. When entering the line, be sure to include the spaces where shown.
if [ "$1" = "DTMF" ] ; then "$CUSTOM"/irlpvaux ARG ; exit 1 ; fi
| ARG |
|
Resulting Function |
| 1 |
- |
Speak Node Status |
| 2 |
- |
Speak Node Station ID |
| 3 |
- |
Speak Current Local Date & Time |
| 4 |
- |
Speak Station ID and Date & Time |
| 10 |
- |
Speak Last Call Received Node & When |
| 11 |
- |
Speak Last Called Out Node & When |
| 12 |
- |
Speak Last Call Waiting & When |
| 13 |
- |
Speak All Last Connections - No Date & Time |
| 20 |
- |
Connect To Last Call Received Node |
| 21 |
- |
Connect To Last Called Out Node |
| 22 |
- |
Connect To Last Call Waiting Node |
| 23 |
- |
Connect To Last Connected Node |
|
|
| It should be noted that the "custom_decode" script requires DTMF commands to use uppercase
letters A,B,C. It also requires the use of the uppercase S to indicate the * Key and the uppercase P to indicate the # Key. |
|
|
| ---------- Examples ---------- |
|
To add DTMF Command * 0 to activate the function Speak The Node Status (ARG 1)
use the line:
if [ "$1" = "S0
" ] ; then "$CUSTOM"/irlpvaux 1
; exit 1 ; fi
To add DTMF Command# # to activate the function Speak The Date & Time (ARG 3)
use the line:
if [ "$1" = "PP
" ] ; then "$CUSTOM"/irlpvaux 3
; exit 1 ; fi
To add DTMF Command A 0 1 to activate the function Speak The Last Call Out (ARG
11) use the line:
if [ "$1" = "A01
" ] ; then "$CUSTOM"/irlpvaux 11
; exit 1 ; fi
To add DTMF Command * 6 9 to activate the function Connect To Last Call Waiting (ARG 22) use the line:
if [ "$1" = "S69
" ] ; then "$CUSTOM"/irlpvaux 22
; exit 1 ; fi
|