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

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
public:radio:allstar:allstar_dmr [10/06/25 15:09 BST] – [Overview of IP UDP ports] johnpublic:radio:allstar:allstar_dmr [11/06/25 11:32 BST] (current) john
Line 12: Line 12:
 <code> <code>
  
-    Asterisk              Analog_Bridge         DVSwitch               MMDVM_Bridge +    Asterisk              Analog_Bridge         DVSwitch 
-    ========              =============         ========               ============+    ========              =============         MMDVM_Bridge 
 +                                                ============
     [node]                [USPR]     [node]                [USPR]
-    rxPOrt 31001 <------- txPort 31001+    rxPort 31001 <------- txPort 31001
     txPort 34001 -------> rxPort 34001     txPort 34001 -------> rxPort 34001
                              ↓ ↑                              ↓ ↑
                           [md380-emu]:2470                           [md380-emu]:2470
                              ↓ ↑                              ↓ ↑
-                          [AMBE]                [DMR]                  [DMR Network] +                          [AMBE]                [DMR]                   
-                          txPort 31103 ------>  rxPort 31103  ----->   Host : xx.xx.xx.xx +                          txPort 31103 ------>  rxPort 31103   
-                          rxPort 31100 <------  txPort 31100  -----  Port : xxxxxx +                          rxPort 31100 <------  txPort 31100  
-                                                                       Password : xxxx+                                                   ↓  ↑ 
 +                                                [DMR Network] 
 +                                                Host : xx.xx.xx.xx 
 +                                                Port : xxxxxx 
 +</code> 
 + 
 +===== The main Things ===== 
 + 
 +  * Make sure ''Analog_Bridge.ini'' has the correct txPort and rxPort in its [USRP] section  
 + 
 +<code ini> 
 +[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 
 +</code> 
 + 
 +  * It should match Asterisk's private node as defined in ''/etc/asterisk/rpt.conf'' in this case it's [1398] 
 + 
 +<code ini> 
 +[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 
 +</code> 
 + 
 + 
 + 
 +  * Make Sure ''Analog_Bridge.ini'' has the correct txPort and rxPort in its [AMBE_AUDIO] section 
 + 
 +<code ini> 
 +[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) 
 +</code> 
 + 
 + 
 + 
 +  * should match the ports in ''DVSwitch.ini'' [DMR] section 
 + 
 +<code ini> 
 +; Configure the DMR Partner 
 +; Audio format is AMBE 72 bit 
 +[DMR] 
 +address = 127.0.0.1             ; Address to send AMBE TLV frames to (export) 
 +txPort 31100                  ; Port to send AMBE TLV frames to (export) 
 +rxPort = 31103                  ; Port to listen on (import) 
 + 
 +</code> 
 + 
 +  * Enable [DMR] in ''MMDVM_Bridge.ini'' 
 + 
 +<code ini> 
 +[DMR] 
 +Enable=1 
 +ColorCode=1 
 +EmbeddedLCOnly=1 
 +DumpTAData=0 
 +</code> 
 + 
 +  * Enable [DMR Network] in ''MMDVM_Bridge.ini'' and choose the DMR Network, password, port  
 + 
 +<code ini> 
 + 
 +[DMR Network] 
 +Enable=1 
 + 
 +; TGIF 
 +Address=tgif.network 
 +Port=62031 
 +;TGIF Password for 2354435 
 +;Password=XXXXXXXXXXX 
 +; TGIF Password for 2354429 
 +Password=XXXXXXXXXX 
 + 
 +; Brandmeister 
 +;Address=2341.master.brandmeister.network 
 +;Password=XXXXXXXXXX 
 +;Port=62031 
 + 
 +Jitter=750 
 +Local=62032 
 + 
 +; FOR DVS_Ph F 
 +;Address=78.129.135.43 
 +;Port=55555 
 +;Password=PASSWORD 
 +;Options=StartRef=4000;RelinkTime=0;UserLink=0;TS1_1=733; 
 + 
 +Slot1=0 
 +Slot2=1 
 +Debug=0 
 + 
 +</code> 
 + 
 +  * Select hotspot/repeater source ID&SSID (repeaterID=235442998) and your DMR ID (gatewayDmrId = 2354429), plus choice of Talkgroup in ''Analog_Bridge.ini'' 
 + 
 +<code ini> 
 + 
 +; The metadata below is used when ASL is the source since it does not have any concept of digital modes 
 +gatewayDmrId = 2354429                  ; ID to use when transmitting from Analog_Bridge 7 digit ID 
 +repeaterID = 235442998                  ; ID of source repeater 7 digit ID plus 2 digit SSID  
 +; Talkgroup needed for DMR and NXDN. 
 +; NXDNGateway uses Talkgroup to choose the reflector IP/Port from its Host Files 
 +txTg = 2354429                        ; TG to use for all frames sent from Analog_Bridge -> xx_Bridge 
 +txTs = 2                                ; Slot to use for frames sent from Analog_Bridge -> xx_Bridge 
 +colorCode = 1                           ; Color Code to assign DMR frames 
 + 
 +</code> 
 + 
 +==== 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 
 + 
 +<code> 
 + 
 +sudo su - 
 + 
 +echo insecure >> ~/.curlrc 
 + 
 +/opt/MMDVM_Bridge/dvswitch.sh update
  
 </code> </code>
public/radio/allstar/allstar_dmr.1749564547.txt.gz · Last modified: by john