Topics

DMR to YSFn Bridge #mmdvm_bridge


Perry Buch
 

So I have a Linode (VPS) that has DV switch installed, I've successfully configured Analog Bridge for ASL and DMR, so I think I have a rudimentary understanding whats going on.

I am part owner of a repeater here in Austin that is YSF DR2x its currently configured oniste with a Analog Bridge to YSF setup thats has been working well for several without issue. I can connect to the reflector via pistar hotspot and crossmode DMR to YSF.

I've read the wiki article  and configured my MMDVM_bridge.ini and DvSwitch.ini. The goal here is to merely have an access point on Brandmeister for a DMR bridge that to the YSF reflector and let his Analog_Bridge take care of the transcoding locally. That way people who don't have access to a hotspot that can do a crossmode, or for linking other DMR repeaters for nets can easily do so through BM.

My expectation is that when I key up the Talkgroup I should hear it come out the analog side of the system. But I don't, I can see on the hoseline that Im keying it up, but I get no audio on hoseline or on the analog side. I feel like I am losing it so any help would be appreciated.



Here is my Stanza for YSF and DMR in DVSwitch ini.... 

I have questions around the Fallback ID and Export Talkgroup since the goal is for it to just be a DMR gateway of sorts, what am I supposed to put as the Export TG? I elaborate in the sections below

[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 = This should just be the same as my DMR ID?           ; In case we can not find a valid DMR id in the database, export this one

ExportTG =    I'm having trouble understanding what this is for, is this supposed to be a DMR TG number? what if Im using my ID as a Talkgroup while I wait for approval of one from Brandmeister?             

Slot = 2                        ; Export slot

[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


Here is my MMDVM_Bridge config

[DMR]

Enable=1

ColorCode=1

EmbeddedLCOnly=1

DumpTAData=0

 

[System Fusion]

Enable=1


[DMR Network]

Enable=1

Address=3102.repeater.net

Port=62031

Jitter=360

Local=62032

Password=passw0rd

# for DMR+ see https://github.com/DVSwitch/MMDVM_Bridge/blob/master/DOC/DMRplus_startup_options.md

# for XLX the syntax is: Options=XLX:4009

# Options=

Slot1=0

Slot2=1

Debug=0

[System Fusion Network]

Enable=1

LocalAddress=0

LocalPort=3200

GatewayAddress=repeaters.as.utexas.edu     

GatewayPort=42000

Debug=0

 



 


Steve N4IRS
 

Perry,
Are you trying to bridge YSF to DMR? Are you trying to use your existing YSF <-> ASL bridge as part of the YSF to DMR? One thing I can tell you from your e-mail, forget hoseline. It does not work most (all) of the time.
As far as troubleshooting, use the logs. They will show you the traffic passing across a bridge.

Steve N4IRS

On 8/7/2020 2:53 PM, Perry Buch wrote:
So I have a Linode (VPS) that has DV switch installed, I've successfully configured Analog Bridge for ASL and DMR, so I think I have a rudimentary understanding whats going on.

I am part owner of a repeater here in Austin that is YSF DR2x its currently configured oniste with a Analog Bridge to YSF setup thats has been working well for several without issue. I can connect to the reflector via pistar hotspot and crossmode DMR to YSF.

I've read the wiki article  and configured my MMDVM_bridge.ini and DvSwitch.ini. The goal here is to merely have an access point on Brandmeister for a DMR bridge that to the YSF reflector and let his Analog_Bridge take care of the transcoding locally. That way people who don't have access to a hotspot that can do a crossmode, or for linking other DMR repeaters for nets can easily do so through BM.

My expectation is that when I key up the Talkgroup I should hear it come out the analog side of the system. But I don't, I can see on the hoseline that Im keying it up, but I get no audio on hoseline or on the analog side. I feel like I am losing it so any help would be appreciated.



Here is my Stanza for YSF and DMR in DVSwitch ini.... 

I have questions around the Fallback ID and Export Talkgroup since the goal is for it to just be a DMR gateway of sorts, what am I supposed to put as the Export TG? I elaborate in the sections below

[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 = This should just be the same as my DMR ID?           ; In case we can not find a valid DMR id in the database, export this one

ExportTG =    I'm having trouble understanding what this is for, is this supposed to be a DMR TG number? what if Im using my ID as a Talkgroup while I wait for approval of one from Brandmeister?             

Slot = 2                        ; Export slot

[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


Here is my MMDVM_Bridge config

[DMR]

Enable=1

ColorCode=1

EmbeddedLCOnly=1

DumpTAData=0

 

[System Fusion]

Enable=1


[DMR Network]

Enable=1

Address=3102.repeater.net

Port=62031

Jitter=360

Local=62032

Password=passw0rd

# for DMR+ see https://github.com/DVSwitch/MMDVM_Bridge/blob/master/DOC/DMRplus_startup_options.md

# for XLX the syntax is: Options=XLX:4009

# Options=

Slot1=0

Slot2=1

Debug=0

[System Fusion Network]

Enable=1

LocalAddress=0

LocalPort=3200

GatewayAddress=repeaters.as.utexas.edu     

GatewayPort=42000

Debug=0

 



 


Perry Buch
 

While doing this I saw the TX/RX ports were misconfigured, with those changed I still have the issue. Heres it configured correctly now

[DMR]

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)

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 = 35103                  ; Port to send AMBE TLV frames to (export)

RXPort = 35100                  ; Port to listen on (import)

FallbackID =            ; In case we can not find a valid DMR id in the database, export this one

ExportTG =                 ; Which TG to export

Slot = 2                        ; Export slot


Perry Buch
 

No ASL involved in this bridge. 

It should just be DMR <-> YSF


Steve N4IRS
 

What do the logs say?

On 8/7/2020 3:24 PM, Perry Buch wrote:
No ASL involved in this bridge. 

It should just be DMR <-> YSF


Perry Buch
 

root@localhost:/var/log/mmdvm# tail -f MMDVM_Bridge-2020-08-07.log

M: 2020-08-07 19:32:16.945 YSF, Opening INI file: DVSwitch.ini

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] Address -> 127.0.0.1

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] TXPort -> 35103

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] RXPort -> 35100

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] FallbackID -> 3168316

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] ExportTG -> 3168316

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] Slot -> 2

M: 2020-08-07 19:32:16.945 YSF, Transmitting on 127.0.0.1:35103 and listening on port 35100.  Result = 1

M: 2020-08-07 19:32:16.945 MMDVM_Bridge-20191105_V1.4.1 is running

I: 2020-08-07 19:32:16.945 Started the DMR Id lookup reload thread

M: 2020-08-07 19:32:26.970 DMR, Logged into the master successfully


Steve N4IRS
 

Show me your complete MMDVM_Bridge.ini and your complete DVSwitch.ini

On 8/7/2020 3:34 PM, Perry Buch wrote:

root@localhost:/var/log/mmdvm# tail -f MMDVM_Bridge-2020-08-07.log

M: 2020-08-07 19:32:16.945 YSF, Opening INI file: DVSwitch.ini

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] Address -> 127.0.0.1

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] TXPort -> 35103

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] RXPort -> 35100

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] FallbackID -> 3168316

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] ExportTG -> 3168316

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] Slot -> 2

M: 2020-08-07 19:32:16.945 YSF, Transmitting on 127.0.0.1:35103 and listening on port 35100.  Result = 1

M: 2020-08-07 19:32:16.945 MMDVM_Bridge-20191105_V1.4.1 is running

I: 2020-08-07 19:32:16.945 Started the DMR Id lookup reload thread

M: 2020-08-07 19:32:26.970 DMR, Logged into the master successfully



Perry Buch
 

I see no traffic on the Bridge when I key up, I see it on BM dashboard tho and the Hotspot is connected on my Dashboard. 

Here are the more complete logs 


 2020-08-07 19:32:16.887 DMR, Opening DMR Network

I: 2020-08-07 19:32:16.887 System Fusion Network Parameters

I: 2020-08-07 19:32:16.887     Local Address: 0

I: 2020-08-07 19:32:16.887     Local Port: 3200

I: 2020-08-07 19:32:16.887     Gateway Address: repeaters.as.utexas.edu

I: 2020-08-07 19:32:16.887     Gateway Port: 42000

I: 2020-08-07 19:32:16.887     Mode Hang: 3s

M: 2020-08-07 19:32:16.945 Opening YSF network connection

I: 2020-08-07 19:32:16.945 RSSI

I: 2020-08-07 19:32:16.945     Mapping File: RSSI.dat

W: 2020-08-07 19:32:16.945 Cannot open the RSSI data file - RSSI.dat

I: 2020-08-07 19:32:16.945 DMR Id Lookups

I: 2020-08-07 19:32:16.945     File: /var/lib/mmdvm/DMRIds.dat

I: 2020-08-07 19:32:16.945     Reload: 24 hours

W: 2020-08-07 19:32:16.945 Cannot open the DMR Id lookup file - /var/lib/mmdvm/DMRIds.dat

I: 2020-08-07 19:32:16.945 DMR RF Parameters

I: 2020-08-07 19:32:16.945     Id: 3168316

I: 2020-08-07 19:32:16.945     Color Code: 1

I: 2020-08-07 19:32:16.945     Self Only: no

I: 2020-08-07 19:32:16.945     Embedded LC Only: yes

I: 2020-08-07 19:32:16.945     Dump Talker Alias Data: no

I: 2020-08-07 19:32:16.945     Prefixes: 0

I: 2020-08-07 19:32:16.945     Call Hang: 3s

I: 2020-08-07 19:32:16.945     TX Hang: 3s

I: 2020-08-07 19:32:16.945     Mode Hang: 10s

M: 2020-08-07 19:32:16.945 DMR, Opening INI file: DVSwitch.ini

M: 2020-08-07 19:32:16.945 DMR, Setting [DMR] Address -> 127.0.0.1

M: 2020-08-07 19:32:16.945 DMR, Setting [DMR] TXPort -> 35100

M: 2020-08-07 19:32:16.945 DMR, Setting [DMR] RXPort -> 35103

M: 2020-08-07 19:32:16.945 DMR, Setting [DMR] Slot -> 2

M: 2020-08-07 19:32:16.945 DMR, Transmitting on 127.0.0.1:35100 and listening on port 35103.  Result = 1

I: 2020-08-07 19:32:16.945 YSF RF Parameters

I: 2020-08-07 19:32:16.945     Low Deviation: no

I: 2020-08-07 19:32:16.945     Remote Gateway: no

I: 2020-08-07 19:32:16.945     Self Only: no

I: 2020-08-07 19:32:16.945     DSQ: no

I: 2020-08-07 19:32:16.945     Mode Hang: 10s

M: 2020-08-07 19:32:16.945 YSF, Opening INI file: DVSwitch.ini

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] Address -> 127.0.0.1

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] TXPort -> 35103

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] RXPort -> 35100

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] FallbackID -> 3168316

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] ExportTG -> 3168316

M: 2020-08-07 19:32:16.945 YSF, Setting [YSF] Slot -> 2

M: 2020-08-07 19:32:16.945 YSF, Transmitting on 127.0.0.1:35103 and listening on port 35100.  Result = 1

M: 2020-08-07 19:32:16.945 MMDVM_Bridge-20191105_V1.4.1 is running

I: 2020-08-07 19:32:16.945 Started the DMR Id lookup reload thread

M: 2020-08-07 19:32:26.970 DMR, Logged into the master successfully

 


Perry Buch
 

DVSwitch.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 = 35100                  ; Port to send AMBE TLV frames to (export)

RXPort = 35103                  ; 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 = 35103                  ; Port to send AMBE TLV frames to (export)

RXPort = 35100                  ; Port to listen on (import)

FallbackID = 3168316            ; In case we can not find a valid DMR id in the database, export this one

ExportTG = 3168316                 ; Which TG to export

Slot = 2                        ; Export slot



MMDVM ini

[General]

Callsign=KC2QJA

Id=3168316

Timeout=180

Duplex=0

[DMR]

Enable=1

ColorCode=1

EmbeddedLCOnly=1

DumpTAData=0



[DMR Network]

Enable=1

Address=3102.repeater.net

Port=62031

Jitter=360

Local=62032

Password=passw0rd

# for DMR+ see https://github.com/DVSwitch/MMDVM_Bridge/blob/master/DOC/DMRplus_startup_options.md

# for XLX the syntax is: Options=XLX:4009

# Options=

Slot1=0

Slot2=1

Debug=0

 

[System Fusion Network]

Enable=1

LocalAddress=0

LocalPort=3200

GatewayAddress=repeaters.as.utexas.edu

GatewayPort=42000

Debug=0




Steve N4IRS
 

That is the complete MMDVM_Bridge file?
Have you set a static TG in BM selfecare for DMR ID 3168316?

On 8/7/2020 3:40 PM, Perry Buch wrote:
DVSwitch.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 = 35100                  ; Port to send AMBE TLV frames to (export)

RXPort = 35103                  ; 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 = 35103                  ; Port to send AMBE TLV frames to (export)

RXPort = 35100                  ; Port to listen on (import)

FallbackID = 3168316            ; In case we can not find a valid DMR id in the database, export this one

ExportTG = 3168316                 ; Which TG to export

Slot = 2                        ; Export slot



MMDVM ini

[General]

Callsign=KC2QJA

Id=3168316

Timeout=180

Duplex=0

[DMR]

Enable=1

ColorCode=1

EmbeddedLCOnly=1

DumpTAData=0



[DMR Network]

Enable=1

Address=3102.repeater.net

Port=62031

Jitter=360

Local=62032

Password=passw0rd

# for DMR+ see https://github.com/DVSwitch/MMDVM_Bridge/blob/master/DOC/DMRplus_startup_options.md

# for XLX the syntax is: Options=XLX:4009

# Options=

Slot1=0

Slot2=1

Debug=0

 

[System Fusion Network]

Enable=1

LocalAddress=0

LocalPort=3200

GatewayAddress=repeaters.as.utexas.edu

GatewayPort=42000

Debug=0





Perry Buch
 

Nope that was the problem. Audio both ways working as expected. Thanks! 


Steve N4IRS
 

Happy to help.

Steve N4IRS

On 8/7/2020 3:48 PM, Perry Buch wrote:
Nope that was the problem. Audio both ways working as expected. Thanks! 


Steve N4IRS
 

As you can see, a YSF to DMR bridge is the absolute simplest possible bridge.

Steve N4IRS

On 8/7/2020 3:48 PM, Perry Buch wrote:
Nope that was the problem. Audio both ways working as expected. Thanks! 


Perry Buch
 

heh which is why I was going crazy, appreciate the help and the dev on this. Makes these digital modes work as they should