Date   

Re: DMR Master server

Steve N4IRS
 

And if both on TS1?

On 5/1/2019 2:17 PM, Chris WB4ULK via Groups.Io wrote:
When I had both on TS2, I was getting traffic to BM, but not back from BM


Re: DMR Master server

Chris WB4ULK
 

When I had both on TS2, I was getting traffic to BM, but not back from BM


Re: DMR Master server

Chris WB4ULK
 

It seems that:

If someone is riding around town talking on local 311342 TS2
Another guy keys up Tac 310 on TS1

The local guys will still get separated and be able to talk,
but anyone trying to get back in to the local group on a hotspot will be held out until the guy on 310 clears.

Am I right?


Re: DMR Master server

Steve N4IRS
 

BRIDGES = {

    'Local': [

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

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

        ],
In the above snip you are routing traffic from MASTER-1 on TS2 to to REPEATER-1 on TS2 

If you want the traffic on the same time slot make the two TS values match.

On 5/1/2019 2:10 PM, Chris WB4ULK via Groups.Io wrote:
after thinking more about it,
The HBlink instance is going to behave like a hot spot. (I think.) One thing in and out at a time.

Here is my test file. It only seems to work both directions when Master is TS 2 and Repeater is TS 1

BRIDGES = {

    'Local': [

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

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

        ],

    'US': [

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

            {'SYSTEM': 'REPEATER-1',    'TS': 1, 'TGID': 310,   'ACTIVE': True, 'TIMEOUT': 15, 'TO_TYPE': 'ON', 'ON': [3,], 'OFF': [8,10], 'RESET': []},

        ],

    'CONCORD': [

            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': 310248, 'ACTIVE': True, 'TIMEOUT': 15, 'TO_TYPE': 'ON', 'ON': [4,], 'OFF': [7,10], 'RESET': []},

            {'SYSTEM': 'REPEATER-1',    'TS': 1, 'TGID': 310248, 'ACTIVE': True, 'TIMEOUT': 15, 'TO_TYPE': 'ON', 'ON': [4,], 'OFF': [7,10], 'RESET': []},

        ]

}

 


Re: DMR Master server

Chris WB4ULK
 

after thinking more about it,
The HBlink instance is going to behave like a hot spot. (I think.) One thing in and out at a time.

Here is my test file. It only seems to work both directions when Master is TS 2 and Repeater is TS 1

BRIDGES = {

    'Local': [

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

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

        ],

    'US': [

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

            {'SYSTEM': 'REPEATER-1',    'TS': 1, 'TGID': 310,   'ACTIVE': True, 'TIMEOUT': 15, 'TO_TYPE': 'ON', 'ON': [3,], 'OFF': [8,10], 'RESET': []},

        ],

    'CONCORD': [

            {'SYSTEM': 'MASTER-1',    'TS': 2, 'TGID': 310248, 'ACTIVE': True, 'TIMEOUT': 15, 'TO_TYPE': 'ON', 'ON': [4,], 'OFF': [7,10], 'RESET': []},

            {'SYSTEM': 'REPEATER-1',    'TS': 1, 'TGID': 310248, 'ACTIVE': True, 'TIMEOUT': 15, 'TO_TYPE': 'ON', 'ON': [4,], 'OFF': [7,10], 'RESET': []},

        ]

}

 


Re: DMR Master server

Steve N4IRS
 

Show us your rule file.

On 5/1/2019 2:02 PM, Chris WB4ULK via Groups.Io wrote:
Another question about TS behavior.

I noticed I have to have [Repeater] on one TS and [Master] on another TS for 2 way communications.

Am I not able to have 2 conversations at the same time across the HBlink instance?

For example:
Local TG on one TS and all others on the other TS?

Chris


Re: DMR Master server

Chris WB4ULK
 

Another question about TS behavior.

I noticed I have to have [Repeater] on one TS and [Master] on another TS for 2 way communications.

Am I not able to have 2 conversations at the same time across the HBlink instance?

For example:
Local TG on one TS and all others on the other TS?

Chris


Re: DMR Master server

Steve N4IRS
 

Sure, we can proof it and include it in the wiki.

On 5/1/2019 1:23 PM, Chris WB4ULK via Groups.Io wrote:
I got it working, but I had to change the TS to 2.
I was not hearing it across my analog bridge until that change.
My analog bridge is set to TS2.
Thank you very much.

I have documented all my steps and am going to run it through from scratch again.
Can I send you the guide I am going to write so you can proof it?
I think a guide written by a total simpleton will help others.

Also thanks JJ for pointing out the bridge.py.

Chris


Re: DMR Master server

Chris WB4ULK
 

I got it working, but I had to change the TS to 2.
I was not hearing it across my analog bridge until that change.
My analog bridge is set to TS2.
Thank you very much.

I have documented all my steps and am going to run it through from scratch again.
Can I send you the guide I am going to write so you can proof it?
I think a guide written by a total simpleton will help others.

Also thanks JJ for pointing out the bridge.py.

Chris


Re: DMR Master server

Steve N4IRS
 

Yes

On 5/1/2019 1:03 PM, Chris WB4ULK via Groups.Io wrote:
Do I have to spell out each available TG between Master and Repeater to be available and map them to each other?

Chris


Re: DMR Master server

Chris WB4ULK
 

Do I have to spell out each available TG between Master and Repeater to be available and map them to each other?

Chris


Re: DMR Master server

Steve N4IRS
 

yes. They need to match the stanza names in hblink.cfg

On 5/1/2019 12:58 PM, Chris WB4ULK via Groups.Io wrote:
So in this example:
I would need to rename "Client 1" to "repeater-1" to match my config, right?

BRIDGES = {

    'WORLDWIDE': [

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

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

Also,
In that example is that routing TG1 on master to TG 3100 on the client?

Can I allow all TG's or do I need to make a statement for each that I want available and route each one in and out?

Chris



Re: DMR Master server

Chris WB4ULK
 

So in this example:
I would need to rename "Client 1" to "repeater-1" to match my config, right?

BRIDGES = {

    'WORLDWIDE': [

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

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

Also,
In that example is that routing TG1 on master to TG 3100 on the client?

Can I allow all TG's or do I need to make a statement for each that I want available and route each one in and out?

Chris


Re: DMR Master server

Steve N4IRS
 

Sorry, I forgot about the rules file.
rename rules_SAMPLE.py to rules.py
edit rules.py to taste.

Steve

On 5/1/2019 12:42 PM, Chris WB4ULK via Groups.Io wrote:
When I run bridge I get:

(ROUTER) TERMINATING: Routing bridges file not found or invalid

Chris



Re: DMR Master server

Chris WB4ULK
 

When I run bridge I get:

(ROUTER) TERMINATING: Routing bridges file not found or invalid

Chris


Re: DMR Master server

Steve N4IRS
 

No config file. run bridge.py instead of hblink.py with both in the same directory.

On 5/1/2019 12:38 PM, Chris WB4ULK via Groups.Io wrote:
I have my log populating now.
It doesn't seem to log any traffic that goes across the master only.

How do I go about configuring bridge.py to bridge the master to the repeater?
Is there a cfg file in another location maybe?

Crhis


Re: DMR Master server

Chris WB4ULK
 

I have my log populating now.
It doesn't seem to log any traffic that goes across the master only.

How do I go about configuring bridge.py to bridge the master to the repeater?
Is there a cfg file in another location maybe?

Crhis


Re: DMR Master server

Steve N4IRS
 

Set LOG_HANDLERS to
console-timed,file-timed

On 5/1/2019 12:24 PM, Chris WB4ULK via Groups.Io wrote:
My logger is configured as this:


[LOGGER]

LOG_FILE: /tmp/hblink.log

LOG_HANDLERS: console-timed

LOG_LEVEL: DEBUG

LOG_NAME: HBlink

I go to /tmp and see blink.log, but it is empty.

How do I configure bridge.py?
I looked at it and see that it is python, but don't see a cfg or ini that corresponds with it anywhere.


Chris



Re: DMR Master server

Chris WB4ULK
 

My logger is configured as this:


[LOGGER]

LOG_FILE: /tmp/hblink.log

LOG_HANDLERS: console-timed

LOG_LEVEL: DEBUG

LOG_NAME: HBlink

I go to /tmp and see blink.log, but it is empty.

How do I configure bridge.py?
I looked at it and see that it is python, but don't see a cfg or ini that corresponds with it anywhere.


Chris


Re: DMR Master server

JJ Cummings
 

Set logging to Debug and see what the logs say about things when you key up, they should tell you where the voice traffic is being sent... you’ll also need to bridge the traffic (bridge.py) between the Master-1 and Repeater-1 instanced.... 

Sent from the iRoad

On May 1, 2019, at 10:07, Chris WB4ULK via Groups.Io <chood73@...> wrote:

I am so stumped.
Not sure if I am missing a concept or package to make this work.

Right now, I am just trying to get my repeater and hot spots on a private server and have it connect out to BM.
The connection to BM is really just for the local repeater to access other TG's.

I have installed an instance of HBlink3 and DMRutils3.
I am running the instance by executing hblink.py from the command prompt using python3.

I have my hot spots talking to each other across the server just fine.
On [Master-1]. I am using port 62030. I found that port open on the Pi-Star firewall by default, so users wouldn't have to change any rules.
That seems to work fine.

On [Repeater-1] I am using port 62031 to go to BM as they request.
The instance logs into BM just fine and shows connected from the BM side, but no audio comes from the HBlink instance to BM or vice versa.

I have [OBP-1] set to equal False

When I am running hblink.py, I see:
The instance connect to BM
My Hot Spots connect to the instance
RPTPING Sent to Master. Total sent x and it steadily increases.
MSTPONG Received and x amount of PONGS since connected and that number steadily increases.
Peer maintenance loop started
Master maintenance loop started.

When traffic passes across the instance, I don,t see any mention of it.

When I go look at the log file hblink.log, I see that the file is created, but not populated.

Am I missing a component to make this work?

I was assuming, that the HBlink instance would take whatever TG was xmitted through the hotspot forward it to any connected hot spots (Which it does) and also forward it to BM and vice versa.

I know I'm missing something simple, but darned if I can't find it. Sorry for my ignorance, but it feels like I just don't know the right question to ask.

Chris

6721 - 6740 of 10560