Date   

Re: [Quantar-Bridge] ASL <-> P25 howto document

Steve N4IRS
 

I have posted the updated document.


Re: Audio stream of DMR talkgroup.

Steve N4IRS
 

AB log path is set in the environment. Normally set by the systemd unit file. You can do that by:
AnalogBridgeLogDir=/var/log/dvswitch ; Analog_Bridge Analog_bridge.ini

On 8/12/20 9:12 PM, Steve Siesel [K4KSA] wrote:
I've got everything ready to go, however I have one more question

I could not find a filepath= in Analog_Bridge to set a separate and different path for the second instance of Analog Bridge. Is there a way to send the log to a different location?


Re: Audio stream of DMR talkgroup.

Steve Siesel [K4KSA]
 

I've got everything ready to go, however I have one more question

I could not find a filepath= in Analog_Bridge to set a separate and different path for the second instance of Analog Bridge. Is there a way to send the log to a different location?


Re: Audio stream of DMR talkgroup.

Steve N4IRS
 

Steve,
You can't (don't need to) use apt-get.
You just need to copy the file/directory.
For example to copy the whole Analog_Bridge directory:
cd /opt
cp -rf Analog_Bridge Analog_Bridge2
Do the same for MMDVM_Bridge and md380-emu.
As JJ said, you are going to need to use different ports.

Steve

On 8/12/20 8:17 PM, Steve Siesel [K4KSA] wrote:
Thanks,

What is the apt-get command to install dvswitch as a second instance? To place it in a directory where I want it?


Re: Audio stream of DMR talkgroup.

Steve Siesel [K4KSA]
 

Thanks,

What is the apt-get command to install dvswitch as a second instance? To place it in a directory where I want it?


Re: Audio stream of DMR talkgroup.

JJ Cummings
 

Yes you can do that, the ports just have to be unique for the audio channels.

Sent from the iRoad

On Aug 12, 2020, at 17:30, Steve Siesel [K4KSA] <steve@...> wrote:

All,

I currently run ASL<>DMR in a Raspberry Pi that Includes ASL <>Analog Bridge<> MMDVM Bridge. Can I add another Private node in my existing ASL (Maybe 1998), and then add a second instance of Analog Bridge and MMDVM Bridge then install Lame and ezstream to send a DMR talk group to Broadcastify?  Does that sound like the best way?

Steve
K4KSA


Re: Audio stream of DMR talkgroup.

Steve Siesel [K4KSA]
 

All,

I currently run ASL<>DMR in a Raspberry Pi that Includes ASL <>Analog Bridge<> MMDVM Bridge. Can I add another Private node in my existing ASL (Maybe 1998), and then add a second instance of Analog Bridge and MMDVM Bridge then install Lame and ezstream to send a DMR talk group to Broadcastify?  Does that sound like the best way?

Steve
K4KSA


Re: [Quantar-Bridge] ASL <-> P25 howto document

Tom
 

Stephen, you are correct. I was a little too fast cutting and pasting text and swapped the order. I have sent the updated pdf to Steve for posting. ‘Hope it helps others.

Regards,

Tom / K5TRA


Re: [Quantar-Bridge] ASL <-> P25 howto document

Stephen Brown - K1LNX
 

Looks great! Thanks Tom! 

One correction I think needs to be added however (unless I've missed it myself), this should be added on page 11 after the "cd /tmp" step: 

wget http://dvswitch.org/install-dvswitch-repo 

73
Stephen
K1LNX 


On Wed, Aug 12, 2020 at 2:30 PM Steve N4IRS <szingman@...> wrote:
Thanks to Tom, K5TRA we have a new instruction document. <https://dvswitch.groups.io/g/main/files/P25-AB%20K5TRA.pdf>
The document will help you build an ASL <-> P25 Bridge (includes a P25 Reflector) This is a no frills document. Tom shows you what files to edit and what fields to change. Includes some basic troubleshooting tips.

I like the simplicity of this. One of my favorite parts is that Tom ONLY changes the fields that need to change. Nothing more. Since the covers Analog_Bridge, MMDVM_Bridge and P25Gateway this is a good document for anyone bridging to P25 or connecting a Quantar to the P25 MMDVM Network for that matter. The document highlights one of the most basic principles of DVSwitch. That is the fact that most of the default settings just work. You don't have to edit every field in every file. If you understand the basic concept of DVSwitch you can get up and running pretty quickly. I'll leave it at this since it tells most everything you need to know:

 

A very large thank you to Tom for taking the time to create the document.


ASL <-> P25 howto document

Steve N4IRS
 

Thanks to Tom, K5TRA we have a new instruction document. <https://dvswitch.groups.io/g/main/files/P25-AB%20K5TRA.pdf>
The document will help you build an ASL <-> P25 Bridge (includes a P25 Reflector) This is a no frills document. Tom shows you what files to edit and what fields to change. Includes some basic troubleshooting tips.

I like the simplicity of this. One of my favorite parts is that Tom ONLY changes the fields that need to change. Nothing more. Since the covers Analog_Bridge, MMDVM_Bridge and P25Gateway this is a good document for anyone bridging to P25 or connecting a Quantar to the P25 MMDVM Network for that matter. The document highlights one of the most basic principles of DVSwitch. That is the fact that most of the default settings just work. You don't have to edit every field in every file. If you understand the basic concept of DVSwitch you can get up and running pretty quickly. I'll leave it at this since it tells most everything you need to know:

 

A very large thank you to Tom for taking the time to create the document.


Re: dvswitch.sh info - no output

Steve N4IRS
 

If you are trying to troubleshoot, check Analog_Bridge.log when you issue the command.

On 8/11/2020 10:38 PM, Tom Corcoran wrote:
Got it. So no messages.

tnx 
--
Tom VE3NY


Re: dvswitch.sh info - no output

Tom Corcoran
 

Got it. So no messages.

tnx 
--
Tom VE3NY


Re: dvswitch.sh info - no output

Steve N4IRS
 

info                          Update ABInfo and send to DVSM/UC
This command refreshes the ABinfo file in /tmp and sends the data to a connected client (DVSwitch Mobile / pyUC)

On 8/11/20 4:42 PM, Tom Corcoran wrote:
When I use the following command I see no message on the DVSM or the DVS ssh session

./dvswitch.sh info

Is the output directed somewhere else? Or is there output

./dvswitch.sh show works as it should.

--

Tom VE3NY


dvswitch.sh info - no output

Tom Corcoran
 

When I use the following command I see no message on the DVSM or the DVS ssh session

./dvswitch.sh info

Is the output directed somewhere else? Or is there output

./dvswitch.sh show works as it should.

--

Tom VE3NY


Re: asl.macro documentation / examples #analog_bridge

Steve N4IRS
 

Yes you need cmd (copy and paste error)
It's in the same place as your 997 [functions] off the top of my head.

On 8/11/2020 11:43 AM, Tom wrote:
Yes, I looked at the dvswitch.sh yesterday. Pretty cool. My question is implementation from ASL.

I typically call shell scripts with a function in the following way: 
997=cmd, /usr/local/sbin/on_normal.sh           ; Set ON_normal state

1)  Are you saying that I don't need       cmd,   preceeding the path/file ?
2)  Is the dvswitch.sh call in the [functions] or [macro] stanza ?

Tom


Re: asl.macro documentation / examples #analog_bridge

Tom
 

Yes, I looked at the dvswitch.sh yesterday. Pretty cool. My question is implementation from ASL.

I typically call shell scripts with a function in the following way: 
997=cmd, /usr/local/sbin/on_normal.sh           ; Set ON_normal state

1)  Are you saying that I don't need       cmd,   preceeding the path/file ?
2)  Is the dvswitch.sh call in the [functions] or [macro] stanza ?

Tom


Re: asl.macro documentation / examples #analog_bridge

Steve N4IRS
 

For what you are doing, you will use the macro functions to run a external program. That program is dvswitch.sh If you run dvswitch.sh without any parameters:

root@dvswitch:/var/www/html# /opt/Analog_Bridge/dvswitch.sh
Usage:
/opt/Analog_Bridge/dvswitch.sh
         { version | mode | tune | ambesize | ambemode | slot | update | tlvAudio | usrpAudio | usrpCodec | tlvPorts |
           info | show | lookup | mute | message | macro |
           pushfile | collectProcessDataFiles | collectProcessPushDataFiles | pushurl | collectProcessPushDataFilesHTTP }
         version {AB|MB|ALL}                             Show version of dvswitch.sh, Analog_Bridge or MMDVM_Bridge
         mode {DMR|NXDN|P25|YSF|DSTAR}                   Set Analog_Bridge digital mode
         tune tg                                         Tune to specific TG/Reflector
         ambesize {72|88|49}                             Set number of bits for ambe data
         ambemode {DMR|NXDN|P25|YSFN|YSFW|DSTAR}         Set AMBE mode
         slot {1|2}                                      Set DMR slot to transmit on
         update                                          Update callsign and host databases
         tlvAudio mode gain                              Set AMBE audio mode and gain
         usrpAudio mode gain                             Set PCM audio mode and gain
         usrpAgc threshold slope decay                   Set PCM audio agc threshold slope and decay
         usrpCodec {SLIN|ULAW|ADPCM}                     Set AB -> DVSM/UC audio codec
         tlvPorts rxport txport                          Set Analog_Bridge receive and transmit ports
         info                                            Update ABInfo and send to DVSM/UC
         show                                            Pretty print the ABInfo json file
         lookup                                          Lookup a DMR ID/call in the local database
         mute {OFF|USRP|TLV|BOTH}                        Cause Aanlog_Bridge to mute a stream
         message msg                                     Send a text message to DVSM/UC
         macro {file|text}                               Send a macro collection to DVSM
         pushfile file                                   Push file to DVSM
         pushurl url                                     Push URL to DVSM
         collectProcessDataFiles                         Collect and prepare DVSM data files
         collectProcessPushDataFiles                     Collect, prepare and upload DVSM data files
         collectProcessPushDataFilesHTTP                 Collect, prepare and upload DVSM data files over http
         reloadDatabase                                  Tell AB to reload database files into memory
         getEnabledModes                                 Return the list of enabled modes in MB.ini

for example you would create a macro to run a external program in rpt.conf
73 = /opt/MMDVM_Bridge/dvswitch.sh tune 10200

dvswitch.sh would tell AB and MB to change TG to 10200

dvswitch.sh update
dvswitch.sh would download all the host files and databases needed to /var/lib/dvswitch and /var/lib/mmdvm

Steve N4IRS
 

On 8/11/2020 10:43 AM, Tom wrote:
ASL to control. I see provisions for that in the files; but no detail.


Re: asl.macro documentation / examples #analog_bridge

Tom
 

ASL to control. I see provisions for that in the files; but no detail.


Re: asl.macro documentation / examples #analog_bridge

Steve N4IRS
 

Are you talking about using DVSwitch Mobile with ASL or controlling AB/MB from ASL?

On 8/11/2020 10:22 AM, Tom wrote:
Where do I find asl.macro documantation and examples ?
Tom  / K5TRA


asl.macro documentation / examples #analog_bridge

Tom
 

Where do I find asl.macro documantation and examples ?
Tom  / K5TRA

2081 - 2100 of 9070