Date   

Re: Switch Between BM and TGIF

Tom Corcoran
 

Hmmm...

added last two lines to dvsm.ini
and dialed *13 and *14 ... no change in network.

DMR = /opt/Analog_Bridge/analog_bridge.sh dmr.ini
DSTAR = /opt/Analog_Bridge/analog_bridge.sh dstar.ini
NXDN = /opt/Analog_Bridge/analog_bridge.sh nxdn.ini
P25 = /opt/Analog_Bridge/analog_bridge.sh p25.ini
YSF = /opt/Analog_Bridge/analog_bridge.sh ysf.ini
13 = /opt/MMDVM_Bridge/TGIF_Chng.sh
14 = /opt/MMDVM_Bridge/BM_Chng.sh

drawing blanks. please remind me where analog log is located.... tnx ...Tom VE3NY


Re: Disconnection after 45 seconds

Steve N4IRS
 

Mike,
Check to verify battery optimization is off for the DVSM app on your Android device.

Steve N4IRS

On 11/25/19 7:21 PM, VK4SED wrote:
Hello All,
I am having a similar problem, where after about 2 mins or so the DVSwitch mobile app running on an Android mobile device just hangs up on all modes, Eg NXDN, P25, YSF etc, whilst connected on a cellular connection, when a push the "Register" button I get USRP :REG OK  notification again, and the connection continues for about another 2 minutes or so, unless I am in a QSO where the app does not hang up.
If I run the same android device and app on my home wifi connection I don't get disconnected.  I've also tried connecting using another phone's wifi hotspot on a cellular connection and get the same result . The equipment I am using is a RPi 3b only running DVSwitch2 with updated scripts and binaries connected thru my homes 5G wifi connection to my router the 1 away to a stable 90Gbs cable connection.
However, on IAX2 connection to an Allstar node I remain connected.

Any suggestions

VK4SED Mike


Re: Disconnection after 45 seconds

VK4SED
 

Hello All,
I am having a similar problem, where after about 2 mins or so the DVSwitch mobile app running on an Android mobile device just hangs up on all modes, Eg NXDN, P25, YSF etc, whilst connected on a cellular connection, when a push the "Register" button I get USRP :REG OK  notification again, and the connection continues for about another 2 minutes or so, unless I am in a QSO where the app does not hang up.
If I run the same android device and app on my home wifi connection I don't get disconnected.  I've also tried connecting using another phone's wifi hotspot on a cellular connection and get the same result . The equipment I am using is a RPi 3b only running DVSwitch2 with updated scripts and binaries connected thru my homes 5G wifi connection to my router the 1 away to a stable 90Gbs cable connection.
However, on IAX2 connection to an Allstar node I remain connected.

Any suggestions

VK4SED Mike


Re: Switch Between BM and TGIF

Steve N4IRS
 

It will be
13 = /full/path/to/your/script.sh
45 = /full/path/to/your/stuff.sh

Then dial *13 or *45

Watch the Analog_Bridge log for what is happening.


On 11/25/19 4:59 PM, Tom Corcoran wrote:
I have tried both 

13 = BM_Chng.sh
24 = TGIF_Chng.sh

and

*13#BM_Chng.sh
*24#TGIF_Chng.sh

dialed with *13 and *24

no change in state. I'm pretty sure that the scripts are correct since I can make the network change using the command line to invoke the scripts.
--
Tom VE3NY


Re: Switch Between BM and TGIF

Tom Corcoran
 

I have tried both 

13 = BM_Chng.sh
24 = TGIF_Chng.sh

and

*13#BM_Chng.sh
*24#TGIF_Chng.sh

dialed with *13 and *24

no change in state. I'm pretty sure that the scripts are correct since I can make the network change using the command line to invoke the scripts.
--
Tom VE3NY


Re: Switch Between BM and TGIF

Steve N4IRS
 

You will need to use numbers. Example:
13=your bm script
24=your TGIF script.
Then to trigger, dial ,*13 or *24


Sent via smoke signal (AT&T)


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Tom Corcoran <tcorcoran@...>
Sent: Monday, November 25, 2019 4:00:06 PM
To: main@DVSwitch.groups.io <main@DVSwitch.groups.io>
Subject: Re: [DVSwitch] Switch Between BM and TGIF
 
Here's what I've added to dvsm.ini

DMR = /opt/Analog_Bridge/analog_bridge.sh dmr.ini
DSTAR = /opt/Analog_Bridge/analog_bridge.sh dstar.ini
NXDN = /opt/Analog_Bridge/analog_bridge.sh nxdn.ini
P25 = /opt/Analog_Bridge/analog_bridge.sh p25.ini
YSF = /opt/Analog_Bridge/analog_bridge.sh ysf.ini
TGIF = /opt/Analog_Bridge/TGIF_Chng.sh    ; added new
BM = /opt/Analog_Bridge/BM_Chng.sh          ; added new

Look correct? If so, should I expect to see the TGIF and BM options displayed in "Mode Select"? If not, where/how to I invoke processes?

tnx ... Tom VE3NY



Re: Switch Between BM and TGIF

Tom Corcoran
 

Here's what I've added to dvsm.ini

DMR = /opt/Analog_Bridge/analog_bridge.sh dmr.ini
DSTAR = /opt/Analog_Bridge/analog_bridge.sh dstar.ini
NXDN = /opt/Analog_Bridge/analog_bridge.sh nxdn.ini
P25 = /opt/Analog_Bridge/analog_bridge.sh p25.ini
YSF = /opt/Analog_Bridge/analog_bridge.sh ysf.ini
TGIF = /opt/Analog_Bridge/TGIF_Chng.sh    ; added new
BM = /opt/Analog_Bridge/BM_Chng.sh          ; added new

Look correct? If so, should I expect to see the TGIF and BM options displayed in "Mode Select"? If not, where/how to I invoke processes?

tnx ... Tom VE3NY



Re: using output of MMDVM_Bridge as telemetry for ASL

Patrick Perdue
 

Cool, that's the piece I was missing. I think I can handle the rest.

Thanks.

On 11/25/2019 3:17 PM, Steve N4IRS wrote:
I won't get into most of what you asked since it's not written in stone how to do what you want to but...
To trigger on key or unkey, look at event <https://wiki.allstarlink.org/wiki/Event_Management>

73, Steve N4IRS

On 11/25/19 3:03 PM, Patrick Perdue wrote:
Hi:

Let me explain what this is all about.

I have ASL running on a VPS, with MMDVM_Bridge and Analog_Bridge parked on a private ASL node connected to the publicly accessible node.

This public node also has a pair of streams -- one to my personal Icecast server, the other to Broadcastify.

I have enabled telemetry on the public node, so that anyone listening to the stream gets courtesy tones and connect/disconnect messages. These, of course, don't propogate to DMR and D-STAR, because that's just a terrible idea.

Here's what I want to do next.

It would be nice if the ASL node could announce the call sign of anyone who keys up on DMR, but, say, only once per hour. Otherwise, quick keys and QSOs would be really, really annoying.

There is a script from HamVoIP which can be used to easily speak call signs, and I have replaced the sound pack with a much faster, more efficient set, so it takes about 70% less time to get through a call sign than with Allison.

My thought was to try and write something that would grep a relevant line from MMDVM_Bridge.log for a pattern, store the last call sign as a variable, look for that call sign in a file that would be deleted once an hour. If that call exists in the file, do nothing. Otherwise, pass the call sign as an argument to the speaktext script, then append it to the end of the file so that it isn't spoken again until the file is flushed.

The one thing I am unsure of is how to make this script fire at the right point in time. I want to run this script, ideally, after someone keys or unkeys, which ever would work out best. Failing that, configure Asterisk to use the tailmessage at a very short interval, pointing it at a specific file which is deleted after being played, and running the script in a loop in the background, with checks for the existence of files so it doesn't do unnecessary stuff, using /tmp so as to avoid lots of disk reads and writes.

I doubt anyone has done this before, but mostly what I'm looking for is best practices, and if this is even feasible, or if I'm going about this all the wrong way.





Re: using output of MMDVM_Bridge as telemetry for ASL

Steve N4IRS
 

I won't get into most of what you asked since it's not written in stone how to do what you want to but...
To trigger on key or unkey, look at event <https://wiki.allstarlink.org/wiki/Event_Management>

73, Steve N4IRS

On 11/25/19 3:03 PM, Patrick Perdue wrote:
Hi:

Let me explain what this is all about.

I have ASL running on a VPS, with MMDVM_Bridge and Analog_Bridge parked on a private ASL node connected to the publicly accessible node.

This public node also has a pair of streams -- one to my personal Icecast server, the other to Broadcastify.

I have enabled telemetry on the public node, so that anyone listening to the stream gets courtesy tones and connect/disconnect messages. These, of course, don't propogate to DMR and D-STAR, because that's just a terrible idea.

Here's what I want to do next.

It would be nice if the ASL node could announce the call sign of anyone who keys up on DMR, but, say, only once per hour. Otherwise, quick keys and QSOs would be really, really annoying.

There is a script from HamVoIP which can be used to easily speak call signs, and I have replaced the sound pack with a much faster, more efficient set, so it takes about 70% less time to get through a call sign than with Allison.

My thought was to try and write something that would grep a relevant line from MMDVM_Bridge.log for a pattern, store the last call sign as a variable, look for that call sign in a file that would be deleted once an hour. If that call exists in the file, do nothing. Otherwise, pass the call sign as an argument to the speaktext script, then append it to the end of the file so that it isn't spoken again until the file is flushed.

The one thing I am unsure of is how to make this script fire at the right point in time. I want to run this script, ideally, after someone keys or unkeys, which ever would work out best. Failing that, configure Asterisk to use the tailmessage at a very short interval, pointing it at a specific file which is deleted after being played, and running the script in a loop in the background, with checks for the existence of files so it doesn't do unnecessary stuff, using /tmp so as to avoid lots of disk reads and writes.

I doubt anyone has done this before, but mostly what I'm looking for is best practices, and if this is even feasible, or if I'm going about this all the wrong way.



using output of MMDVM_Bridge as telemetry for ASL

Patrick Perdue
 

Hi:

Let me explain what this is all about.

I have ASL running on a VPS, with MMDVM_Bridge and Analog_Bridge parked on a private ASL node connected to the publicly accessible node.

This public node also has a pair of streams -- one to my personal Icecast server, the other to Broadcastify.

I have enabled telemetry on the public node, so that anyone listening to the stream gets courtesy tones and connect/disconnect messages. These, of course, don't propogate to DMR and D-STAR, because that's just a terrible idea.

Here's what I want to do next.

It would be nice if the ASL node could announce the call sign of anyone who keys up on DMR, but, say, only once per hour. Otherwise, quick keys and QSOs would be really, really annoying.

There is a script from HamVoIP which can be used to easily speak call signs, and I have replaced the sound pack with a much faster, more efficient set, so it takes about 70% less time to get through a call sign than with Allison.

My thought was to try and write something that would grep a relevant line from MMDVM_Bridge.log for a pattern, store the last call sign as a variable, look for that call sign in a file that would be deleted once an hour. If that call exists in the file, do nothing. Otherwise, pass the call sign as an argument to the speaktext script, then append it to the end of the file so that it isn't spoken again until the file is flushed.

The one thing I am unsure of is how to make this script fire at the right point in time. I want to run this script, ideally, after someone keys or unkeys, which ever would work out best. Failing that, configure Asterisk to use the tailmessage at a very short interval, pointing it at a specific file which is deleted after being played, and running the script in a loop in the background, with checks for the existence of files so it doesn't do unnecessary stuff, using /tmp so as to avoid lots of disk reads and writes.

I doubt anyone has done this before, but mostly what I'm looking for is best practices, and if this is even feasible, or if I'm going about this all the wrong way.


Re: Switch Between BM and TGIF

Steve N4IRS
 

No,
You want to look in dvsm.ini You don't HAVE to use a separate include file. It's about the contents of dvsm.ini

Steve

On 11/25/2019 2:01 PM, Tom Corcoran wrote:
Hello Steve,

This is the way the top of the Analog_Bridge.ini file looks now. Correct? If so, I'm not sure what to do next to invoke the procedure. I've used the format suggested by N8ACL.

I thought I would be doing something with the BM_chng.sh and TGIF_chng.sh files??

include = dvsm.ini
include = asl.ini
include = MMDVM_Bridge_TGIF.ini
include = MMDVM_Bridge_BM.ini
 
--
Tom VE3NY


Re: Switch Between BM and TGIF

Tom Corcoran
 

Hello Steve,

This is the way the top of the Analog_Bridge.ini file looks now. Correct? If so, I'm not sure what to do next to invoke the procedure. I've used the format suggested by N8ACL.

I thought I would be doing something with the BM_chng.sh and TGIF_chng.sh files??

include = dvsm.ini
include = asl.ini
include = MMDVM_Bridge_TGIF.ini
include = MMDVM_Bridge_BM.ini
 
--
Tom VE3NY


connecting multiple Motorola DMR repeaters to dmrlink #dmrlink #hblink

ai6bx
 

I want to link  multiple Moto DMR repeaters to dmrlink and bridge to HBlink and an existing Moto DMR repeater functioning as a master for another small network. thus far, a single Moto DMR will communicate both ways with the Moto master and its linked repeaters but a second Moto DMR connected to my dmrlink will not communicate with the first. Do I need a separate entry for each moto dmr I wish to link? 


Re: IPSC-bridge Dmrlink and HBlink3: help for how to #dmrlink #best_practices #hblink

ai6bx
 

I have my network running... almost. I scrapped the whole thing and started by loading dmrlink and IPSC_bridge. I got things working there with a Moto 8300 linking through to a Motorola Master with 7 other repeaters connected to it so assumed all was good. I then set up my HBliink and have a few hotspots linking through it. I then set a second Moto 8300 repeater connecting to DMRlink which works except it is not linking to the first repeater. Each can talk into all the others on the Moto Master but the two will not connect to each other. I also do not have a successful link between the dmrlink and HBlink3 system. I am guessing I am missing a bridge profile or something. Baby steps. I will keep hammering at it and hope someone who has "been here done this" my offer up a few tips.


Re: Switch Between BM and TGIF

Steve N4IRS
 

The top of Analog_Bridge.ini will contain a pointer to a include file. That include file will contain your macros. Add custom macros to that include file.

Steve N4IRS


Re: Switch Between BM and TGIF

Tom Corcoran
 


I can make the transition back and forth between BM and TGIF from a command line ... but don't know how to do through a macro. Advice?
--
Tom VE3NY


Re: Where To Start

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


Re: Dvswitch software not running on Odroid N2

Steve N4IRS
 

Ernie,
Good to hear. I will still plan to support native ARM64 in the near future.

Steve

On 11/24/19 3:47 PM, Ernie Gm7kbk wrote:
Hello Adrian
I down loaded the image onto a microSD card. Got the N2 fired up and updated. Used the link given to me earlier to allow 32 bit  programs to run on 64 bit system.
Rebooted and all is working with DVSwitch software. The latest Ubuntu software will not let you run 32 bit files they are not available to download either from US or UK servers. Found all the files on Debian site. Debian Stretch on a Odroid N2 works.

Thanks to Both
Gm7kbk


Re: Dvswitch software not running on Odroid N2

 

Hello Adrian
I down loaded the image onto a microSD card. Got the N2 fired up and updated. Used the link given to me earlier to allow 32 bit  programs to run on 64 bit system.
Rebooted and all is working with DVSwitch software. The latest Ubuntu software will not let you run 32 bit files they are not available to download either from US or UK servers. Found all the files on Debian site. Debian Stretch on a Odroid N2 works.

Thanks to Both
Gm7kbk


Re: Where To Start

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

4501 - 4520 of 9797