Date   

Re: DMR bridge to Allstar - Loose DMR Master connection #brandmeister #mmdvm_bridge

John M Wysocki
 

Hello Wayne from Wellington New Zealand.

I have the same loss of DMR Master connection when using DMR Plus IPSC2.
It stays connected for some hours or days but sometimes disappears from my DVS dashboard.
I use the DVSM [* & 0] function to establish it again.
Funny thing is that it appears to still put traffic to the New Zealand IPSC2 server even though
the dashboard says it's not connected.
NXDN, D-Star and YSF do not go missing except for an internet "blip" when I sometimes
need to reconnect all of them.
DVS is such excellent software and if drop of DMR Master is the only thing wrong then I live with it.
There might be a fix sometime or it's caused by bad net from time to time and nothing to do with DVS.
Here is my dashboard: http://zl2tws-dvs.ddns.net

Best 73 and good DV to all. John ZL2TWS


Re: DMR bridge to Allstar - Loose DMR Master connection #brandmeister #mmdvm_bridge

Wayne Nixon N0AD
 
Edited

Then I wonder if it's just a DVSwitch Dashboard display issue and the web interface is looking for the initial handshake vs a retry


Re: DMR bridge to Allstar - Loose DMR Master connection #brandmeister #mmdvm_bridge

Corey Dean N3FE
 

I went back 5 days on the logs and the last entry on 3102 was

Nov 18 18:39:58 dmrxbm Master 3102[908289]: Connection of MMDVM Host system 310022399 (3.144.15.211) removed

Prior to that everything was fine and you didn't lose connection at all.

since that time you have been connected to 3104 and never skipped a beat there either, other than one simple service restart I did over the weekend, and you were connected right back within 30 seconds.  As I see it there was no issues at all.It never lost connection except for the time I restarted a service and when you moved it from 3102 to 3104.  I never even saw it on 3103.

Corey  N3FE


I have zero record of you on 3103

On 2021-11-22 13:44, Wayne Nixon wrote:

Hey Corey, 

Thank you. So far today it has stayed connected. Its currently connected to 3104.repeater.net
The DMR id is 310022399


Re: DMR bridge to Allstar - Loose DMR Master connection #brandmeister #mmdvm_bridge

Wayne Nixon N0AD
 

Hey Corey, 

Thank you. So far today it has stayed connected. Its currently connected to 3104.repeater.net
The DMR id is 310022399


Re: DMR bridge to Allstar - Loose DMR Master connection #brandmeister #mmdvm_bridge

Corey Dean N3FE
 

If I knew the dmr id of the system, I was going to check the logs on the master, but without that info it is just a guessing game.


On 2021-11-22 10:45, Wayne Nixon wrote:

[Edited Message Follows]

I have tried the following 3102.repeater.net, 3103.repeater.net, and 3104.repeater.net. They all seem to act the same. I would like to add that I am seeing this on the DVSwitch Dashboard. I haven't really been able to figure out exactly was causes it. Sometimes it says connected for days other times its 15 minutes.  I pull up the Dashboard and sometimes the DMR Master will be listed and other times it is not. If the DMR Master isn't listed I restart mmkdvm_bridge.service and its back again.

I do see at time in the logs where the login wasn't successful and then 15 seconds later the login is successful. I'm not sure if this has anything to do with what is showing on the dashboard. Is there a command to show the state of the connection to the master DMR server?


Re: DMR bridge to Allstar - Loose DMR Master connection #brandmeister #mmdvm_bridge

Wayne Nixon N0AD
 
Edited

I have tried the following 3102.repeater.net, 3103.repeater.net, and 3104.repeater.net. They all seem to act the same. I would like to add that I am seeing this on the DVSwitch Dashboard. I haven't really been able to figure out exactly was causes it. Sometimes it says connected for days other times its 15 minutes.  I pull up the Dashboard and sometimes the DMR Master will be listed and other times it is not. If the DMR Master isn't listed I restart mmkdvm_bridge.service and its back again.

I do see at time in the logs where the login wasn't successful and then 15 seconds later the login is successful. I'm not sure if this has anything to do with what is showing on the dashboard. Is there a command to show the state of the connection to the master DMR server?


Re: DMR bridge to Allstar - Loose DMR Master connection #brandmeister #mmdvm_bridge

Corey Dean N3FE
 

You need to give a little bit more of an explanation such as, which master?  There are 44 of them, is it always around the same time?  Things like that.  Heck if you are in the USA connecting to another country that could explain it pretty quickly.


On Nov 22, 2021, at 3:42 AM, Wayne Nixon <nixon7606@...> wrote:

My DVSwitch keeps losing connection to brandmeister. Does anyone have this issue? Once I restart mmdvm_bridge.service the Master is connected but later disconnects.


DMR bridge to Allstar - Loose DMR Master connection #brandmeister #mmdvm_bridge

Wayne Nixon N0AD
 

My DVSwitch keeps losing connection to brandmeister. Does anyone have this issue? Once I restart mmdvm_bridge.service the Master is connected but later disconnects.


Re: ASL to DMR Bridge...changing talkgroups

John Springman - KB3AWQ
 

Some of that is sinking in to me, but the stuff posted below seems to be more understandable.  The script form below to run in the bash shell works just fine.  Directions to copy and paste this to this in this local and change this to this would be best. 

I was successful in doing a crontab -e to have it switch to a certain talkgroup at a certain time and day. 

@reboot sleep 30 && systemctl restart mmdvm_bridge ; this is just for a reboot of the pi to start mmdvn_bridge
00 20 * * 1 /usr/local/sbin/dmrtuneTG.sh 314230 1999 yes ; active TG locally switched to
#00 04 * * 0 /usr/local/sbin/dmrtuneTG.sh 31421 1999 yes ; test that is commented out for PA statewide tac 1


I pasted this at the bottom of the etc/asterisk/extentions.conf (I dont have a custom folder)
; routing for sending dmr talkgroup change command to the dvswitch stack
;
; March 2019 Dan K0TI
;
; Place this in /etc/asterisk/custom/extensions.conf
; Requires script /usr/local/sbin/dmrtuneTG.sh
;
; Calls dmrtuneTG.sh with the extenstion (talkgroup) that is dialed in.
; Auto Patch Command in rpt.conf would look like this
; 96 = autopatchup,context=dmr_tune_tg,noct=1,farenddisconnect=1,dialtime=20000,quiet=1
;
; *9631081 to would select talk group 31081 (if allowed in dmr_tune_tg1 stanza)

[dmr_tune_tg]
; Change these for your location  (DMRNODE and DNRKEY)
;
exten => _.!,1,Set(DMRNODE=200); Node number of DMR Bridge
exten => _.!,2,Set(DMRKEY=YES) ; should we key tg after set (YES/NO)
exten => _.!,3,Goto(dmr_tune_tg1|0${EXTEN}|1)
[dmr_tune_tg1]
;
; Put talkgroups here that you do NOT want allowed (examples, adjust to your needs)
; Remember you need to prefix the talkgroup number with '0'
;
exten => _0.,1,NooP(${EXTEN})
; refuse 2100 - 2199
exten => _02XXX,2,Goto(dmr_unavailable|${EXTEN}|1)
; refuse 3100 = 3199
exten => _031XX,2,Goto(dmr_unavailable|${EXTEN}|1)
; refuse TAC 310
exten => _0312,2,Goto(dmr_unavailable|${EXTEN}|1)
; refuse North America
exten => _093,2,Goto(dmr_unavailable|${EXTEN}|1)
;
; Put talkgroups here that you want to allow (or use allow all others below)
;
; Allow TAC 310-319 (312 is refused above)
exten => _031X,2,Goto(dmr_tune_tg2|${EXTEN}|1)
; Allow 31000 - 31999
exten => _031XXX,2,Goto(dmr_tune_tg2|${EXTEN}|1)
;
; if you want to refuse all others uncomment this line
;exten => _0.,2,Goto(dmr_unavailable|${EXTEN}|1)
;
; if you want to allow all others uncomment this
; if you uncomment this then other allow statemenst above are not needed.
exten => _0.,2,Goto(dmr_tune_tg2|${EXTEN}|1)
;
exten => _0.,3,Hangup()

[dmr_tune_tg2]
; now send the command to the Analog Bridge and give feedback to usr
exten => _0.,1,System(/usr/local/sbin/dmrtuneTG.sh ${EXTEN:1} ${DMRNODE} ${DMRKEY})
exten => _0.,n,Playback(connected&to&letters/d&letters/m&letters/r)
exten => _0.,n,SayDigits(${EXTEN:1})
exten => _0.,n,Hangup()

[dmr_unavailable]
; usr put in talk group number that is not allowed
exten => _0.,1,Wait(1)
exten => _0.,n,Playback(letters/d&letters/m&letters/r)
exten => _0.,n,SayDigits(${EXTEN:1})
exten => _0.,n, Playback(unavailable)
exten => _0.,n,Hangup()

The dmrtuneTG.sh file I created in /usr/local/sbin/ and I pasted this in there.  This seems to work fine.
#!/bin/bash
# /*
#  * Copyright (C) 2018 N4IRR
#  *
#  * Permission to use, copy, modify, and/or distribute this software for any
#  * purpose with or without fee is hereby granted, provided that the above
#  * copyright notice and this permission notice appear in all copies.
#  *
#  * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
#  * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
#  * AND FITNESS.  IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
#  * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
#  * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
#  * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
#  * PERFORMANCE OF THIS SOFTWARE.
#  */
#
#  Additions by K0TI  March 2019
#   Can be called with 3 paramters TalkGroup DMRNode YES|NO
#   If DMRNode and YES is supplied the talkgroup will be keyed up for 1 second
#   after changing. This allows use of talkgroup changes when ASL node is
#   connected in montor mode
#
###############################
# Python Function to send TalkGroup change to Analog Bridge
##
function tune() {
python - <<END
#!/usr/bin/env python
import sys
import socket
import struct
cmd = "txTg=$1".encode("utf-8")
_sock = socket.socket(socket.AF_INET, socket.SOCK_DGRAM)
cmd = struct.pack("BB", 0x05, len(cmd))[0:2] + cmd
# Set the second value below to match the rxPort in the [AMBE_AUDIO] stanza of Analog_Bridge.ini
_sock.sendto(cmd, ('127.0.0.1', 31100))
_sock.close()
END
}
##########################
#
if [[ $# == 0 || $# == 2 ]]; then
    echo ""
    echo "Usage: $0 TG [ASLNode] [YES|NO]"
    echo "  * TG:       DMR Talkgroup to select"
    echo "  * ASLNode:  ASL node number of DMR channel"
    echo "  * YES|NO:   YES or NO, determines if script keys up"
    echo "              on new talkgroup for 1 second"
    echo ""
    exit 1
fi
#
# Test for valid talkgroup ( TG > 0 && <  16776416)
if ! [[ $1 =~ ^[0-9]+$ && "$1" -gt "0" && "$1" -lt 16776416 ]] ; then
    echo "Invalid Talk Group Number"
    exit 1
fi
# now pass the new talkgroup to Analog_Bridge
echo "Changing Analog Bridge to Talk Group $1"
tune $1
# Test for node number
if [[ -z $2 ]] ; then
    # if no node number supplied just exit
    exit 1
fi
# Test for valid node number (node > 0 &&  < 1000000)
if ! [[ $2 =~ ^[0-9]+$ && "$2" -gt "0" && "$2" -lt "1000000" ]] ; then
    echo "Invalid Node Number"
    exit 1
fi
# If KEY Paramater supplied is YES keyup on talkgroup for 1 second
# Anything other than 'YES' is ignored
if  [[  "$3" == "YES" ]] ; then
    echo "Keying TG $1 on node $2 for 1 second"
    # send 1 second of silence
    /usr/sbin/asterisk -rx "rpt localplay $2 silence/1"
fi
exit

In the rpt.conf file under the functions stanza I put this
96 = autopatchup,context=dmr_tune_tg,noct=1,farenddisconnect=1,dialtime=20000,quiet=1 

I then entered *9631421 to test it on our state tac channel and only got a busy phone continuous tone. 
---------------------
Seeing this in the link sent
; DMR = cmd, /opt/MMDVM_Bridge/dvswitch.sh mode DMR
What does this do and where is it to be put?  Also there is no dvswitch,sh in that folder.  I can add one but need the script to paste in.

What is this -
75 = cmd, /tmp/ssz.sh one two three


Where does this get put -

; context = tgtune               : Override default context with "tgtune"

; dialtime = 90000               : Specify the max number of milliseconds between phone number digits (1000 milliseconds = 1 second)

; farenddisconnect = 1        :   Automatically disconnect when called party hangs up

; noct = 1                             :  Don't send repeater courtesy tone during autopatch calls

; quiet = 1                            :  Don't send dial tone, or conne

 

; Here is the dialplan that will be executed by the above

 

; [tgtune]

; exten = _X.,1,Wait,1

; exten = _X.,n,SayAlpha(dmr,${EXTEN}) ; Say "d m r 3100"

; exten = _X.,n,Wait,3  ; this gives you a chance (3sec) to cancel by hitting the '#' key if incorrect.

; exten = _X.,n,System(/opt/Analog_Bridge/dvswitch.sh tune ${EXTEN}) ; run the script tgtune.sh what a paramater of 3100

; exten = _X.,n,Hangup ; Done, return to normal operation


Not sure what this is or where this gets put -

; dvswitch-demo*CLI> rpt fun 1999 *77

; [Feb  1 13:46:29] NOTICE[536]: app_rpt.c:4084 function_cmd: cmd param =  /tmp/ssz.sh one two three, digitbuf =

 

; root@dvswitch-demo:/tmp# cat out.txt

; /tmp/ssz.sh one two three

; one two three


Re: ASL to DMR Bridge...changing talkgroups

Steve N4IRS
 

On 11/21/21 7:31 PM, John Springman - KB3AWQ via groups.io wrote:
The dmrtuneTG.sh one and the one Autopatch one below below.  I dont have a custom folder i asterisk folder though.


Re: ASL to DMR Bridge...changing talkgroups

John Springman - KB3AWQ
 

The dmrtuneTG.sh one and the one Autopatch one below below.  I dont have a custom folder i asterisk folder though.


Re: ASL to DMR Bridge...changing talkgroups

Brad N8PC
 

What script are you running and how is it configured in your rpt file?


On Sun, Nov 21, 2021, 2:43 AM John Springman - KB3AWQ via groups.io <fpcaptain=yahoo.com@groups.io> wrote:
When I run this script it works fine if I am on the bash shell.  When I add it in the rpt.conf to do it by dtmf, it gives me a busy signal like on the phone and i have to restart to clear it so not sure what may have happened on mine.. 


Re: ASL to DMR Bridge...changing talkgroups

John Springman - KB3AWQ
 

When I run this script it works fine if I am on the bash shell.  When I add it in the rpt.conf to do it by dtmf, it gives me a busy signal like on the phone and i have to restart to clear it so not sure what may have happened on mine.. 


Re: Private Calls - DVSwitch Mobile & Server

gareth@...
 

That's what I thought as well. 

If I'm connected to a 'Classic' DMR server that works perfectly. However on the IPSC2 server i'm on it doesn't.

Ok back to drawing board and playing.... Glad it's not that I've missed something in DVSwitch Server Thanks Steve


Re: DVSwitch voice works just fine on C4FM but it's not allowed on Wires-x

bill richardson
 

Thank you Steve. 


On Nov 18, 2021, at 4:44 PM, Steve N4IRS <szingman@...> wrote:


We are working on YSF. No further info at this time.

Sent by smoke signal (AT&T)

From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of bill richardson <ng1p.bill@...>
Sent: Thursday, November 18, 2021 4:21:34 PM
To: main@DVSwitch.groups.io <main@DVSwitch.groups.io>
Subject: Re: [DVSwitch] DVSwitch voice works just fine on C4FM but it's not allowed on Wires-x
 
I'm seeing this same issue with my DVswitch Mobile setup also. Doing some testing from openspot3 using D-STAR to C4FM I am only heard on the reflector FCS00339 and not heard out over the wires-x repeater (RF side) Using DVswitch Mobile I see the same effect. When I run a hotspot using a Yaesu C4FM radio C4FM to C4FM all works fine. I would love to find a way to get DVswitch working so I'm heard on the RF side of the repeaters. Anyone have any thoughts on how to make this work?

Here is my version output:

/dvswitch.sh version all
dvswitch.sh version 1.6.1
Analog_Bridge version 1.6.4
MMDVM_Bridge version 20210520_V1.6.8 git #3cfcf23
P25Gateway version 20200824
NXDNGateway version 20200824
YSFGateway version 20200908

Thank you Bill NG1P


Re: DVSwitch voice works just fine on C4FM but it's not allowed on Wires-x

Steve N4IRS
 

We are working on YSF. No further info at this time.

Sent by smoke signal (AT&T)


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of bill richardson <ng1p.bill@...>
Sent: Thursday, November 18, 2021 4:21:34 PM
To: main@DVSwitch.groups.io <main@DVSwitch.groups.io>
Subject: Re: [DVSwitch] DVSwitch voice works just fine on C4FM but it's not allowed on Wires-x
 
I'm seeing this same issue with my DVswitch Mobile setup also. Doing some testing from openspot3 using D-STAR to C4FM I am only heard on the reflector FCS00339 and not heard out over the wires-x repeater (RF side) Using DVswitch Mobile I see the same effect. When I run a hotspot using a Yaesu C4FM radio C4FM to C4FM all works fine. I would love to find a way to get DVswitch working so I'm heard on the RF side of the repeaters. Anyone have any thoughts on how to make this work?

Here is my version output:

/dvswitch.sh version all
dvswitch.sh version 1.6.1
Analog_Bridge version 1.6.4
MMDVM_Bridge version 20210520_V1.6.8 git #3cfcf23
P25Gateway version 20200824
NXDNGateway version 20200824
YSFGateway version 20200908

Thank you Bill NG1P


Re: DVSwitch voice works just fine on C4FM but it's not allowed on Wires-x

bill richardson
 

I'm seeing this same issue with my DVswitch Mobile setup also. Doing some testing from openspot3 using D-STAR to C4FM I am only heard on the reflector FCS00339 and not heard out over the wires-x repeater (RF side) Using DVswitch Mobile I see the same effect. When I run a hotspot using a Yaesu C4FM radio C4FM to C4FM all works fine. I would love to find a way to get DVswitch working so I'm heard on the RF side of the repeaters. Anyone have any thoughts on how to make this work?

Here is my version output:

/dvswitch.sh version all
dvswitch.sh version 1.6.1
Analog_Bridge version 1.6.4
MMDVM_Bridge version 20210520_V1.6.8 git #3cfcf23
P25Gateway version 20200824
NXDNGateway version 20200824
YSFGateway version 20200908

Thank you Bill NG1P


Re: DMR Time out

Corey Dean N3FE
 

What is the dmr I’d number the device is using?


On Nov 16, 2021, at 3:06 PM, Steve N4IRS <szingman@...> wrote:

 So, to save me a number of useless messages, what else did you already try?

On 11/16/2021 12:17 PM, Joshua Johnson - KC5JMJ wrote:
did that for both 3102 and 3103 and no time out on the ping for both ran them for an hour


Re: Private Calls - DVSwitch Mobile & Server

Steve N4IRS
 

To make a private call dial the target DMR ID#
3112138#

Steve N4IRS

On 11/16/2021 3:55 PM, gareth@... wrote:
Hello, Just wondering is 'Private Calls' a function that works on DVSwitch Server / Mobile client.

I have my Inrico T320 setup connected to DVSwitch Server and then onwards to an IPSC2 Server (aka DMR+ server) and private calls is the one thing i cant seem to get working.

But i may just be doing something wrong so ......

Any advise most welcomed.

73 Gareth GM0WUR


Private Calls - DVSwitch Mobile & Server

gareth@...
 

Hello, Just wondering is 'Private Calls' a function that works on DVSwitch Server / Mobile client.

I have my Inrico T320 setup connected to DVSwitch Server and then onwards to an IPSC2 Server (aka DMR+ server) and private calls is the one thing i cant seem to get working.

But i may just be doing something wrong so ......

Any advise most welcomed.

73 Gareth GM0WUR

221 - 240 of 10078