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_nxdn

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_nxdn [10/06/25 18:17 BST] johnpublic:radio:allstar:allstar_nxdn [10/06/25 18:54 BST] (current) – [The main Things] john
Line 35: Line 35:
 </code> </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>+===== The main Things =====
  
-sudo su -+  * Make sure ''Analog_Bridge.ini'' has the correct txPort and rxPort in its [USRP] section 
  
-echo insecure >> ~/.curlrc+<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>
  
-/opt/MMDVM_Bridge/dvswitch.sh update+  * 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> </code>
  
-===== The main Things =====+
  
   * Make Sure ''Analog_Bridge.ini'' has the correct txPort and rxPort in its [AMBE] section   * Make Sure ''Analog_Bridge.ini'' has the correct txPort and rxPort in its [AMBE] section
-    * should match the ports in ''DVSwitch.ini'' [NXDN] 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 = NXDN                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW (encode PCM to this format) 
 +</code> 
 + 
 + 
 + 
 +  * should match the ports in ''DVSwitch.ini'' [NXDN] section 
 + 
 +<code ini> 
 +; Configure the NXDN Partner 
 +; Audio format is AMBE 72 bit 
 +[NXDN] 
 +address = 127.0.0.1             ; Address to send AMBE TLV frames to (export) 
 +txPort = 33100                  ; Port to send AMBE TLV frames to (export) 
 +rxPort = 33103                  ; Port to listen on (import) 
 +</code> 
   * Disable [DMR] in ''MMDVM_Bridge.ini''   * Disable [DMR] in ''MMDVM_Bridge.ini''
  
Line 66: Line 98:
 </code> </code>
  
-  * Enable [NXDN] in ''MMDVM_Bridge.ini''+  * Enable [NXDN] in ''MMDVM_Bridge.ini'' and set your own NXDN ID number
  
 <code ini> <code ini>
Line 91: Line 123:
  
   * I don't know what ''Suffix'' means, I left it as found   * I don't know what ''Suffix'' means, I left it as found
 +  * Set the NXDN talkgroup in ''Analog_Bridge.ini'' 
 +  * NXDN Talkgroups are listed here : [[https://www.pistar.uk/nxdn_reflectors.php]]
 +    * A Talkgroup actually seems to specify a particular reflector IP address/Hostname & UDP port
 +    * These are retrieved by ''NXDNGateway'' from the hostfile : ''/var/lib/mmdvm/NXDNHosts.txt''
 +    * Setting the ''txTG=23551'' in ''Analog_Bridge.ini'' causes ''NXDNGateway'' to make a connection to the relevant reflector when you send traffic by keying up. 
 +    * For example TG23551 (Scot-Multi) appears in ''NXDNHosts.txt'' as:
 +
 +<code>
 +23551   nxdnscotland.ddns.net   41400
 +</code>
 +
 +  * Having ''txTG=23551'' in ''Analog_Bridge.ini'' causes DVSwitch to connect, and start to flow packets, with ''nxdnscotland.ddns.net:41400''
 +  * Another source of info [[https://dvref.com/nxdn/]]
 +    * TG23551 : [[https://dvref.com/nxdn/nxdn-23551]]
 +
 +{{ :public:radio:allstar:tg23551.jpg?direct&600 |}}
 +
 +==== 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 bash>
 +
 +
 +gm4slv@node481482:~$ sudo su -
 +
 +root@node481482:~# echo insecure >> ~/.curlrc
 +
 +root@node481482:~# /opt/MMDVM_Bridge/dvswitch.sh update
 +
 +</code>
  
 +++++ DVSwitch.ini |
  
 ===== DVSwitch.ini ===== ===== DVSwitch.ini =====
Line 196: Line 263:
  
 </code> </code>
 +
 +++++
 +
 +++++ MMDVM_Bridge.ini |
  
 ===== MMDVM_Bridge.ini ===== ===== MMDVM_Bridge.ini =====
Line 319: Line 390:
 GatewayPort=14020 GatewayPort=14020
 </code> </code>
 +
 +++++
 +
 +++++ NXDNGateway.ini |
  
 ===== NXDNGateway.ini ===== ===== NXDNGateway.ini =====
Line 401: Line 476:
 Enable=1 Enable=1
 Port=6075 Port=6075
- 
  
 </code> </code>
 +
 +++++
 +
 +++++ Analog_Bridge.ini |
  
 ===== Analog_Bridge.ini ===== ===== Analog_Bridge.ini =====
Line 512: Line 590:
 </code> </code>
  
 +++++
  
  
public/radio/allstar/allstar_nxdn.1749575859.txt.gz · Last modified: by john