Re: setting up MMDVM_Bridge and Analog_Bridge #mmdvm_bridge #analog_bridge


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

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