Top > 日記 > 2021-03-21

Analog_Refrector(AR)の追加

【構成概要】

  1. 使用したイメージ(2021-02-14-DVSwitch-Server-AllStar-lite.zip)
  2. DVSメニューと asl-menu で設定され、DVSwitch及びAllstarlinkは、個別に正常に動作していることが前提
  3. AR をこのPDFに従ってインストール

【AR設定で関連するファイルの変更点】
 変更箇所を主に掲載(元ファイルはこのページ最下位よりdown loard可能。D/L後nameの.txtを削除して使用すること)
 
 --- Analog_Bridge.ini ---

include = dvsm.macro

[GENERAL]
logLevel = 2

exportMetadata = true
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv
transferRootDir = /tmp

decoderFallBack = true
useEmulator = false
emulatorAddress = 127.0.0.1:2470

[AMBE_AUDIO]
address = 127.0.0.1
txPort = 31103
rxPort = 31100
ambeMode = DMR
minTxTimeMS = 2000

gatewayDmrId = 4411004 ;←必ず自IDに変更すること(7桁)
repeaterID = 441100405 ;←必ず自ID変更すること(7+2= 9桁)
txTg = 44121 ;←要変更(DMRで使用するdefaultのTG)
txTs = 2
colorCode = 1

[USRP]
address = 127.0.0.1
txPort = 31001   ;←要変更 Analog_Reflector.jsonに合わせる
rxPort = 31001   ;←要変更 Analog_Reflector.jsonに合わせる
usrpAudio = AUDIO_USE_GAIN   ;-----ここから  --- オリジナルだと深すぎて割れるため
usrpGain = 0.90                         ; Gain調整している。割れてないならdefaultのまま  
usrpAgc = -20,10,100                ;  でもOK
tlvAudio = AUDIO_USE_GAIN      ;           
tlvGain = 0.90                            ;---ここまで ---

[MACROS]

[DV3000]
address = 192.168.xxx.yyy        ; IP address of AMBEServer
rxPort = 2460 ;←要変更             ; Port of AMBEServer

 
 --- Analog_Reflector.json ---

{
  "nodeName":"DVSwitch",
  "dmrID":"1234567",
  "abAddress": "127.0.0.1",
  "usrpTxPort": "31001",
  "usrpRxPort": "31001",
  "mobilePort": "12345",
  "wsPort": "443",
  "keyDir": "./ssl/",
  "siteroot": "./arRoot",
  "logFileName": "/var/log/dvswitch/Analog_Reflector.log",
  "logLevel": "2",
  "disallowUnknownClients": false,
  "brokerURL": "mqtt://localhost:1883",
  "rightsMask": "4",
  "autoMute": true,
  "clientDebugMode": false,
  "clientModes": ["Intercom", "DMR", "STFU", "DSTAR|D-Star", "NXDN", "P25", "YSF", "ASL|AllStar"],
  "bridges": {
    "asl": [
      {"node" : "node#", "address" : "127.0.0.1", "rxPort" : "34001", "txPort" : "32001", "rights" : 3, "amiUserName" : "admin", "amiSecret": "xxxxxx"}
   ],
    "ab" : [
      {"name" : "DMR",    "address" : "127.0.0.1", "rxPort" : "51100", "txPort" : "51103", "rights" : 1},
      {"name" : "D-Star", "address" : "127.0.0.1", "rxPort" : "52100", "txPort" : "52103", "rights" : 1},
      {"name" : "NXDN",   "address" : "127.0.0.1", "rxPort" : "53100", "txPort" : "53103", "rights" : 1},
      {"name" : "P25",    "address" : "127.0.0.1", "rxPort" : "54100", "txPort" : "54103", "rights" : 1},
      {"name" : "YSF",    "address" : "127.0.0.1", "rxPort" : "55100", "txPort" : "55103", "rights" : 1}
    ]
  }
}

 ※ node#: コントロールする自ノード番号、amiSecret:/etc/asterisk/manager.conf に合わせる
 
 --- DVSwitch.ini ---

[QUANTAR]
logFilePath = /var/log/Quantar_Bridge.log
Address = 127.0.0.1
TXPort = 34103     
RXPort = 34100     
quantarPort = 1994 
logLevel = 2       
debug = 0          

[DMR]
Address = 127.0.0.1
TXPort = 31100
RXPort = 31103     
Slot = 2           
ExportTG = 0       
TalkerAlias = JH1BLT/Masa Chiba.JP ; ←要変更

[DSTAR]
Address = 127.0.0.1    
TXPort = 32100         
RXPort = 32103         
FallbackID = 1234567   
ExportTG = 9           
Slot = 2               
RemotePort = xxxxx ; ← ircddbgateway のRemotePort
Message = %location %description

[NXDN]
Address = 127.0.0.1
TXPort = 33100 
RXPort = 33103     
FallbackID = 1234567    
NXDNFallbackID  = 12345 
Translate = 1234=4321   
Slot = 2                

[P25]
Address = 127.0.0.1
TXPort = 34100     
RXPort = 34103     
Slot = 2           

[YSF]
Address = 127.0.0.1
TXPort = 35100
RXPort = 35103     
TXWidePort = 35105 
FallbackID = 1234567
ExportTG = 9        
Slot = 2            
RemotePort = 6073

 
 --- extensions.conf ---

[general]
static = yes
writeprotect = yes

[globals]
HOMENPA = 215
NODE = 52984   ;← 自ノード番号に
NODE1 = 1999

[default]
exten => i,1,Hangup

[radio-secure]
exten => ${NODE},1,rpt,${NODE}
exten => ${NODE1},1,rpt,${NODE1}

以下省略

 
 --- rpt.conf ---

[1999]
rxchannel = USRP/127.0.0.1:34001:32001

中略
[52984] ; 以下2つのパラメーターは、音声案内の音量を下げ、また誰かがしゃべっている
             ;場合は、ミュート近くまで更に下げるために設定している。不要な場合は追加せずで良い
telemnomdb=-9                           ; Overall reduction in telemetry level
telemduckdb=-12                         ; Telemetry level reduction with signal

[nodes]
##### = radio@127.0.0.1:4569/#####,NONE ;asl-menuで自ノード番号に設定されている 
1999 = radio@127.0.0.1/1999,NONE

 
 以上、全てのファイルにおいて、自環境に必ず合わせること。


URL B I U SIZE Black Maroon Green Olive Navy Purple Teal Gray Silver Red Lime Yellow Blue Fuchsia Aqua White


Attach file: fileextensions.conf.txt.tgz 32 download [Information] fileDVSwitch.ini.txt.tgz 31 download [Information] fileAnalog_Reflector.json.txt.tgz 26 download [Information] fileAnalog_Bridge.ini.txt.tgz 38 download [Information]

Reload   New Lower page making Unfreeze Diff Copy Rename   Front page List of pages Search Recent changes Backup Referer   Help   RSS of recent changes
Last-modified: Mon, 22 Mar 2021 01:22:26 HADT (428d)