Where To Start


stevecast2024@...
 

Hello Folks,
I hope I am not a pain. If so, then feel free to shut me down. I am looking for a basic place to start with DVSwitch and the other utilities. I am running Ubuntu and have downloaded dmr_utils as well as DMRLink. I want to make sure that I have installed all necessary parts in order to make this run. Obviously the set up is different depending on what exactly I want to do. My first project is to simply link an XPR8300 via IPSC to a homebrew repeater. I understand editing the config files. I also want to try and use a console program that I have heard exists, but I have not been able to locate it yet. If someone could just point me to what all I need to install to start this task I would be happy to start putting a starters guide together for this.

Steve


Steve N4IRS
 

Steve,
What you want to do is quite possible. It will look like this:
XPR8300 <---> IPSC_Bridge <---> HB_Bridge <---> MMDVMHost

I suggest you take it in pieces. Bring up IPSC_Bridge, connect the 8300 to it. Make sure the 8300 is logging in and passing traffic. Bring up HB_Bridge and connect MMDVMHost to it. Make sure the MMDVMHost is logging in and passing traffic. Last but not least bring both IPSC_Bridge and HB_Bridge, connect the 8300 and MMDVMHost. You should have traffic passing from the 8300 to MMDVMHost.

Read the config file comments, they will help
Bring each program up in the foreground so you can see the output.
Solve any problems before going forward.

IPSC_Bridge is a branch of DMRlink (for now, it needs to be merged into the master branch) you can find it at <https://github.com/n0mjs710/DMRlink/tree/IPSC_Bridge>
HB_Bridge is a branch of HBlink (for now, it needs to be merged into the master branch) you can find it at <https://github.com/n0mjs710/HBlink/tree/HB_Bridge>

For the console program, it is a function of Analog_Bridge <https://github.com/N4IRS/Analog_Bridge> You will need a Vocoder. I suggest you get everything else working first.

73, Steve N4IRS



On 12/22/2017 08:03 PM, stevecast2024@... wrote:
Hello Folks,
I hope I am not a pain. If so, then feel free to shut me down. I am looking for a basic place to start with DVSwitch and the other utilities. I am running Ubuntu and have downloaded dmr_utils as well as DMRLink. I want to make sure that I have installed all necessary parts in order to make this run. Obviously the set up is different depending on what exactly I want to do. My first project is to simply link an XPR8300 via IPSC to a homebrew repeater. I understand editing the config files. I also want to try and use a console program that I have heard exists, but I have not been able to locate it yet. If someone could just point me to what all I need to install to start this task I would be happy to start putting a starters guide together for this.

Steve


stevecast2024@...
 

Sounds good. Thank you Steve. I will give it a shot.


stevecast2024@...
 

So far IPSC_Bridge and dmrlink seem to be running without issue. What is the best way to run the programs in the foreground? I currently see no output from the programs. The log does seem okay though. Do you use tmux or screen?


Steve N4IRS
 

Once I have it running properly I run it in the background and tail the log when I need to look. For output from the programs, look at the LOGGER stanza. I do not use screen.

Steve

On 12/23/2017 06:15 PM, stevecast2024@... wrote:
So far IPSC_Bridge and dmrlink seem to be running without issue. What is the best way to run the programs in the foreground? I currently see no output from the programs. The log does seem okay though. Do you use tmux or screen?


stevecast2024@...
 

Sounds good. Things are looking good right now. One additional question. I am configuring hb_bridge now. In the overall picture I have my 8300 configured as master. In the settings for hb_bridge where should I point the master? Is that supposed to point to the MMDVM repeater? Or is the MMDVM repeater considered a peer in this case?


Steve N4IRS
 

A MMDVM repeater is a client (peer) can not be a server (master)

On 12/23/2017 07:24 PM, stevecast2024@... wrote:
Sounds good. Things are looking good right now. One additional question. I am configuring hb_bridge now. In the overall picture I have my 8300 configured as master. In the settings for hb_bridge where should I point the master? Is that supposed to point to the MMDVM repeater? Or is the MMDVM repeater considered a peer in this case?


stevecast2024@...
 

Okay. So I should be pointing the config file for hb_bridge to the 8300 as the master as well then?

I am seeing data flowing although it seems like extremely high loss rate:
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 16448250
INFO Voice Transmission End 5.58 seconds loss rate: 96.77% (3/93)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 54205
INFO Voice Transmission End 9.90 seconds loss rate: 98.18% (3/165)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 16448250
INFO Voice Transmission End 5.58 seconds loss rate: 96.77% (3/93)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 54205
INFO Voice Transmission End 17.10 seconds loss rate: 98.95% (3/285)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 16448250
INFO Voice Transmission End 9.90 seconds loss rate: 98.18% (3/165)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 54205
INFO Voice Transmission End 25.74 seconds loss rate: 99.30% (3/429)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 16448250
INFO Voice Transmission End 7.02 seconds loss rate: 97.44% (3/117)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 54205
INFO Voice Transmission End 5.22 seconds loss rate: 96.55% (3/87)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 54205
INFO Voice Transmission End 16.02 seconds loss rate: 98.88% (3/267)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 16448250


Steve N4IRS
 

You are right about the loose rate. See if this helps you configure it.
<https://groups.io/g/DVSwitch/files/HB_Bridge_to_IPSC_Bridge_Diagram.pdf>

On 12/23/2017 07:59 PM, stevecast2024@... wrote:
Okay. So I should be pointing the config file for hb_bridge to the 8300 as the master as well then?

I am seeing data flowing although it seems like extremely high loss rate:
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 16448250
INFO Voice Transmission End 5.58 seconds loss rate: 96.77% (3/93)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 54205
INFO Voice Transmission End 9.90 seconds loss rate: 98.18% (3/165)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 16448250
INFO Voice Transmission End 5.58 seconds loss rate: 96.77% (3/93)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 54205
INFO Voice Transmission End 17.10 seconds loss rate: 98.95% (3/285)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 16448250
INFO Voice Transmission End 9.90 seconds loss rate: 98.18% (3/165)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 54205
INFO Voice Transmission End 25.74 seconds loss rate: 99.30% (3/429)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 16448250
INFO Voice Transmission End 7.02 seconds loss rate: 97.44% (3/117)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 54205
INFO Voice Transmission End 5.22 seconds loss rate: 96.55% (3/87)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 54205
INFO Voice Transmission End 16.02 seconds loss rate: 98.88% (3/267)
INFO Voice Transmission Start on TS 2 and TG 9642 (9642) from 16448250


stevecast2024@...
 

All good. HB_Bridge and IPSC_Bridge seem to be communicating with each other. My last item now is to figure out why I have such a high packet loss. Not sure what would be causing that. I appreciate you help in getting this up and running.


Steve N4IRS
 

Even though the log is showing high loss rate, how is the audio passing?

Steve


Mike Zingman - N4IRR
 

If audio is passing I would like you to try editing the IPSC_Bridge.py file, line 148.  It needs to be an 8 bit value (like HB)
so change it from
_seq = int_id(_data[20:22])
 

to
_seq = int_id(_data[20:22]) & 0xff
 


But only do this if audio is passing and this is a logging error.


stevecast2024@...
 

Alright. I'm waiting on an MMDVM to come in to interface to the other repeater. Once I have it I'll let you know of audio is truly passing. Thank you.


ai6bx
 

I found this thread and it seemed closest to what I am currently running into. Any assistance based on below, would be much appreciated.

I am having gradual successes in gettinng things running. Independently I have had the HBlink running with my hotspots and linked to BM and independently I have had the DMRlink/IPSC running. Trying to bring the two together has been problamatic. I saw a post about building them together backwards from DMRlink so have been working that method. DMRlink is currently working and I have now reinstalled and am configuring HBlink. When running hb_confbridge.py I get the following:

/opt/HBlink$ python hb_confbridge.py
INFO 2019-11-24 16:41:57,000 
 
Copyright (c) 2013, 2014, 2015, 2016, 2018
The Founding Members of the K0USY Group. All rights reserved.
 
DEBUG 2019-11-24 16:41:57,001 Logging system started, anything from here on gets logged
INFO 2019-11-24 16:41:57,001 ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded
INFO 2019-11-24 16:41:57,002 ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded
INFO 2019-11-24 16:41:57,163 ID ALIAS MAPPER: peer_ids dictionary is available
INFO 2019-11-24 16:41:59,421 ID ALIAS MAPPER: subscriber_ids dictionary is available
INFO 2019-11-24 16:41:59,426 Routing bridges file found and bridges imported
ERROR: Conference bridges found for system not configured main configuration

I have Master-1, Repeater-1 and an openbridge of RiffNet created and mirrored in the rules file.

Any thoughts where to look for the error?

Thank you,

Keith


ai6bx
 

Adding snapshots of my files for reference as well.

 

BRIDGES = {

    'ALLCALL': [

            {'SYSTEM': 'MASTER-1',    'TS': 1, 'TGID': 156,    'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10], 'RESET': []},

            {'SYSTEM': 'REPEATER-1',    'TS': 1, 'TGID': 156, 'ACTIVE': False, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10], 'RESET': []},

            {'SYSTEM': 'RIFFNET',    'TS': 1, 'TGID': 156, 'ACTIVE': False, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10], 'RESET': []},

        ],

    'T-TAC': [

            {'SYSTEM': 'MASTER-1',    'TS': 1, 'TGID': 71,   'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [3,], 'OFF': [8,10], 'RESET': []},

            {'SYSTEM': 'REPEATER-1',    'TS': 1, 'TGID': 71,   'ACTIVE': False, 'TIMEOUT': 2, 'TO_TYPE': 'NONE', 'ON': [3,], 'OFF': [8,10], 'RESET': []},

            {'SYSTEM': 'RIFFNET',    'TS': 1, 'TGID': 71, 'ACTIVE': False, 'TIMEOUT': 2, 'TO_TYPE': 'NONE',  'ON': [2,], 'OFF': [9,10], 'RESET': []},

        ]

}

 

[RIFFNET]

MODE: OPENBRIDGE

ENABLED: False

IP:

PORT: 62043

NETWORK_ID: 3129100

PASSPHRASE: o9J_v+sKX#f{_kdD

TARGET_IP: 149.28.84.243

TARGET_PORT: 62031

USE_ACL: True

SUB_ACL: DENY:1

TGID_ACL: PERMIT:ALL

 

[MASTER-1]

MODE: MASTER

ENABLED: True

REPEAT: True

MAX_PEERS: 30

EXPORT_AMBE: False

IP:

PORT: 62030

PASSPHRASE: R!ffN3t

GROUP_HANGTIME: 5

USE_ACL: True

REG_ACL: DENY:1

SUB_ACL: DENY:1

TGID_TS1_ACL: PERMIT:ALL

TGID_TS2_ACL: PERMIT:ALL

 

 

[REPEATER-1]

MODE: PEER

ENABLED: False

LOOSE: False

EXPORT_AMBE: False

IP:

PORT: 54001

MASTER_IP: 172.16.1.1

MASTER_PORT: 54000

PASSPHRASE: homebrew

CALLSIGN: AI6BX

RADIO_ID: 312000

RX_FREQ: 449000000

TX_FREQ: 444000000

TX_POWER: 25

COLORCODE: 1

SLOTS: 3

LATITUDE: 38.0000

LONGITUDE: -095.0000

HEIGHT: 75

LOCATION: Redlands, CA

DESCRIPTION: Keith Master

URL: www.w1abc.org

SOFTWARE_ID: 20170620

PACKAGE_ID: MMDVM_HBlink

GROUP_HANGTIME: 5

 

From: <main@DVSwitch.groups.io> on behalf of "ai6bx via Groups.Io" <ai6bx.keith@...>
Reply-To: <main@DVSwitch.groups.io>
Date: Sunday, November 24, 2019 at 9:20 AM
To: <main@DVSwitch.groups.io>
Subject: Re: [DVSwitch] Where To Start

 

I found this thread and it seemed closest to what I am currently running into. Any assistance based on below, would be much appreciated.

I am having gradual successes in gettinng things running. Independently I have had the HBlink running with my hotspots and linked to BM and independently I have had the DMRlink/IPSC running. Trying to bring the two together has been problamatic. I saw a post about building them together backwards from DMRlink so have been working that method. DMRlink is currently working and I have now reinstalled and am configuring HBlink. When running hb_confbridge.py I get the following:

/opt/HBlink$ python hb_confbridge.py

INFO 2019-11-24 16:41:57,000 

 

Copyright (c) 2013, 2014, 2015, 2016, 2018

The Founding Members of the K0USY Group. All rights reserved.

 

DEBUG 2019-11-24 16:41:57,001 Logging system started, anything from here on gets logged

INFO 2019-11-24 16:41:57,001 ID ALIAS MAPPER: 'peer_ids.json' is current, not downloaded

INFO 2019-11-24 16:41:57,002 ID ALIAS MAPPER: 'subscriber_ids.json' is current, not downloaded

INFO 2019-11-24 16:41:57,163 ID ALIAS MAPPER: peer_ids dictionary is available

INFO 2019-11-24 16:41:59,421 ID ALIAS MAPPER: subscriber_ids dictionary is available

INFO 2019-11-24 16:41:59,426 Routing bridges file found and bridges imported

ERROR: Conference bridges found for system not configured main configuration

I have Master-1, Repeater-1 and an openbridge of RiffNet created and mirrored in the rules file.

Any thoughts where to look for the error?

Thank you,

Keith