svxlink
svxlink copied to clipboard
Echolink bridge to svxreflector configuration problem
Hi, Sorry to post this here but I can't find any solutions to bridge echolink to our svxreflector network and I get really strange results : I get this error : *** ERROR: Config variable ReflectorLogic/EVENT_HANDLER not set
I can't understand why I need EVENT_HANDLER variable in ReflectorLogic. Thanks for your help. 73 Burt, FG8OJ
SvxLink v1.7.99.52 Copyright (C) 2003-2020 Tobias Blomberg / SM0SVX
SvxLink comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it in accordance with the terms and conditions in the GNU GPL (General Public License) version 2 or later.
Using configuration file: /etc/svxlink/svxlink.conf --- Using sample rate 48000Hz
Starting logic: SimplexLogic Loading RX: NONE Loading TX: NONE Loading module "ModuleEchoLink" into logic "SimplexLogic" Found /usr/lib/arm-linux-gnueabihf/svxlink/ModuleEchoLink.so Module EchoLink v1.5.99.2 starting... SimplexLogic: Event handler script successfully loaded.
Starting logic: ReflectorLogic *** ERROR: Config variable ReflectorLogic/EVENT_HANDLER not set *** ERROR: Could not initialize Logic object "ReflectorLogic". Skipping... *** WARNING: Logic ReflectorLogic has been specified in logic link ALLlink but that logic is missing. Removing logic from link. Activating link ALLlink EchoLink directory status changed to ON --- EchoLink directory server message: --- NOT LOGGED IN
You are not currently logged in. If this message persists, check to ensure your software configuration is correct.
###############################################################################
Configuration file for the SvxLink server
###############################################################################
[GLOBAL] MODULE_PATH=/usr/lib/arm-linux-gnueabihf/svxlink LOGICS=SimplexLogic,ReflectorLogic CFG_DIR=svxlink.d TIMESTAMP_FORMAT="%c" CARD_SAMPLE_RATE=48000 CARD_CHANNELS=1 LINKS=ALLlink
[ALLlink] CONNECT_LOGICS=SimplexLogic,ReflectorLogic DEFAULT_ACTIVE=1 TIMEOUT=0
[SimplexLogic] TYPE=Simplex RX=NONE TX=NONE MODULES=ModuleEchoLink CALLSIGN=FG4KL EVENT_HANDLER=/usr/share/svxlink/events.tcl DEFAULT_LANG=fr_FR RGR_SOUND_DELAY=0 REPORT_CTCSS=123 FX_GAIN_NORMAL=0 FX_GAIN_LOW=-12 MUTE_RX_ON_TX=1
[ReflectorLogic] TYPE=Reflector HOST=localhost PORT=5300 CALLSIGN="(971) FG4KL I" AUTH_KEY="******" JITTER_BUFFER_DELAY=2 AUDIO_CODEC=OPUS
Hi Burt, seems that you updated you installation without adding some parameters to the section ReflectorLogic. You need this variable for the ReflectorLogic too since the tcl environment handles some functionality if e.g. you switch the talkgroups and so on. Please refer to https://github.com/sm0svx/svxlink/blob/master/src/doc/man/svxlink.conf.5 for other missing parameters
[ReflectorLogic] TYPE=Reflector HOST=localhost PORT=5300 CALLSIGN="(971) FG4KL I" AUTH_KEY="******" JITTER_BUFFER_DELAY=2 AUDIO_CODEC=OPUS EVENT_HANDLER=/usr/share/svxlink/events.tcl MONITOR_TGS=xxx DEFAULT_TG=xxx MUTE_FIRST_TX_LOC=xxx MUTE_FIRST_TX_REM=xxx
mni 73s de Adi / DL1HRC
Many thanks Adi for your help but I didn't succeed when adding EVENT_HANDLER :
Starting logic: ReflectorLogic Segmentation fault
I also tried to add other variables and I don't have any informations about this error. Keeping trying.
Hi Burt, is this the only error message when starting svxlink? 73s
This is the full terminal content :
svxlink --pidfile=/var/run/svxlink.pid --runasuser=root --config=/etc/svxlink/svxlink.conf SvxLink v1.7.99.52 Copyright (C) 2003-2020 Tobias Blomberg / SM0SVX
SvxLink comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to redistribute it in accordance with the terms and conditions in the GNU GPL (General Public License) version 2 or later.
Using configuration file: /etc/svxlink/svxlink.conf --- Using sample rate 48000Hz
Starting logic: SimplexLogic Loading RX: NONE Loading TX: NONE Loading module "ModuleEchoLink" into logic "SimplexLogic" Found /usr/lib/arm-linux-gnueabihf/svxlink/ModuleEchoLink.so Module EchoLink v1.5.99.2 starting... SimplexLogic: Event handler script successfully loaded.
Starting logic: ReflectorLogic Segmentation fault
[ReflectorLogic] TYPE=Reflector HOST=localhost PORT=5300 CALLSIGN="(971) FG4KL I" AUTH_KEY="********" JITTER_BUFFER_DELAY=2 AUDIO_CODEC=OPUS EVENT_HANDLER=/usr/share/svxlink/events.tcl MONITOR_TGS=8 DEFAULT_TG=8 MUTE_FIRST_TX_LOC=8 MUTE_FIRST_TX_REM=8
I'm not sure, but svxreflector with protocol v2 doesn't support CALLSIGN as you use "(971) FG4KL I" Try for a test, put to svxlink.conf and svxreflector.conf only your CALLSIGN, for example, FG4KL no more
I am using version 1.7.99.52 but I tried to change the CALLSIGN format and I still have a segmentation fault error.
OK, I like the idea from SPOTNIK project where in CALLSIGN is info about postcode I ty use this in svxreflector/svxlink with protocol v2 and it look like space in calling was not accepted but maybe now is a fixed problem. Did you try using fresh installation svxlink/sxvreflector ?
we are using SPOTNIK only for RRF compatibility but we don't using often. We are using a Raspberry PI for svxreflector. I will try to install this echolink<>svxlink on a different PC server to check the configuration and will tell you later. Thank you.
please check if you have the ReflectorLogic.tcl in your /usr/share/svxlink/events.d directory. Can you start svxlink within gdb to make it a bit easier to find the problem?
When I upgraded all the repeaters under my administration in France, RRF became an impossibility due to the difference in protocol. I have completely upgraded their network to work with a reflector and the svxportal developed in Sweden, but based in the UK where I now live.
You can view the svxportal-uk.ddns.net http://svxportal-uk.ddns.net/ here. Since returning to the UK, I have been inviting others to participate in the project, however very few repeaters in the UK have svxlink at their heart.
The TalkGroup structure permits the repeater keepers to have a stand-alone repeater, or participate in a regular regional connection either temporarily or permanently. Echolink can still play its part.
I believe that the RRF would benefit from the change, but I understand there is a lack of consensus.
Chris G4NAB
On 21 Oct 2021, at 19:30, fg8oj @.***> wrote:
we are using SPOTNIK only for RRF compatibility but we don't using often. We are using a Raspberry PI for svxreflector. I will try to install this echolink<>svxlink on a different PC server to check the configuration and will tell you later. Thank you.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/sm0svx/svxlink/issues/566#issuecomment-948893876, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACAKA5HNAJSFJO3X75TZ2H3UIBL5DANCNFSM5GOEVEXQ. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
Same configuration files working nicely under unbutu 20.04, I still can't understand why it's not under ARM but I will try to find a computer to let it work under x86 computer :
Thu 21 Oct 2021 05:33:07 PM AST: SvxLink v1.7.0 Copyright (C) 2003-2019 Tobias Blomberg / SM0SVX Thu 21 Oct 2021 05:33:07 PM AST: Thu 21 Oct 2021 05:33:07 PM AST: SvxLink comes with ABSOLUTELY NO WARRANTY. This is free software, and you are Thu 21 Oct 2021 05:33:07 PM AST: welcome to redistribute it in accordance with the terms and conditions in the Thu 21 Oct 2021 05:33:07 PM AST: GNU GPL (General Public License) version 2 or later. Thu 21 Oct 2021 05:33:07 PM AST: Thu 21 Oct 2021 05:33:07 PM AST: Using configuration file: /home/bertrand/svxlink/svxlink.conf Thu 21 Oct 2021 05:33:07 PM AST: --- Using sample rate 48000Hz Thu 21 Oct 2021 05:33:07 PM AST: Thu 21 Oct 2021 05:33:07 PM AST: Starting logic: SimplexLogic Thu 21 Oct 2021 05:33:07 PM AST: Loading RX: NONE Thu 21 Oct 2021 05:33:07 PM AST: Loading TX: NONE Thu 21 Oct 2021 05:33:07 PM AST: Loading module "ModuleEchoLink" into logic "SimplexLogic" Thu 21 Oct 2021 05:33:07 PM AST: Found /usr/lib/x86_64-linux-gnu/svxlink//ModuleEchoLink.so Thu 21 Oct 2021 05:33:07 PM AST: Module EchoLink v1.5.0 starting... Thu 21 Oct 2021 05:33:07 PM AST: SimplexLogic: Event handler script successfully loaded. Thu 21 Oct 2021 05:33:07 PM AST: Thu 21 Oct 2021 05:33:07 PM AST: Starting logic: ReflectorLogic Thu 21 Oct 2021 05:33:07 PM AST: ReflectorLogic: Connecting to svxlink.radioamateur.gp:5300 Thu 21 Oct 2021 05:33:07 PM AST: EchoLink directory status changed to ON Thu 21 Oct 2021 05:33:08 PM AST: ReflectorLogic: Connection established to 89.3.247.85:5300 Thu 21 Oct 2021 05:33:08 PM AST: ReflectorLogic: Authentication OK Thu 21 Oct 2021 05:33:08 PM AST: ReflectorLogic: Connected nodes: (971) FG5ZCG U, (971) FG8OJ U, (971) FG5ZCL V, (971) FG4KL I Thu 21 Oct 2021 05:33:08 PM AST: ------ Opus encoder parameters ------ Thu 21 Oct 2021 05:33:08 PM AST: Frame size = 320 Thu 21 Oct 2021 05:33:08 PM AST: Complexity = 9 Thu 21 Oct 2021 05:33:08 PM AST: Bitrate = 20000 Thu 21 Oct 2021 05:33:08 PM AST: VBR = YES Thu 21 Oct 2021 05:33:08 PM AST: Constrained VBR = YES Thu 21 Oct 2021 05:33:08 PM AST: Maximum audio bw = MEDIUMBAND Thu 21 Oct 2021 05:33:08 PM AST: Audio bw = FULLBAND Thu 21 Oct 2021 05:33:08 PM AST: Signal type = VOICE Thu 21 Oct 2021 05:33:08 PM AST: Application type = AUDIO Thu 21 Oct 2021 05:33:08 PM AST: Inband FEC = NO Thu 21 Oct 2021 05:33:08 PM AST: Expected Packet Loss = 0% Thu 21 Oct 2021 05:33:08 PM AST: DTX = NO Thu 21 Oct 2021 05:33:08 PM AST: LSB depth = 16 Thu 21 Oct 2021 05:33:08 PM AST: -------------------------------------- Thu 21 Oct 2021 05:33:08 PM AST: ------ Opus decoder parameters ------ Thu 21 Oct 2021 05:33:08 PM AST: Gain = 0dB Thu 21 Oct 2021 05:33:08 PM AST: -------------------------------------- Thu 21 Oct 2021 05:33:08 PM AST: ReflectorLogic: Using audio codec "OPUS" Thu 21 Oct 2021 05:33:08 PM AST: --- EchoLink directory server message: --- Thu 21 Oct 2021 05:33:08 PM AST: EchoLink Server v2.6.103 Thu 21 Oct 2021 05:33:08 PM AST: Thu 21 Oct 2021 05:33:08 PM AST: ECHO4: Frankfurt, Germany Thu 21 Oct 2021 05:33:08 PM AST:
Now have a trouble with UPD routing. It does not work even when I remove iptables rules : Any ideas ? jeu. 21 oct. 2021 19:18:15 AST: sendto in UdpSocket::write: Opération non permise jeu. 21 oct. 2021 19:18:30 AST: sendto in UdpSocket::write: Opération non permise jeu. 21 oct. 2021 19:18:40 AST: Spurious audio packet received from 3.87.209.100 jeu. 21 oct. 2021 19:18:41 AST: Spurious audio packet received from 3.87.209.100 jeu. 21 oct. 2021 19:18:42 AST: Spurious audio packet received from 3.87.209.100 jeu. 21 oct. 2021 19:18:45 AST: sendto in UdpSocket::write: Opération non permise jeu. 21 oct. 2021 19:19:00 AST: sendto in UdpSocket::write: Opération non permise