John's Vademecum

Try to learn something about everything, and everything about something -Thomas Huxley “Darwin's bulldog” (1824-1895)

User Tools

Site Tools


public:radio:allstar:allstar_dmr

This is an old revision of the document!


AllStar Linking

DMR Bridging

First try at DVSwitch Bridging

FIXME

Overview of IP UDP ports

    Asterisk              Analog_Bridge         DVSwitch
    ========              =============         MMDVM_Bridge
                                                ============
    [node]                [USPR]
    rxPort 31001 <------- txPort 31001
    txPort 34001 -------> rxPort 34001
                             ↓ ↑
                          [md380-emu]:2470
                             ↓ ↑
                          [AMBE]                [DMR]                  
                          txPort 31103 ------>  rxPort 31103  
                          rxPort 31100 <------  txPort 31100 
                                                   ↓  ↑
                                                [DMR Network]
                                                Host : xx.xx.xx.xx
                                                Port : xxxxxx

The main Things

  • Make sure Analog_Bridge.ini has the correct txPort and rxPort in its [USRP] section
[USRP]
address = 127.0.0.1           ; IP address of USRP partner (Analog_Reflector, Allstar/Asterisk or another Analog_Bridge)
txPort = 31001                ; Transmit USRP frames on this port
rxPort = 34001                ; Listen for USRP frames on this port
  • It should match Asterisk's private node as defined in /etc/asterisk/rpt.conf - in this case it's [1398]
[1398]
rxchannel = USRP/127.0.0.1:34001:31001 ; Use the USRP channel driver. Must be enabled in modules.conf
 ; 127.0.0.1 = IP of the target application
 ; 34001 = UDP port the target application is listening on
 ; 32001 = UDP port ASL is listening on
  • Make Sure Analog_Bridge.ini has the correct txPort and rxPort in its [AMBE] section
[AMBE_AUDIO]
address = 127.0.0.1                     ; IP address of xx_Bridge
; For DMR  - match the ports set in DVSwitch.ini
txPort = 31103                          ; Transmit TLV frames to partner on this port
rxPort = 31100                          ; Listen for TLV frames from partner on this port

; FOr NXDN - match the ports set in DVSwitch.ini
;txPort = 33103                          ; Transmit TLV frames to partner on this port
;rxPort = 33100                          ; Listen for TLV frames from partner on this port
ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW (encode PCM to this format)
  • should match the ports in DVSwitch.ini [DMR] section

FIXME

  • Enable [DMR] in MMDVM_Bridge.ini
[DMR]
Enable=1
ColorCode=1
EmbeddedLCOnly=1
DumpTAData=0

Updating DVSwitch Hostfiles

  • DVSwtich keep its hostfiles in /var/lib/mmdvm and updates via cron.daily/DVSM_Update which calls /opt/MMDVM_Bridge/dvswitch.sh update
  • This tries to download hostfiles from various places using curl
  • It seems to fail most of the time due to a SSL problem
  • A workaround is to put “insecure” in root's ~/.curlrc
sudo su -

echo insecure >> ~/.curlrc

/opt/MMDVM_Bridge/dvswitch.sh update

Section Two

John Pumford-Green 10/06/25 08:55 BST

Further Information

public/radio/allstar/allstar_dmr.1749587834.txt.gz · Last modified: by john