Date   

Re: DMR Master server

Steve N4IRS
 

Can you pass traffic in both directions on TG310 and TG310248 ?

On 5/1/2019 2:25 PM, Chris WB4ULK via Groups.Io wrote:
I set Local back to TS2 for both.

When I key up from a hotspot, the traffic goes across BM and hits my analog bridge that is only connected to BM.
When I key up my analog bridge coming back through BM to the hot spot, I don't hear anything on the hot spot.

Another funny thing is, even though the HBlink instance has TS set for both on that TG, the log says it is coming in on TS1.

Settings and log below:

here are my settings:

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': 2, 'TGID': 311342, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE''ON': [2,], 'OFF': [9,10], 'RESET': []},

        ],

    'US': [

            {'SYSTEM': 'MASTER-1',    'TS': 1, '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': 1, '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': []},

        ]

}




here is the log:

INFO 2019-05-01 18:19:34,251 (REPEATER-1) *CALL START* STREAM ID: 50331648 SUB: WB4ULK (3113722) PEER: 311372206 (311372206) TGID 311342 (311342), TS 1

DEBUG 2019-05-01 18:19:35,257 (REPORT) Periodic reporting loop started

DEBUG 2019-05-01 18:19:35,259 (MASTER-1) Master maintenance loop started

DEBUG 2019-05-01 18:19:35,259 (REPEATER-1) Peer maintenance loop started

DEBUG 2019-05-01 18:19:35,259 (REPEATER-1) RPTPING Sent to Master. Total Sent: 11, Total Missed: 0, Currently Outstanding: 0

DEBUG 2019-05-01 18:19:35,261 (REPEATER-1) MSTPONG Received. Pongs Since Connected: 12

DEBUG 2019-05-01 18:19:35,261 (ROUTER) routerHBP Rule timer loop started

DEBUG 2019-05-01 18:19:35,261 (ROUTER) Conference Bridge NO ACTION: System: MASTER-1, Bridge: Local, TS: 2, TGID: 311342

DEBUG 2019-05-01 18:19:35,261 (ROUTER) Conference Bridge NO ACTION: System: REPEATER-1, Bridge: Local, TS: 2, TGID: 311342

INFO 2019-05-01 18:19:35,261 (ROUTER) Conference Bridge ACTIVE (ON timer running): System: MASTER-1 Bridge: CONCORD, TS: 1, TGID: 310248, Timeout in: 839.99s,

INFO 2019-05-01 18:19:35,262 (ROUTER) Conference Bridge ACTIVE (ON timer running): System: REPEATER-1 Bridge: CONCORD, TS: 1, TGID: 310248, Timeout in: 839.99s,

INFO 2019-05-01 18:19:35,262 (ROUTER) Conference Bridge ACTIVE (ON timer running): System: MASTER-1 Bridge: US, TS: 1, TGID: 310, Timeout in: 839.99s,

INFO 2019-05-01 18:19:35,262 (ROUTER) Conference Bridge ACTIVE (ON timer running): System: REPEATER-1 Bridge: US, TS: 1, TGID: 310, Timeout in: 839.99s,

DEBUG 2019-05-01 18:19:35,263 (ROUTER) Trimming inactive stream IDs from system lists

INFO 2019-05-01 18:19:36,912 (REPEATER-1) *CALL END*   STREAM ID: 50331648 SUB: WB4ULK (3113722) PEER: 311372206 (311372206) TGID 311342 (311342), TS 1, Duration: 2.66



Re: DMR Master server

Chris WB4ULK
 

I set Local back to TS2 for both.

When I key up from a hotspot, the traffic goes across BM and hits my analog bridge that is only connected to BM.
When I key up my analog bridge coming back through BM to the hot spot, I don't hear anything on the hot spot.

Another funny thing is, even though the HBlink instance has TS set for both on that TG, the log says it is coming in on TS1.

Settings and log below:

here are my settings:

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': 2, 'TGID': 311342, 'ACTIVE': True, 'TIMEOUT': 2, 'TO_TYPE': 'NONE''ON': [2,], 'OFF': [9,10], 'RESET': []},

        ],

    'US': [

            {'SYSTEM': 'MASTER-1',    'TS': 1, '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': 1, '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': []},

        ]

}




here is the log:

INFO 2019-05-01 18:19:34,251 (REPEATER-1) *CALL START* STREAM ID: 50331648 SUB: WB4ULK (3113722) PEER: 311372206 (311372206) TGID 311342 (311342), TS 1

DEBUG 2019-05-01 18:19:35,257 (REPORT) Periodic reporting loop started

DEBUG 2019-05-01 18:19:35,259 (MASTER-1) Master maintenance loop started

DEBUG 2019-05-01 18:19:35,259 (REPEATER-1) Peer maintenance loop started

DEBUG 2019-05-01 18:19:35,259 (REPEATER-1) RPTPING Sent to Master. Total Sent: 11, Total Missed: 0, Currently Outstanding: 0

DEBUG 2019-05-01 18:19:35,261 (REPEATER-1) MSTPONG Received. Pongs Since Connected: 12

DEBUG 2019-05-01 18:19:35,261 (ROUTER) routerHBP Rule timer loop started

DEBUG 2019-05-01 18:19:35,261 (ROUTER) Conference Bridge NO ACTION: System: MASTER-1, Bridge: Local, TS: 2, TGID: 311342

DEBUG 2019-05-01 18:19:35,261 (ROUTER) Conference Bridge NO ACTION: System: REPEATER-1, Bridge: Local, TS: 2, TGID: 311342

INFO 2019-05-01 18:19:35,261 (ROUTER) Conference Bridge ACTIVE (ON timer running): System: MASTER-1 Bridge: CONCORD, TS: 1, TGID: 310248, Timeout in: 839.99s,

INFO 2019-05-01 18:19:35,262 (ROUTER) Conference Bridge ACTIVE (ON timer running): System: REPEATER-1 Bridge: CONCORD, TS: 1, TGID: 310248, Timeout in: 839.99s,

INFO 2019-05-01 18:19:35,262 (ROUTER) Conference Bridge ACTIVE (ON timer running): System: MASTER-1 Bridge: US, TS: 1, TGID: 310, Timeout in: 839.99s,

INFO 2019-05-01 18:19:35,262 (ROUTER) Conference Bridge ACTIVE (ON timer running): System: REPEATER-1 Bridge: US, TS: 1, TGID: 310, Timeout in: 839.99s,

DEBUG 2019-05-01 18:19:35,263 (ROUTER) Trimming inactive stream IDs from system lists

INFO 2019-05-01 18:19:36,912 (REPEATER-1) *CALL END*   STREAM ID: 50331648 SUB: WB4ULK (3113722) PEER: 311372206 (311372206) TGID 311342 (311342), TS 1, Duration: 2.66


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


6041 - 6060 of 9882