Re: P25 Gateway <---> allstar


Jeff Carrier
 

Here is dvswitch.ini

; MMDVM_Bridge configuration file.
;   This file should be placed along side of MMDVM_Bridge or it can be
;   supplied as a path on the MMDVM_BRIDGE environment variable.

; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed for MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 34103                  ; Port to send AMBE TLV frames to (export)
RXPort = 34100                  ; Port to listen on (import)
quantarPort = 1994              ; HDLC frames To/From the Quantar repeater
logLevel = 2                    ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
debug = 0                       ; Debug 0 = off, 1 = on (adds lots of additional messages)
logFilePath = /var/log/Quantar_Bridge.log

; 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)
Slot = 2                        ; Export slot

; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 32100                  ; Port to send AMBE TLV frames to (export)
RXPort = 32103                  ; Port to listen on (import)
FallbackID = 1234567            ; In case we can not find a valid DMR id in the database, export this one
ExportTG = 9                    ; Which TG to export
Slot = 2                        ; Export slot

; 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)
FallbackID = 1234567            ; In case we can not find a valid DMR id in the database, export this one
NXDNFallbackID  = 12345         ; Use this ID when the input DMR ID is not found in the database
Translate = 1234=4321           ; Translate NXDN TG < -- > DMR TG (bidirectional)
Slot = 2                        ; Export slot

; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 10.1.2.245             ; Address to send AMBE TLV frames to (export)
TXPort = 34100                  ; Port to send AMBE TLV frames to (export)
RXPort = 34103                  ; Port to listen on (import)
;Slot = 2                        ; Export slot

; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 35100                  ; Port to send AMBE TLV frames to (export)
RXPort = 35103                  ; Port to listen on (import)
FallbackID = 1234567            ; In case we can not find a valid DMR id in the database, export this one
ExportTG = 1234                 ; Which TG to export
Slot = 2                        ; Export slot


and here is mmdvm_bridge.ini

[General]
Callsign=K0JSC
Id=310815
Timeout=180
Duplex=2
ModeHang=20
RFModeHang=20
NetModeHang=20
Display=None
Daemon=0

[Info]
RXFrequency=222340000
TXFrequency=224940000
Power=1
Latitude=41.7333
Longitude=-50.3999
Height=0
Location=Iceberg, North Atlantic
Description=MMDVM_Bridge

[Log]
# Logging levels, 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
DisplayLevel=1
FileLevel=2
FilePath=/var/log/mmdvm
FileRoot=MMDVM_Bridge

[DMR Id Lookup]
File=/var/lib/mmdvm/DMRIds.dat
Time=24

[NXDN Id Lookup]
File=/var/lib/mmdvm/NXDN.csv
Time=24

[Modem]
Port=/dev/null
RSSIMappingFile=RSSI.dat
Trace=0
Debug=0

[D-Star]
Enable=0
Module=C
SelfOnly=0
AckReply=1
AckTime=750
ErrorReply=1
RemoteGateway=0
ModeHang=0

[DMR]
Enable=0
Beacons=0
BeaconInterval=60
BeaconDuration=3
ColorCode=1
SelfOnly=0
EmbeddedLCOnly=1
DumpTAData=0
CallHang=0
TXHang=0
ModeHang=0

[System Fusion]
Enable=0
LowDeviation=0
SelfOnly=0
RemoteGateway=0
ModeHang=0

[P25]
Enable=1
NAC=293
SelfOnly=0
OverrideUIDCheck=0
RemoteGateway=1
ModeHang=20

[NXDN]
Enable=0
RAN=1
SelfOnly=0
RemoteGateway=0
ModeHang=0
Id=12345

[D-Star Network]
Enable=0
GatewayAddress=127.0.0.1
GatewayPort=20010
LocalPort=20011
ModeHang=0
Debug=0

[DMR Network]
Enable=0
Address=127.0.0.1
Port=62031
Jitter=360
Local=62032
Password=passw0rd
Slot1=1
Slot2=1
ModeHang=0
Debug=0

[System Fusion Network]
Enable=0
LocalAddress=0
LocalPort=3200
GatewayAddress=127.0.0.1
GatewayPort=42000
ModeHang=0
Debug=0

[P25 Network]
Enable=1
GatewayAddress=10.1.2.245
GatewayPort=42020
LocalPort=32010
ModeHang=0
Debug=0

[NXDN Network]
Enable=0
#LocalAddress=127.0.0.1
ModeHang=0
Debug=0
LocalPort=14021
GatewayAddress=127.0.0.1
GatewayPort=14020


On Wed, May 16, 2018 at 4:38 PM, Steve N4IRS <szingman@...> wrote:
DVSwitch.ini is the file that manages the ports and addresses used by MMDVM_Bridge to export and import data from a Partner. In this case Analog_Bridge.
It's hard to troubleshoot your error without seeing the relevent sections of DVSwitch.ini and Analog_Bridge.ini.

On 05/16/2018 05:44 PM, Jeff Carrier wrote:
I feel like I may be getting closer with AllStarLink <---> Analog_Bridge <---> MMDVM_Bridge <---> P25Gateway <--> P25Reflector  (i'm also trying to figure out where dvswitch.ini figures into this)

My problem is MMDVM_Bridge now reports this on analog traffic...

 
M: 2018-05-16 21:34:45.070 P25 packet received from an invalid source, 10.1.2.245 != 10.1.2.245 and/or 42020 != 55100
M: 2018-05-16 21:34:45.085 P25 packet received from an invalid source, 10.1.2.245 != 10.1.2.245 and/or 42020 != 55100
M: 2018-05-16 21:34:45.090 P25 packet received from an invalid source, 10.1.2.245 != 10.1.2.245 and/or 42020 != 55100
M: 2018-05-16 21:34:48.984 P25, received network transmission from K0JSC to TG 10209
M: 2018-05-16 21:34:50.968 P25, network end of transmission, 2.3 seconds, 0% packet loss

Do the ports in AMBE_AUDIO, 
 


Join main@DVSwitch.groups.io to automatically receive all group messages.