Date   

Re: hblink BM talkgroups

Steve N4IRS
 

To piggyback on Cort, one thing to consider is that Masters can go down. It does not happen too often, but it does happen. I can make a case for not putting all your eggs in one basket.

Steve, N4IRS

On 7/20/2018 1:39 PM, Cort N0MJS via Groups.Io wrote:
Jim,

You don’t have to connect to multiple different masters to do that (if you don’t want to). You should be able to use a different set of “credentials” and make a 2nd connection to the same one if you want.

As far as what is “best”, it kinda depends on what your goals are — and since you just said “hblink” but didn’t say whether you were using hb_confbridge.py or hb_bridge_all.py… It’s harder to try and surmise what you’re looking to do.

If you’re just looking to make this a “proxy” connection (with local fail-over), then I’d say do it with hb_bridge_all.py and  one BM connection.

But if you’re wanting to potentially connect different downstreams (hotspots & repeaters) to different upstream (BM) TGIDs at the same time, then you’ll find that you need multiple connections to BM with not more than a single static TGID per TS.

Does that help any?

0x49 DE N0MJS

On Jul 20, 2018, at 11:19 AM, Jim K6JWN <nessenj@...> wrote:

Greetings,

I successfully setup hblink yesterday and connected 3 hotspots to it (eventually I will connect a MMDVM repeater into the mix).  Along with the hotspots, I created a client connection to BM 3108 and piped in a static tg (3100 for now to test).  I am interested in bringing 3 static talkgroups in, would it be best to bring them in over the existing client connection, or would it be easier to setup multiple client connections to multiple BM masters and have each one be responsible for a static TG?

Hope my question makes sense, if not let me know.

Jim, K6JWN

Cort Buffington
785-865-7206



Re: hblink BM talkgroups

Cort N0MJS <n0mjs@...>
 

Jim,

You don’t have to connect to multiple different masters to do that (if you don’t want to). You should be able to use a different set of “credentials” and make a 2nd connection to the same one if you want.

As far as what is “best”, it kinda depends on what your goals are — and since you just said “hblink” but didn’t say whether you were using hb_confbridge.py or hb_bridge_all.py… It’s harder to try and surmise what you’re looking to do.

If you’re just looking to make this a “proxy” connection (with local fail-over), then I’d say do it with hb_bridge_all.py and  one BM connection.

But if you’re wanting to potentially connect different downstreams (hotspots & repeaters) to different upstream (BM) TGIDs at the same time, then you’ll find that you need multiple connections to BM with not more than a single static TGID per TS.

Does that help any?

0x49 DE N0MJS

On Jul 20, 2018, at 11:19 AM, Jim K6JWN <nessenj@...> wrote:

Greetings,

I successfully setup hblink yesterday and connected 3 hotspots to it (eventually I will connect a MMDVM repeater into the mix).  Along with the hotspots, I created a client connection to BM 3108 and piped in a static tg (3100 for now to test).  I am interested in bringing 3 static talkgroups in, would it be best to bring them in over the existing client connection, or would it be easier to setup multiple client connections to multiple BM masters and have each one be responsible for a static TG?

Hope my question makes sense, if not let me know.

Jim, K6JWN

Cort Buffington
785-865-7206


hblink BM talkgroups

Jim - K6JWN
 

Greetings,


I successfully setup hblink yesterday and connected 3 hotspots to it (eventually I will connect a MMDVM repeater into the mix).  Along with the hotspots, I created a client connection to BM 3108 and piped in a static tg (3100 for now to test).  I am interested in bringing 3 static talkgroups in, would it be best to bring them in over the existing client connection, or would it be easier to setup multiple client connections to multiple BM masters and have each one be responsible for a static TG?


Hope my question makes sense, if not let me know.


Jim, K6JWN


Re: ASL to DMR Bridge...changing talkgroups

Mike Zingman - N4IRR
 

I include the function below in a bash script and call it with a single parameter (the talk group).  It sends a command to AB.  The function assumes the AB instance is on the same machine (127.0.0.1) and uses the port 31000 to communicate.  Change these to suit your needs.

Once the command is sent, a quick PTT will do the trick.  Dont forget you should also use TG 4000 to disconnect.

Mike


function tune() {
python - <<END
#!/usr/bin/env python
 
import sys
import socket
import struct
 
cmd = "txTg=$1"
_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cmd = struct.pack("BB", 0x05, len(cmd))[0:2] + cmd
_sock.sendto(cmd, ('127.0.0.1', 31000))
_sock.close()
 
END
}
 


Re: ASL to DMR Bridge...changing talkgroups

Mike KB8JNM
 

Mark I have something I have been working on.

But I'm not finished yet. Want to be able to query where it is and some other stuff. (all dtmf)

But in my system, it's integrated in a larger package I built years ago to bypass some of the constants off app_rpt. Something also being re-written.

I really do not want to provide support for that larger package, so, you will just have to wait till I finish it and separate it from the whole package or someone else releases something. But it does work quite well once I coded against all? the blunders a person can make when using it.... like trying to change TG's while in TX to the bridge (allison blows through). Stuff like that.

But whatever I put out there will have to be simpler than it's current form. I'll get there. Only been working on it a few weeks here and there. I think I can make it real simple when I finish all the features I want in there.


...mike/kb8jnm


On 7/20/2018 3:51 AM, mark rosenberg wrote:
Has anyone figured out a fast way to change talkgroups?  As it is, I need to go into change the TG is Analog Bridge.ini  and also Brandmeister under Static groups.  Is there a clever, faster way to switch TG using the ASL to DMR Bridge?

Mark


ASL to DMR Bridge...changing talkgroups

mark rosenberg
 

Has anyone figured out a fast way to change talkgroups?  As it is, I need to go into change the TG is Analog Bridge.ini  and also Brandmeister under Static groups.  Is there a clever, faster way to switch TG using the ASL to DMR Bridge?

Mark


Re: Adding D-star and/or P25

Steve N4IRS
 

Mark,
So your best bet to add other modes to your existing bridge is to use ASL to do the audio mixing. Setup a second private node and connect it to a P25 or D-Star Bridge. The concepts are the same as a DMR bridge. You can use your existing instance of MMDVM_Bridge. Just enable the mode you want to bridge. You will need another instance of Analog_Bridge. P25 will require P25Gateway and D-Star will require ircDDBGateway. The important thing to understand is the UDP ports. You will need new port numbers for Analog_Bridge to ASL and Analog_Bridge to MMDVM_Bridge. Start from the outside and build in. Since you have DMR <-> ASL working. Start from ASL.

Steve

On 7/19/2018 10:15 AM, mark rosenberg wrote:
Ok, so my next question is regarding adding D-star and/or p25 to the Allstar DMR Bridge.  I would LOVE to be able to use the cloud-based server to also connect D-star / P25 to Allstar.  Especially P25 because I have D-star access on my Openspot..but P25...that is another matter.

thanks

Mark 4x1ks / Ku4m


Adding D-star and/or P25

mark rosenberg
 

Ok, so my next question is regarding adding D-star and/or p25 to the Allstar DMR Bridge.  I would LOVE to be able to use the cloud-based server to also connect D-star / P25 to Allstar.  Especially P25 because I have D-star access on my Openspot..but P25...that is another matter.

thanks

Mark 4x1ks / Ku4m


Re: Bridge problem solved...working well.

mark rosenberg
 

I ditched the server and rebuilt it using your instructions.  My previous installation was based on a different method.  I recommend following the how to and go slow.  Once you know it then it isn't difficult and the install is quick, but the first time...go slow.

Thanks

Mark 4x1ks / Ku4m


Additions for *confbridge.py

Cort N0MJS <n0mjs@...>
 

Folks,

I’m preparing for a pretty big feature add for confbridge.py and hb_confbridge.py. I’m going to be adding voice telemetry response to linking actions – that means voice feedback to tell you what’s happening (if you want) when on-demand or timer actions take place.

This is a lot of work, especially on the IPSC side, where I’m going to start. One of the huge issues is getting audio files encoded to “AMBE72” and “AMBE49”. I’d rather be able to focus on one at a time – adding the voice, or getting the pre-encoded AMBE files built. I’d like to work on the mechanics in confbridge first.

Yes, I know, there are pieces out there from various sources to do this. What I’m asking for is someone to package them into a utility and verify they work as expected, and write up, clearly the format of the AMBE files produced. I’m looking for anyone out there who has done this, or wants to take it on to provide a packaged utility to ingest “normal” audio files, like .wav, etc. and output AMBE72 and AMBE49, and clearly define the format of the data in the AMBE files. That way I can focus on whether or not the telemetry pieces work, including crafting IPSC packets from scratch, and not have to wonder whether or not I’ve got a me problem, or an AMBE problem.

If you’re interested, please speak up, on or off list.

0x49 DE N0MJS

Cort Buffington
785-865-7206


Re: Bridge problem solved...working well.

Steve N4IRS
 

So that others can learn, what did you do to solve the problem?

Steve N4IRS

On 7/19/2018 8:41 AM, mark rosenberg wrote:
thanks for the tips and advice.  I solved the problem.  it works well.

Mark


Bridge problem solved...working well.

mark rosenberg
 

thanks for the tips and advice.  I solved the problem.  it works well.

Mark


Re: DMR to DSTAR

Steve N4IRS
 

BM <-> MMDVM_Bridge_0 <-> Analog_Bridge_1 <-> Analog_Bridge_2 <-> MMDVM_Bridge_0 <-> ircDDBGateway <-> D-Star Network
This is one copy of MMDVM_Bridge with DMR and D-Star enabled.

On 07/19/2018 12:05 AM, Mike, AA9VI via Groups.Io wrote:
Still no luck.  I have only 1-way audio after weeks of trying. I followed your google share instructions to the word.  But, there are a few things that are unclear.
1) I need 2 instances of analog bridge with two ini files right?  (1 for DMR, 1 for DSTAR)
Yes
2) I need 2 DVSwitch.ini files, right?
No
3) I need 2 MMDVM instances running with 2 ini files right? (your doc says this but I thought you told me one via the message board)
It can be run tat way but does not have to.
4) I am using ThumbDVs.  I set the baud rate and 460800 right?
Yes
5) Are there any prerequsite binaries I need to install for this aside from the apt-get install dvswitch?
No
6) These sample files do not exist:
Sample Configuration files
/usr/share/doc/dvswitch
Where else could they be?
I'll check

7) What is the difference between issuing a command like:
./Analog_Bridge ./Analog_Bridge_DMR.ini  versus ./Analog_Bridge Analog_Bridge_DMR.ini ?
Nothing

8) Should the different MMDVM_Bridge instances be placed in different directories or does it matter?  Similarly the same question for Analog_Bridge.
Can be, but may not need be.

BEST I can tell by watching the foreground is the PCM conversion is happening in one direction only.  Somehow the USRP is only working DMR-> DSTAR and not the other way around.  This would seem to indicate the ports are not inverted on each side.  But, they are.  So now what?
If D-Star -> DMR is not working, follow it through the chain. Run everything in the foreground. Does MMDVM_Bridge see the traffic? Yes? No? if no, stop and troubleshoot. Do not go to the next step until you see the traffic.


Re: DMR to Allstar Bridge almost working

Steve N4IRS
 

Mark,
The distorted audio message you are hearing from BrandMeister is the word blocked. BrandMeister has a "loop detector" that is supposed to stop a condition where someone with a hotspot locks up a TG.
Change the minTxTimeMS In Analog_Bridge.ini:

[AMBE_AUDIO]
minTxTimeMS = 2500

Steve N4IRS

On 07/19/2018 03:13 AM, mark rosenberg wrote:
So I hear great audio from the DMR to my Allstar node.  That part is good.

However, my audio to the Dmr side is either too low...and weirdest of all is that I keep getting what sounds like a woman's computer generated voice keying up over and over again for about 1 sec and saying something that sounds like "lost" at 1 or 2 second intervals.  Is that something explainable?  it happens as soon as I key up the Allstar radio...then she starts at one second intervals on and off with the word that sounds like "lost"...won't stop.

Mark


Re: DMR to Allstar Bridge almost working

Peter M0NWI
 

If you log into DVSwitch message list at Groups.io, you will be able to look back down the list, maybe even search, to find the old messages which discuss your issue.


73,

Peter




From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of mark rosenberg <4x1ks.mark@...>
Sent: 19 July 2018 08:53
To: main@dvswitch.groups.io
Subject: Re: [DVSwitch] DMR to Allstar Bridge almost working
 
Not sure i understand what you mean...explain...thanks

On Thu, Jul 19, 2018, 10:33 Peter M0NWI <peter-martin@...> wrote:

Mark,


Go back in the list some messages, there was a long discussion about this, I suspect the voice you're hearing is from Brandmiester reporting 'Blocked', as it feels you're doing something wrong, like trying to use an ID twice.


73,

Peter




From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of mark rosenberg <4x1ks.mark@...>
Sent: 19 July 2018 08:13
To: main@DVSwitch.groups.io
Subject: [DVSwitch] DMR to Allstar Bridge almost working
 
So I hear great audio from the DMR to my Allstar node.  That part is good.

However, my audio to the Dmr side is either too low...and weirdest of all is that I keep getting what sounds like a woman's computer generated voice keying up over and over again for about 1 sec and saying something that sounds like "lost" at 1 or 2 second intervals.  Is that something explainable?  it happens as soon as I key up the Allstar radio...then she starts at one second intervals on and off with the word that sounds like "lost"...won't stop.

Mark


Re: DMR to Allstar Bridge almost working

mark rosenberg
 

Not sure i understand what you mean...explain...thanks


On Thu, Jul 19, 2018, 10:33 Peter M0NWI <peter-martin@...> wrote:

Mark,


Go back in the list some messages, there was a long discussion about this, I suspect the voice you're hearing is from Brandmiester reporting 'Blocked', as it feels you're doing something wrong, like trying to use an ID twice.


73,

Peter




From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of mark rosenberg <4x1ks.mark@...>
Sent: 19 July 2018 08:13
To: main@DVSwitch.groups.io
Subject: [DVSwitch] DMR to Allstar Bridge almost working
 
So I hear great audio from the DMR to my Allstar node.  That part is good.

However, my audio to the Dmr side is either too low...and weirdest of all is that I keep getting what sounds like a woman's computer generated voice keying up over and over again for about 1 sec and saying something that sounds like "lost" at 1 or 2 second intervals.  Is that something explainable?  it happens as soon as I key up the Allstar radio...then she starts at one second intervals on and off with the word that sounds like "lost"...won't stop.

Mark


Re: DMR to Allstar Bridge almost working

Peter M0NWI
 

Mark,


Go back in the list some messages, there was a long discussion about this, I suspect the voice you're hearing is from Brandmiester reporting 'Blocked', as it feels you're doing something wrong, like trying to use an ID twice.


73,

Peter




From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of mark rosenberg <4x1ks.mark@...>
Sent: 19 July 2018 08:13
To: main@DVSwitch.groups.io
Subject: [DVSwitch] DMR to Allstar Bridge almost working
 
So I hear great audio from the DMR to my Allstar node.  That part is good.

However, my audio to the Dmr side is either too low...and weirdest of all is that I keep getting what sounds like a woman's computer generated voice keying up over and over again for about 1 sec and saying something that sounds like "lost" at 1 or 2 second intervals.  Is that something explainable?  it happens as soon as I key up the Allstar radio...then she starts at one second intervals on and off with the word that sounds like "lost"...won't stop.

Mark


Re: DMR to Allstar Bridge almost working

mark rosenberg
 

This is the mmdvm screen ...it keeps logging in and out


On Thu, Jul 19, 2018, 10:13 mark rosenberg <4x1ks.mark@...> wrote:
So I hear great audio from the DMR to my Allstar node.  That part is good.

However, my audio to the Dmr side is either too low...and weirdest of all is that I keep getting what sounds like a woman's computer generated voice keying up over and over again for about 1 sec and saying something that sounds like "lost" at 1 or 2 second intervals.  Is that something explainable?  it happens as soon as I key up the Allstar radio...then she starts at one second intervals on and off with the word that sounds like "lost"...won't stop.

Mark


DMR to Allstar Bridge almost working

mark rosenberg
 

So I hear great audio from the DMR to my Allstar node.  That part is good.

However, my audio to the Dmr side is either too low...and weirdest of all is that I keep getting what sounds like a woman's computer generated voice keying up over and over again for about 1 sec and saying something that sounds like "lost" at 1 or 2 second intervals.  Is that something explainable?  it happens as soon as I key up the Allstar radio...then she starts at one second intervals on and off with the word that sounds like "lost"...won't stop.

Mark


Re: DMR to DSTAR

Mike, AA9VI
 

Still no luck.  I have only 1-way audio after weeks of trying. I followed your google share instructions to the word.  But, there are a few things that are unclear.
1) I need 2 instances of analog bridge with two ini files right?  (1 for DMR, 1 for DSTAR)
2) I need 2 DVSwitch.ini files, right?
3) I need 2 MMDVM instances running with 2 ini files right? (your doc says this but I thought you told me one via the message board)
4) I am using ThumbDVs.  I set the baud rate and 460800 right?
5) Are there any prerequsite binaries I need to install for this aside from the apt-get install dvswitch?
6) These sample files do not exist:
Sample Configuration files
/usr/share/doc/dvswitch
Where else could they be?

7) What is the difference between issuing a command like:
./Analog_Bridge ./Analog_Bridge_DMR.ini  versus ./Analog_Bridge Analog_Bridge_DMR.ini ?

8) Should the different MMDVM_Bridge instances be placed in different directories or does it matter?  Similarly the same question for Analog_Bridge.

BEST I can tell by watching the foreground is the PCM conversion is happening in one direction only.  Somehow the USRP is only working DMR-> DSTAR and not the other way around.  This would seem to indicate the ports are not inverted on each side.  But, they are.  So now what?

7981 - 8000 of 9882