Repeater Controller Setup

classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

Repeater Controller Setup

KB1NYT
Hello

I am tryig to setup Svxlink as a repeater controller. I currently have
it running as an Echolink using a PI and a TYT radio, working fine. I
switched the radio to be the receiver on the repeater and the
transmitter is another TYT. I used the same interface circuit and PI I
was using for the simplex connection for Echolink. My only change was
making a wye cable to go from the existing connector on my interface to
both radios. Using an HT the repeater will key the transmitter but I get
no audio. I did hear the Echolink ID through the transmitter but I get
no receive audio. I also noticed when the SQL opens it takes a while  
before the transmitter is opened, looks like a timeout. Below are some
sections of the config file and log. See anything?

Thanks in advance

Jay

KB1NYT


###############################################################################

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

[GLOBAL]
#MODULE_PATH=/opt/svxlink/lib/svxlink
LOGICS=RepeaterLogic
#LOGICS=SimplexLogic
CFG_DIR=svxlink.d
TIMESTAMP_FORMAT="%c"
CARD_SAMPLE_RATE=48000
#CARD_CHANNELS=1
#LOCATION_INFO=LocationInfo
#LINKS=LinkToR4

[SimplexLogic]
TYPE=Simplex
RX=Rx1
TX=Tx1
#MODULES=ModuleHelp,ModuleEchoLink
MODULES=ModuleHelp,ModuleParrot,ModuleEchoLink,ModuleTclVoiceMail
#MODULES=ModuleHelp,ModuleParrot,ModuleEchoLink
CALLSIGN=KB1NYT-R
SHORT_IDENT_INTERVAL=60
LONG_IDENT_INTERVAL=60
#IDENT_ONLY_AFTER_TX=4
#EXEC_CMD_ON_SQL_CLOSE=500
EVENT_HANDLER=/opt/svxlink/share/svxlink/events.tcl
DEFAULT_LANG=en_US
RGR_SOUND_DELAY=0
REPORT_CTCSS=67
#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

[RepeaterLogic]
TYPE=Repeater
RX=Rx1
TX=Tx1
MODULES=ModuleHelp,ModuleParrot,ModuleEchoLink,ModuleTclVoiceMail
CALLSIGN=KB1NYT
SHORT_IDENT_INTERVAL=10
LONG_IDENT_INTERVAL=60
#IDENT_ONLY_AFTER_TX=4Tx1: Turning the transmitter OFF

#EXEC_CMD_ON_SQL_CLOSE=500
EVENT_HANDLER=/opt/svxlink/share/svxlink/events.tcl
DEFAULT_LANG=en_US
RGR_SOUND_DELAY=0
REPORT_CTCSS=67.0
#REPORT_CTCSS=136.5
#TX_CTCSS=SQL_OPEN
MACROS=Macros
#SEL5_MACRO_RANGE=03400,03499
FX_GAIN_NORMAL=0
FX_GAIN_LOW=-12
#QSO_RECORDER=8:QsoRecorder
#NO_REPEAT=1
IDLE_TIMEOUT=30
OPEN_ON_SQL=500
OPEN_SQL_FLANK=OPEN
#OPEN_ON_1750=1000
#OPEN_ON_CTCSS=67:2000
#OPEN_ON_DTMF=*
#OPEN_ON_SQL=5000
#OPEN_ON_SEL5=01234
#OPEN_SQL_FLANK=OPEN
#OPEN_ON_SQL_AFTER_RPT_CLOSE=10
IDLE_SOUND_INTERVAL=3000
#SQL_FLAP_SUP_MIN_TIME=1000
#SQL_FLAP_SUP_MAX_COUNT=10
#ACTIVATE_MODULE_ON_LONG_CMD=4:EchoLink
#IDENT_NAG_TIMEOUT=15
#IDENT_NAG_MIN_TIME=2000
#ONLINE_CMD=998877
#STATE_PTY=/var/run/svxlink/state


[Rx1]
TYPE=Local
AUDIO_DEV=alsa:plughw:1
AUDIO_CHANNEL=0
SQL_DET=GPIO
SQL_START_DELAY=3500
#SQL_START_DELAY=0
SQL_DELAY=300
SQL_HANGTIME=2000
#SQL_EXTENDED_HANGTIME=1000
#SQL_EXTENDED_HANGTIME_THRESH=15
#SQL_TIMEOUT=600
VOX_FILTER_DEPTH=20
VOX_THRESH=1000
#VOX_THRESH=1000
#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_SQL_PIN=!gpio27
#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=1
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

[Tx1]
TYPE=Local
AUDIO_DEV=alsa:plughw:1
AUDIO_CHANNEL=0
PTT_TYPE=GPIO
PTT_PORT=gpio23
PTT_PIN=gpio23
# ! inverts pin operation
#PTT_TYPE=NONE
#PTT_PORT=/dev/ttyS0
#PTT_PIN=DTRRTS
#HID_DEVICE=/dev/hidraw3
#HID_PTT_PIN=GPIO3
#SERIAL_SET_PINS=DTR!RTS
#PTT_HANGTIME=1000
TIMEOUT=300
TX_DELAY=500
#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

Wed Jan  4 10:56:53 2017: Starting logic: RepeaterLogic
Wed Jan  4 10:56:53 2017: Loading RX: Rx1
Wed Jan  4 10:56:53 2017: Loading TX: Tx1
Wed Jan  4 10:56:53 2017: Loading module "ModuleHelp" into logic
"RepeaterLogic"
Wed Jan  4 10:56:53 2017:     Found /usr/lib/ModuleHelp.so
Wed Jan  4 10:56:53 2017:     Module Help v1.0.0 starting...
Wed Jan  4 10:56:53 2017: Loading module "ModuleParrot" into logic
"RepeaterLogic"
Wed Jan  4 10:56:53 2017:     Found /usr/lib/ModuleParrot.so
Wed Jan  4 10:56:53 2017:     Module Parrot v1.1.1 starting...
Wed Jan  4 10:56:53 2017: Loading module "ModuleEchoLink" into logic
"RepeaterLogic"
Wed Jan  4 10:56:53 2017:     Found /usr/lib/ModuleEchoLink.so
Wed Jan  4 10:56:53 2017:     Module EchoLink v1.3.2 starting...
Wed Jan  4 10:56:53 2017: Loading module "ModuleTclVoiceMail" into logic
"RepeaterLogic"
Wed Jan  4 10:56:53 2017:     Found /usr/lib/ModuleTcl.so
Wed Jan  4 10:56:53 2017:     Module Tcl v1.0.1 starting...
Wed Jan  4 10:56:53 2017: RepeaterLogic: Event handler script
successfully loaded.
Wed Jan  4 10:56:53 2017: EchoLink directory status changed to ON
Wed Jan  4 10:56:53 2017: --- EchoLink directory server message: ---
Wed Jan  4 10:56:53 2017: EchoLink Server v2.5.9997
Wed Jan  4 10:56:53 2017:
Wed Jan  4 10:56:53 2017: ECHO6: N.Virginia, USA
Wed Jan  4 10:56:53 2017:
Wed Jan  4 10:57:59 2017: Rx1: The squelch is OPEN (5.39509)
Wed Jan  4 10:57:59 2017: Tx1: Turning the transmitter ON
Wed Jan  4 10:58:03 2017: Rx1: The squelch is CLOSED (5.13605)
Wed Jan  4 10:58:37 2017: Tx1: Turning the transmitter OFF
Wed Jan  4 10:58:38 2017: Rx1: The squelch is OPEN (5.39888)
Wed Jan  4 10:58:38 2017: Tx1: Turning the transmitter ON
Wed Jan  4 10:58:47 2017: Rx1: The squelch is CLOSED (5.14234)
Wed Jan  4 10:59:19 2017: Tx1: Turning the transmitter OFF
Wed Jan  4 10:59:54 2017: Rx1: The squelch is OPEN (5.36365)
Wed Jan  4 10:59:54 2017: Tx1: Turning the transmitter ON
Wed Jan  4 10:59:58 2017: Rx1: The squelch is CLOSED (5.02776)
Wed Jan  4 11:00:00 2017: RepeaterLogic: Sending long identification...
Wed Jan  4 11:00:39 2017: Tx1: Turning the transmitter OFF
Wed Jan  4 11:01:42 2017: Rx1: The squelch is OPEN (5.21463)
Wed Jan  4 11:01:42 2017: Tx1: Turning the transmitter ON
Wed Jan  4 11:01:45 2017: Rx1: The squelch is CLOSED (5.02186)
Wed Jan  4 11:02:20 2017: Tx1: Turning the transmitter OFF
Wed Jan  4 11:03:38 2017: Rx1: The squelch is OPEN (5.29975)
Wed Jan  4 11:03:39 2017: Tx1: Turning the transmitter ON


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|

Re: Repeater Controller Setup

Rob Janssen
When everything appears slow and the audio does not work I expect problems with
the audio device, e.g. it is simplex or its driver does not work well.
What kind of audio device is it?
Also check the volume settings and mute switches using alsamixer.

Rob

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel
Reply | Threaded
Open this post in threaded view
|

Re: Repeater Controller Setup

Ken Koster
In reply to this post by KB1NYT
On Wednesday, January 4, 2017 7:07:50 PM PST Jay wrote:

> Hello
>
> I am tryig to setup Svxlink as a repeater controller. I currently have
> it running as an Echolink using a PI and a TYT radio, working fine. I
> switched the radio to be the receiver on the repeater and the
> transmitter is another TYT. I used the same interface circuit and PI I
> was using for the simplex connection for Echolink. My only change was
> making a wye cable to go from the existing connector on my interface to
> both radios. Using an HT the repeater will key the transmitter but I get
> no audio. I did hear the Echolink ID through the transmitter but I get
> no receive audio. I also noticed when the SQL opens it takes a while
> before the transmitter is opened, looks like a timeout. Below are some
> sections of the config file and log. See anything?
>
> Thanks in advance
>
> Jay
I have no suggestion on the lack of audio, but for the delay,  are you using
an I2C connected sound card like the UDRC or the FePi?

If so you may be seeing the same thing I've been fighting and asked about on
this list some time back.  
If using an I2C connected card there's a greater than one second delay, using
a USB interface there is not.

RepeaterLogic detects the open squelch and then there's a long delay before
Logic process the event and turns the transmitter on.  I haven't been able to
take enough time to track down the root cause.

And just a suggestion to get finer details on timing,  change the
TIMESTAMP_FORMAT to (TIMESTAMP_FORMAT="%b %d %Y %H:%M:%S.%f")
--
Ken - N7IPB
Email: [hidden email]
JID: [hidden email]
PGP Sig: F42B EF90 3CD3 31C7 3056  122E 993A 7B2E 5138 C42A
“The best conversation I had was over forty million years ago…. And that was
with a coffee machine.”
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel

signature.asc (201 bytes) Download Attachment
Reply | Threaded
Open this post in threaded view
|

Re: Repeater Controller Setup

KB1NYT
I am using a USB sound card and all works fine in simplex using it as an
echolink node to access the repeater. it is only when I try going one
more step and using it in repeater mode that I am having trouble. I am
using the same hardware setup only 2 radios instead of one and of course
Svxlink in repeater mode. I am thinking it is a setup issue in repeater
mode because the same hardware is working fine in simplex. The only
change was I made a wye cable to go to two radios.


On 1/5/2017 11:04 AM, Ken Koster wrote:

> On Wednesday, January 4, 2017 7:07:50 PM PST Jay wrote:
>> Hello
>>
>> I am tryig to setup Svxlink as a repeater controller. I currently have
>> it running as an Echolink using a PI and a TYT radio, working fine. I
>> switched the radio to be the receiver on the repeater and the
>> transmitter is another TYT. I used the same interface circuit and PI I
>> was using for the simplex connection for Echolink. My only change was
>> making a wye cable to go from the existing connector on my interface to
>> both radios. Using an HT the repeater will key the transmitter but I get
>> no audio. I did hear the Echolink ID through the transmitter but I get
>> no receive audio. I also noticed when the SQL opens it takes a while
>> before the transmitter is opened, looks like a timeout. Below are some
>> sections of the config file and log. See anything?
>>
>> Thanks in advance
>>
>> Jay
> I have no suggestion on the lack of audio, but for the delay,  are you using
> an I2C connected sound card like the UDRC or the FePi?
>
> If so you may be seeing the same thing I've been fighting and asked about on
> this list some time back.
> If using an I2C connected card there's a greater than one second delay, using
> a USB interface there is not.
>
> RepeaterLogic detects the open squelch and then there's a long delay before
> Logic process the event and turns the transmitter on.  I haven't been able to
> take enough time to track down the root cause.
>
> And just a suggestion to get finer details on timing,  change the
> TIMESTAMP_FORMAT to (TIMESTAMP_FORMAT="%b %d %Y %H:%M:%S.%f")


------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Svxlink-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/svxlink-devel