Re: Controlling DVSwitch from AllStar

Steve N4IRS

I'm working out a issue with changing TGs now. I hope you have been using to control the server. If you have not, you need to be. was built for just this thing in mind. I have to do a updated write up but here is most of it in message form. First, let's make sure you have the private node setup to work best with DVSwitch.
These are the recommended settings you should have. You may have other parameters:

rxchannel = USRP/  ; Use the USRP channel driver. Must be enabled in modules.conf
                    ; = IP of the target application
                    ; 34001 = UDP port the target application is listening on
                    ; 32001 = UDP port ASL is listening on

duplex = 0          ; 0 = Half duplex with no telemetry tones or hang time. Ah, but Allison STILL talks!

hangtime = 0        ; squelch tail hang time 0
althangtime = 0     ; longer squelch tail hang time 0

holdofftelem = 1    ; Hold off all telemetry when signal is present on receiver or from connected nodes
                    ; except when an ID needs to be done and there is a signal coming from a connected node.

telemdefault = 0    ; 0 = telemetry output off. Don't send Allison to DMR !!!!!!!!!!!!!!!!! Trust me.

telemdynamic = 0    ; 0 = disallow users to change the local telemetry setting with a COP command,

linktolink = no     ; disables forcing physical half-duplex operation of main repeater while
                    ; still keeping half-duplex semantics (optional)

nounkeyct = 1       ; Set to a 1 to eliminate courtesy tones and associated delays.

totime = 180000     ; transmit time-out time (in ms) (optional, default 3 minutes 180000 ms)

idrecording = |ie   ; id recording or morse string see
idtalkover = |ie    ; Talkover ID (optional) default is none see

Now, lets add some commands to control the modes from ASL. Add this to your [functions stanza]. I chose 0 as a first character since it's not used in the default ASL.

; mode commands sent via DTMF
00 = cmd, /opt/MMDVM_Bridge/ ; unused
01 = cmd, /opt/MMDVM_Bridge/ ; unused
02 = cmd, /opt/MMDVM_Bridge/ ; unused
03 = cmd, /opt/MMDVM_Bridge/ tune unlink  ; Unlink from last TG / reflector
04 = cmd, /opt/MMDVM_Bridge/ mode DMR
05 = cmd, /opt/MMDVM_Bridge/ mode DSTAR
06 = cmd, /opt/MMDVM_Bridge/ mode YSF
07 = cmd, /opt/MMDVM_Bridge/ mode P25
08 = cmd, /opt/MMDVM_Bridge/ mode NXDN

To dial a TG number or reflector number, we need to pass a arbitrary number of string to

; This nice simple one line function (and dialplan) was written by Mike KB8JNM. It will allow you to pass arbitrary string of digits to a external script for processing.
; We are going to use this to pass a TG or reflector number (DMR, NXDN, P25 YSF) to Analog_Bridge so that you can change the TG you are connected to from the DTMF pad on your analog
; radio. Example: If you dial *093100 (read this as *09 3100) you can tell to tune to TG 3100 on the current digital mode.


Add this to extensions.conf This is a work in progress and I will post a update when I'm ready.

exten = _X.,1,noop ; Wait,1
exten = _X.,n,System(/opt/MMDVM_Bridge/ mute TLV)
exten = _X.,n,System(/opt/MMDVM_Bridge/ tune ${EXTEN})
exten = _X.,n,System(/opt/MMDVM_Bridge/ mute OFF)
exten = _X.,n,Hangup

On 11/8/2020 11:13 PM, Tony Langdon wrote:
I've installed an instance of DVSwitch on my AllStar node, and I've been
able to link it to Brandmeister and select talkgroups from the commend
line.  I'm yet to get it working via AllStar commands.  The USRP
interface is working well.  I have it running on a private node, so I
can isolate the digital gateway from the node, when it's not in use by
disconnecting the private node from my main AllStar node.

In addition to getting the AllStar side working (for future control from
remote stations), I'd also like to be able to link to the other modes -
YSF, P25, etc, again ideally using DTMF comands.

Is there any documentation that I can look up?  I am running ASL and
DVSwitch on a Debian 9 PC.

Join to automatically receive all group messages.