(alterfrn.sh)
 
(No difference)

Latest revision as of 09:42, 29 December 2016

FRN (FreeRadioNetwork) is one of available RoIP technologies.

http://www.freeradionetwork.eu


Cross-linking with BrandMeister

To create cross-link you need several things:

  • An valid FRN node account.
  • Some FRN software for Linux to make integration with FRN network. We recommend to use AlterRFN client software.
  • Special utility named CallCapture to translate callsigns that come from FRN into DMR IDs.
  • One of supported AMBE Dongles.

CallCapture and configuration files are available here - https://code.brandmeister.network/r3abm/AutoPatch.git


Prerequisites

# dpkg --add-architecture i386
# apt-get install libgsm1:i386 libportaudio2:i386

asound.conf

# Record device for AlterFRN

pcm.dsp2 {
  type plug
  slave.pcm "hw:Loopback,1,6"
}

# Playback device for AlterFRN

pcm.dsp3 {
  type plug
  slave.pcm "hw:Loopback,0,4"
}

alterfrn.sh

#!/bin/bash
./FRNClientConsole | ./callcapture \
  --identity AlterFRN \
  --expression "RX is started: (?<alias>(?<call>[A-Z0-9]{2,7})[-,][^;]+)" \
  --connection Registry.cnf \
  --network 2502 \
  --link 11

alterfrn.service

[Unit]
Description=AlterFRN CLient
Afer=network.target sound.target

[Service]
; system.service
Type=simple
ExecStart=/opt/AlterFRN/alterfrn.sh
Restart=on-failure
; system.exec
User=frn
Group=frn
StandardOutput=null
WorkingDirectory=/opt/AlterFRN

[Install]
WantedBy=multi-user.target

FRN (FreeRadioNetwork) is one of available RoIP technologies.

http://www.freeradionetwork.eu


Cross-linking with BrandMeister[edit]

To create cross-link you need several things:

CallCapture and configuration files are available here - https://code.brandmeister.network/r3abm/AutoPatch.git


Prerequisites[edit]

# dpkg --add-architecture i386
# apt-get install libgsm1:i386 libportaudio2:i386

asound.conf[edit]

# Record device for AlterFRN

pcm.dsp2 {
  type plug
  slave.pcm "hw:Loopback,1,6"
}

# Playback device for AlterFRN

pcm.dsp3 {
  type plug
  slave.pcm "hw:Loopback,0,4"
}

alterfrn.sh[edit]

#!/bin/bash
./FRNClientConsole | ./callcapture \
  --identity AlterFRN \
  --expression "RX is started: (?<alias>(?<call>[A-Z0-9]{2,7})[-,][^;]+)" \
  --connection Registry.cnf \
  --network 2502 \
  --link 11

alterfrn.service[edit]

[Unit]
Description=AlterFRN CLient
Afer=network.target sound.target

[Service]
; system.service
Type=simple
ExecStart=/opt/AlterFRN/alterfrn.sh
Restart=on-failure
; system.exec
User=frn
Group=frn
StandardOutput=null
WorkingDirectory=/opt/AlterFRN

[Install]
WantedBy=multi-user.target