setting up MMDVM_Bridge and Analog_Bridge #analog_bridge #mmdvm_bridge


Dexter Harroo
 
Edited

Hi guys:
Its me again, This time i am assisting a friend of mines in setting up DStar to DMR link i did some reading and want to make sure i understand the instructions and doing it correctly.
this is what i have so far.
DSTAR<------>MMDVM_Bridge------> <-----Analog_Bridge_Dstar.ini----> <----Analog_Bridge_DMR.ini----> <----MMDVM_Bridge<------>DMR

Analog_Bridge_Dstar.ini
[AMBE_AUDIO]
server = 127.0.0.1                      ; IP address of xx_Bridge.py
fromDMRPort = 32103                     ; AMBE frames from xx_Bridge (should match "toGatewayPort" in xx_Bridge.cfg)
toDMRPort = 32100                       ; AMBE frames from xx_Bridge (should match "fromGatewayPort" in xx_Bridge.cfg)
ambeMode = DSTAR                        ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW
minTxTimeMS = 2000                      ; Minimum time in MS for hang delay
gatewayDmrId = 3740029                  ; ID to use when transmitting from Analog_Bridge
repeaterID = 3740029                    ; ID of source repeater
txTg = 1972                                ; TG to use for all frames received from Analog_Bridge -> xx_Bridge
txTs = 1                                ; Slot to use for frames received from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames

DvSwitch.ini Dstar Stanza

[DSTAR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 32103                  ; Port to send AMBE TLV frames to (export)
RXPort = 32100                  ; Port to listen on (import)
FallbackID = 3740029            ; In case we can not find a valid DMR id in the database, export this one
ExportTG = 1972                 ; Which TG to export
Slot = 2                                ; Export slot

Analog_Bridge_DMR.ini
server = 127.0.0.1                      ; IP address of xx_Bridge.py
fromDMRPort = 31103                     ; AMBE frames from xx_Bridge (should match "toGatewayPort" in xx_Bridge.cfg)
toDMRPort = 31101                       ; AMBE frames from xx_Bridge (should match "fromGatewayPort" in xx_Bridge.cfg)
ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW
minTxTimeMS = 2000                      ; Minimum time in MS for hang delay
gatewayDmrId = 0                        ; ID to use when transmitting from Analog_Bridge
repeaterID = 0                          ; ID of source repeater
txTg = 1972                             ; TG to use for all frames received from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames received from Analog_Bridge -> xx_Bridge
colorCode = 1                           

DvSwitch.INI DMR Stanza
[DMR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 31103                  ; Port to send AMBE TLV frames to (export)
RXPort = 31101                  ; Port to listen on (import)
Slot = 2                        ; Export slot


Can someone take a look and let me know if I'm on the right track or If I am Missing anything?
Question How do i go about running the 2 Instances of Analog_Bridge?


Steve N4IRS
 

Looks about right. Don't forget you need ircDDBGateway between MB and D-Star reflector.

On 6/21/2019 2:57 PM, Dexter Harroo wrote:

Hi guys:
Its me again, This time i am assisting a friend of mines in setting up DStar to DMR link i did some reading and want to make sure i understand the instructions and doing it correctly.
this is what i have so far.
DSTAR<------>MMDVM_Bridge------> <-----Analog_Bridge_Dstar.ini----> <----Analog_Bridge_DMR.ini----> <----MMDVM_Bridge<------>DMR

Analog_Bridge_Dstar.ini
[AMBE_AUDIO]
server = 127.0.0.1                      ; IP address of xx_Bridge.py
fromDMRPort = 32103                     ; AMBE frames from xx_Bridge (should match "toGatewayPort" in xx_Bridge.cfg)
toDMRPort = 32100                       ; AMBE frames from xx_Bridge (should match "fromGatewayPort" in xx_Bridge.cfg)
ambeMode = DSTAR                        ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW
minTxTimeMS = 2000                      ; Minimum time in MS for hang delay
gatewayDmrId = 3740029                  ; ID to use when transmitting from Analog_Bridge
repeaterID = 3740029                    ; ID of source repeater
txTg = 1972                                ; TG to use for all frames received from Analog_Bridge -> xx_Bridge
txTs = 1                                ; Slot to use for frames received from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames

DvSwitch.ini Dstar Stanza

[DSTAR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 32103                  ; Port to send AMBE TLV frames to (export)
RXPort = 32100                  ; Port to listen on (import)
FallbackID = 3740029            ; In case we can not find a valid DMR id in the database, export this one
ExportTG = 1972                 ; Which TG to export
Slot = 2                                ; Export slot

Analog_Bridge_DMR.ini
server = 127.0.0.1                      ; IP address of xx_Bridge.py
fromDMRPort = 31103                     ; AMBE frames from xx_Bridge (should match "toGatewayPort" in xx_Bridge.cfg)
toDMRPort = 31101                       ; AMBE frames from xx_Bridge (should match "fromGatewayPort" in xx_Bridge.cfg)
ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW
minTxTimeMS = 2000                      ; Minimum time in MS for hang delay
gatewayDmrId = 0                        ; ID to use when transmitting from Analog_Bridge
repeaterID = 0                          ; ID of source repeater
txTg = 1972                             ; TG to use for all frames received from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames received from Analog_Bridge -> xx_Bridge
colorCode = 1                           

DvSwitch.INI DMR Stanza
[DMR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 31103                  ; Port to send AMBE TLV frames to (export)
RXPort = 31101                  ; Port to listen on (import)
Slot = 2                        ; Export slot


Can someone take a look and let me know if I'm on the right track or If I am Missing anything?


Steve KC1AWV
 

Depends on how you're starting the service. If you're using the systemd scripts, this is how I would do it:

Make a copy of the existing AB systemd script, make it identifiable as a different script

cd /lib/systemd/system
cp analog_bridge.service analog_bridge-dstar.service

Then, edit the copy with your editor of choice

pico analog_bridge-dstar.service

And edit the ExecStart line to load up the configuration for the instance you want. I'll assume you're doing the dstar config

ExecStart=/opt/Analog_Bridge/Analog_Bridge /opt/Analog_Bridge/Analog_Bridge_DStar.ini

Save and exit the editor. Then update the systemd files

systemctl daemon-reload

Then star the new service

systemctl start analog_bridge-dstar.service

You can do the same for the DMR instance as well, just change the names and files where needed.

Steve KC1AWV


On Fri, Jun 21, 2019 at 2:59 PM Dexter Harroo <dex.9y4c@...> wrote:

[Edited Message Follows]

Hi guys:
Its me again, This time i am assisting a friend of mines in setting up DStar to DMR link i did some reading and want to make sure i understand the instructions and doing it correctly.
this is what i have so far.
DSTAR<------>MMDVM_Bridge------> <-----Analog_Bridge_Dstar.ini----> <----Analog_Bridge_DMR.ini----> <----MMDVM_Bridge<------>DMR

Analog_Bridge_Dstar.ini
[AMBE_AUDIO]
server = 127.0.0.1                      ; IP address of xx_Bridge.py
fromDMRPort = 32103                     ; AMBE frames from xx_Bridge (should match "toGatewayPort" in xx_Bridge.cfg)
toDMRPort = 32100                       ; AMBE frames from xx_Bridge (should match "fromGatewayPort" in xx_Bridge.cfg)
ambeMode = DSTAR                        ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW
minTxTimeMS = 2000                      ; Minimum time in MS for hang delay
gatewayDmrId = 3740029                  ; ID to use when transmitting from Analog_Bridge
repeaterID = 3740029                    ; ID of source repeater
txTg = 1972                                ; TG to use for all frames received from Analog_Bridge -> xx_Bridge
txTs = 1                                ; Slot to use for frames received from Analog_Bridge -> xx_Bridge
colorCode = 1                           ; Color Code to assign DMR frames

DvSwitch.ini Dstar Stanza

[DSTAR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 32103                  ; Port to send AMBE TLV frames to (export)
RXPort = 32100                  ; Port to listen on (import)
FallbackID = 3740029            ; In case we can not find a valid DMR id in the database, export this one
ExportTG = 1972                 ; Which TG to export
Slot = 2                                ; Export slot

Analog_Bridge_DMR.ini
server = 127.0.0.1                      ; IP address of xx_Bridge.py
fromDMRPort = 31103                     ; AMBE frames from xx_Bridge (should match "toGatewayPort" in xx_Bridge.cfg)
toDMRPort = 31101                       ; AMBE frames from xx_Bridge (should match "fromGatewayPort" in xx_Bridge.cfg)
ambeMode = DMR                          ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW
minTxTimeMS = 2000                      ; Minimum time in MS for hang delay
gatewayDmrId = 0                        ; ID to use when transmitting from Analog_Bridge
repeaterID = 0                          ; ID of source repeater
txTg = 1972                             ; TG to use for all frames received from Analog_Bridge -> xx_Bridge
txTs = 2                                ; Slot to use for frames received from Analog_Bridge -> xx_Bridge
colorCode = 1                           

DvSwitch.INI DMR Stanza
[DMR]
Address = 127.0.0.1             ; Address to send AMBE TLV frames to (export)
TXPort = 31103                  ; Port to send AMBE TLV frames to (export)
RXPort = 31101                  ; Port to listen on (import)
Slot = 2                        ; Export slot


Can someone take a look and let me know if I'm on the right track or If I am Missing anything?
Question How do i go about running the 2 Instances of Analog_Bridge?



--
Steve Miller
KC1AWV


Dexter Harroo
 

ok Thanks Steve. I guess ircDDBGateway isn't supported on here?


Dexter Harroo
 

DSTAR<------> <---ircDDBGateway---> <---MMDVM_Bridge------> <-----Analog_Bridge_Dstar.ini----> <----Analog_Bridge_DMR.ini----> <----MMDVM_Bridge<------>DMR

So this is the correct illustration


Steve N4IRS
 

Supported? Well not really, it's from someone else. I have not built a install package for it. It can be built from source or I think someone has packages available.

On 6/21/2019 3:15 PM, Dexter Harroo wrote:

ok Thanks Steve. I guess ircDDBGateway isn't supported on here?


Steve N4IRS
 

Yes

On 6/21/2019 3:20 PM, Dexter Harroo wrote:

DSTAR<------> <---ircDDBGateway---> <---MMDVM_Bridge------> <-----Analog_Bridge_Dstar.ini----> <----Analog_Bridge_DMR.ini----> <----MMDVM_Bridge<------>DMR

So this is the correct illustration


Dexter Harroo
 

Hi Guys, having this issue when starting A_B,
Error DV3000 not found aborting
, we have AMBED server running and the devices plugged into the same box that is running AMBE server and the reflector, is there something in the settings that I'm missing?


Steve N4IRS
 

Dexter,
If you are referring to the ambed from XLX, it will not work. AB does not support that server. If you are using DMR you can use the internal vocoder in AB or the md380-emu.

Steve N4IRS

On 6/24/2019 12:54 PM, Dexter Harroo wrote:

Hi Guys, having this issue when starting A_B,
Error DV3000 not found aborting
, we have AMBED server running and the devices plugged into the same box that is running AMBE server and the reflector, is there something in the settings that I'm missing?


Dexter Harroo
 

Hi Steve, How do i enable the internal vocoder

[DV3000]
;server = 127.0.0.1                      ; IP address of AMBEServer
;port = 2460                             ; Port of AMBEServer
server = /dev/ttyUSB0                 ; Device of DV3000U on this machine
port = 460800                         ; Baud rate of the dongle
serial = true  

Do i have to modify Here?

 


Steve N4IRS
 

[GENERAL]
decoderFallBack = true                  ; Allow software AMBE decoding if a hardware decoder is not found

On 6/24/2019 1:17 PM, Dexter Harroo wrote:

Hi Steve, How do i enable the internal vocoder

[DV3000]
;server = 127.0.0.1                      ; IP address of AMBEServer
;port = 2460                             ; Port of AMBEServer
server = /dev/ttyUSB0                 ; Device of DV3000U on this machine
port = 460800                         ; Baud rate of the dongle
serial = true  

Do i have to modify Here?

 


Dexter Harroo
 

The DVStick-33 is compatible with AB right?


Node750Tt
 

Hi Steve,

On my XLX server I have the following all able to run without errors:
Ambed
ircddbgateway
MMDVM_Bridge
I have a DVstick-33 with uses AMBE3003 plugged in my server and transcoding XRF DSTAR > XLX DMR & XLX DMR > XRF DSTAR 
I am trying to set up a TGIF Network TG, and to do this, I understand that Analog_Bridge is required. One Analog_Bridge_DStar.ini and One Analog_Bridge_DMR.ini.
Neither of these ini are able to run as both Analog_Bridges are referencing DV3000. My device is DVstick-33.

I know the baudrate and the ttyUSB port the DVstick -33 is on, I put this info into both .ini files and [DVstick-33] as the header, yet the program is still referencing DV3000.
Which I think is hard written into the program.

Is there away for Analog_Bridge program to work with this DVstick-33 using the AMBE3003?

I had a quick look inside the program and only saw reference to DV3000. 

Thanks
Jeff


David BV3UN
 

Hi Node750Tt

Could you tell me where are you download ircddbgateway , which github you go ?
I need to install it for MMDVM-bridge and Analog-bridge ,I am using pi 3B+ with raspbian stretch
Now I am only find the old version of ircddbgateway (2015) on add/remove of raspberry and it not support XLX 
Thanks a lot


Steve N4IRS
 

https://github.com/g4klx/ircDDBGateway

On 11/9/19 6:54 PM, davidchien0327 via Groups.Io wrote:

Hi Node750Tt

Could you tell me where are you download ircddbgateway , which github you go ?
I need to install it for MMDVM-bridge and Analog-bridge ,I am using pi 3B+ with raspbian stretch
Now I am only find the old version of ircddbgateway (2015) on add/remove of raspberry and it not support XLX 
Thanks a lot


David BV3UN
 

Hi Steve 
Thanks I will try it with my poor Linux knowledge
If is have package to install will be fine XD
Anyway I try to do my Best


ve6gcd@...
 

Hi Steve,

Can you tell me how to configure ASL direct bridge to YSF we are currently avoiding conflict with DMR/Brandmeister regulations at the moment. I tried it and keeps noticing in the debug that mode being set to DMR even when ambe_mode is YSFN.

73,
Geoffrey VE6GCD 


yo2lqa@...
 

Hi Steve.I use linux deploy apk on my android phone and i run debian in chroot.I have installed dvswitch...analog_bridge-md380-emu-mmdvm_bridge and  connect to ipsc2 romania(DMR+).I have one problem,my md380-emu don't  start as service in chroot.How can i solve this?

73' YO2LQA


Steve N4IRS
 

What error do you get?

On 2/21/20 12:29 PM, yo2lqa@... wrote:

Hi Steve.I use linux deploy apk on my android phone and i run debian in chroot.I have installed dvswitch...analog_bridge-md380-emu-mmdvm_bridge and  connect to ipsc2 romania(DMR+).I have one problem,my md380-emu don't  start as service in chroot.How can i solve this?

73' YO2LQA


MIKE Parie <aa1pr@...>
 

OK like this gentleman I too am having issues
it seems my node is communicating with brandmesiter & echolink, both are connected & reporting
all the test steps along the process were verified as instructed in the pdf
however the node will not pass audio as far as I can tell trying to access it from my 2nd echolink app on the cell using cell data
I need to get someone on the outside world to connect in for me & test

can I add a node radio to this I dont see anyone doing that from my online research so far
Ive added my usb radio fob script accordingly to the simpleusb_tune_usb_42282.conf
I see the new software doesnt have simpleusb-tune-menu
so how does one set audio levels

I also tried to setup a script/command so when the node is turned on it connects to 1999  with     startup_macro =*9531999 will this still work with the new software?

can I also install the zoiper script in iax.conf & extensions.conf like the crompton image to gain iax access?

any help is greatly appreciated, thanks