###############################################################################
#                                                                             #
#                Configuration file for the SvxLink server                    #
#                                                                             #
###############################################################################

[GLOBAL]
###
MODULE_PATH=/usr/lib/arm-linux-gnueabihf/svxlink
###
LOGICS=SimplexLogic
CFG_DIR=svxlink.d
###TIMESTAMP_FORMAT="%c"
TIMESTAMP_FORMAT="%d %b %Y %H:%M:%S"
CARD_SAMPLE_RATE=48000
#CARD_CHANNELS=1
LOCATION_INFO=LocationInfo
#LINKS=LinkToR4

[SimplexLogic]
TYPE=Simplex
RX=Rx1
TX=Tx1
###MODULES=ModuleHelp,ModuleParrot,ModuleEchoLink,ModuleTclVoiceMail
MODULES=ModuleHelp,ModuleEchoLink,ModuleMetarInfo
CALLSIGN=ON4MS @
###SHORT_IDENT_INTERVAL=60
###
LONG_IDENT_INTERVAL=15
###
#IDENT_ONLY_AFTER_TX=4
###
EXEC_CMD_ON_SQL_CLOSE=500
###
EVENT_HANDLER=/usr/share/svxlink/events.tcl
DEFAULT_LANG=en_US
RGR_SOUND_DELAY=0
#RGR_SOUND_ALWAYS=0
#REPORT_CTCSS=136.5
#TX_CTCSS=ALWAYS
MACROS=Macros
FX_GAIN_NORMAL=0
FX_GAIN_LOW=-12
###
ACTIVATE_MODULE_ON_LONG_CMD=4:EchoLink
###
#QSO_RECORDER=8:QsoRecorder
#ONLINE_CMD=998877
###
MUTE_RX_ON_TX=1
MUTE_TX_ON_RX=1
###
#STATE_PTY=/var/run/svxlink/state
#DTMF_CTRL_PTY=/dev/shm/simplex_dtmf_ctrl
#CTCSS_TO_TG=77.0:999,123.0:9990,146.2:9992

[Macros]
1=EchoLink:9999#
9=Parrot:0123456789#
03400=EchoLink:9999#

[Rx1]
TYPE=Local
###RX_ID=?
RX_ID=R
AUDIO_DEV=alsa:plughw:1
AUDIO_CHANNEL=0
#AUDIO_DEV_KEEP_OPEN=0
SQL_DET=VOX
SQL_START_DELAY=0
SQL_DELAY=0
SQL_HANGTIME=2000
#SQL_EXTENDED_HANGTIME=1000
#SQL_EXTENDED_HANGTIME_THRESH=15
###SQL_TIMEOUT=600
SQL_TIMEOUT=150
VOX_FILTER_DEPTH=20
###VOX_THRESH=1000
VOX_THRESH=125
#CTCSS_MODE=2
###CTCSS_FQ=136.5
#CTCSS_SNR_OFFSET=0
#CTCSS_OPEN_THRESH=15
#CTCSS_CLOSE_THRESH=9
#CTCSS_BPF_LOW=60
#CTCSS_BPF_HIGH=270
###SERIAL_PORT=/dev/ttyS0
###SERIAL_PIN=CTS
#SERIAL_SET_PINS=DTR!RTS
#EVDEV_DEVNAME=/dev/input/by-id/usb-SYNIC_SYNIC_Wireless_Audio-event-if03
#EVDEV_OPEN=1,163,1
#EVDEV_CLOSE=1,163,0
#GPIO_PATH=/sys/class/gpio
#GPIO_SQL_PIN=gpio30
#PTY_PATH=/tmp/rx1_sql
#HID_DEVICE=/dev/hidraw3
#HID_SQL_PIN=VOL_UP
#SIGLEV_DET=TONE
SIGLEV_SLOPE=1
SIGLEV_OFFSET=0
#SIGLEV_BOGUS_THRESH=120
#TONE_SIGLEV_MAP=100,84,60,50,37,32,28,23,19,8
SIGLEV_OPEN_THRESH=30
SIGLEV_CLOSE_THRESH=10
DEEMPHASIS=0
#SQL_TAIL_ELIM=300
#PREAMP=6
PEAK_METER=1
DTMF_DEC_TYPE=INTERNAL
###
DTMF_MUTING=0
###
DTMF_HANGTIME=40
###DTMF_SERIAL=/dev/ttyS0
#DTMF_PTY=/tmp/rx1_dtmf
#DTMF_MAX_FWD_TWIST=8
#DTMF_MAX_REV_TWIST=4
###
1750_MUTING=1
###
#SEL5_DEC_TYPE=INTERNAL
#SEL5_TYPE=ZVEI1
#FQ=433475000
#MODULATION=FM
#WBRX=WbRx1
#OB_AFSK_ENABLE=0
#OB_AFSK_VOICE_GAIN=6
#IB_AFSK_ENABLE=0

[Tx1]
TYPE=Local
TX_ID=T
AUDIO_DEV=alsa:plughw:1
AUDIO_CHANNEL=0
#AUDIO_DEV_KEEP_OPEN=0
###PTT_TYPE=NONE
###PTT_PORT=/dev/ttyS0
PTT_TYPE=SerialPin
PTT_PORT=/dev/ttyUSB0
PTT_PIN=DTRRTS
#HID_DEVICE=/dev/hidraw3
#HID_PTT_PIN=GPIO3
#SERIAL_SET_PINS=DTR!RTS
#GPIO_PATH=/sys/class/gpio
#PTT_HANGTIME=1000
TIMEOUT=300
###TX_DELAY=500
TX_DELAY=100
#CTCSS_FQ=136.5
#CTCSS_LEVEL=9
PREEMPHASIS=0
DTMF_TONE_LENGTH=100
DTMF_TONE_SPACING=50
DTMF_DIGIT_PWR=-15
#MASTER_GAIN=0.0
#OB_AFSK_ENABLE=0
#OB_AFSK_VOICE_GAIN=-6
#OB_AFSK_LEVEL=-12
#OB_AFSK_TX_DELAY=100
#IB_AFSK_ENABLE=0
#IB_AFSK_LEVEL=-6
#IB_AFSK_TX_DELAY=100

[LocationInfo]
APRS_SERVER_LIST=euro.aprs2.net:14580
STATUS_SERVER_LIST=aprs.echolink.org:5199
LON_POSITION=4.52.53E
LAT_POSITION=50.43.15N
CALLSIGN=EL-ON4MS
FREQUENCY=145.525
TX_POWER=5
ANTENNA_GAIN=0
ANTENNA_HEIGHT=2m
#ANTENNA_DIR=-1
PATH=WIDE2-2
BEACON_INTERVAL=10
#TONE=136
COMMENT=Svx Link at Jodoigne (JO20kr)

