Modify echo-install to add logic to check for existance of EchoIRLP scripts
within custom_decode, custom_on, custom_off, and environment file changes.
This will allow IRLP to function if EchoIRLP is removed, or if IRLP is
restored from a backup without EchoIRLP.
custom_decode Example:
if [ -x "$ECHO_SCRIPT/echo_end" ] ; then
# Use EchoIRLP to disconnect
if [ "$1" = "73" ] ; then "$ECHO_SCRIPT"/echo_end ; exit 1 ; fi
fi
if [ -x "$ECHO_SCRIPT/echo_call" ] ; then
# Echolink Prefix detector
# If you change the EchoIRLP prefix, you must also change "num" below to
the number of digits in the prefix.
eval `echo $1 | awk -v num= '{
print "PRE="substr($1,1,num);
print "NODE="substr($1,(num)+1,length($1))}'`
#Call echolink conferences using star node method
if [ "$PRE" = "S" ] ; then "$ECHO_SCRIPT"/echo_call $NODE ; exit 1 ; fi
fi
Original issue reported on code.google.com by david.mc...@gmail.com on 11 Sep 2006 at 5:45
Original issue reported on code.google.com by
david.mc...@gmail.com
on 11 Sep 2006 at 5:45