Date   

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


Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

I cleaned some of the early ASL DAHDI troubleshoot messages out of the thread (86 messages) I hope someone reading the thread will learn some things.

Steve N4IRS

On 8/10/20 8:38 PM, Tom wrote:
Steve,
The Host files are in ./ . I copied the P25Hosts.ini from /var/lib/mmdvm and the Private_P25Hosts is there; but empty.

By commenting out the RptAddress , it seems to have fixed the remaining issues. THANK YOU. I still need to set audio levels, but that should be easy.

A final couple of questions:
1)     Why remove the RptAddress (what is the significance / purpose of that param)?
2)     What are valid settings for InactivityTimeout ?   I assume it is in units of minutes. Is a value of 0 valid ? Does that set it to infinity?
3)     How is Parrot used in MB ?
4)     How can I change the reflector connection (on the fly)?  Do I need to rewrite the P25Gateway.ini and restart the service?

Thanks again,
Tom


Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

Inline

A general comment, most of the default values are setup for the more common connectivity. Most of the default values will "just work" Off the top of my head AB <-> P25 only needed changes in AB.ini.

On 8/10/20 8:38 PM, Tom wrote:
Steve,
The Host files are in ./ . I copied the P25Hosts.ini from /var/lib/mmdvm and the Private_P25Hosts is there; but empty.

By commenting out the RptAddress , it seems to have fixed the remaining issues. THANK YOU. I still need to set audio levels, but that should be easy.

A final couple of questions:
1)     Why remove the RptAddress (what is the significance / purpose of that param)?
RptAddress is valid in the [General] stanza, not in the network stanza
2)     What are valid settings for InactivityTimeout ?   I assume it is in units of minutes. Is a value of 0 valid ? Does that set it to infinity?
Yes, it's in minutes. 0=no timeout
3)     How is Parrot used in MB ?
Its not, it used by the Gateway
4)     How can I change the reflector connection (on the fly)?  Do I need to rewrite the P25Gateway.ini and restart the service?
No, you can used dvswitch.sh tune 10200 to tune to NA. (BTW, no Analog to P25 bridges on NA)
run dvswitch.sh without parameters will show you what it can do. It's very capable.

73, Steve N4IRS

Thanks again,
Tom


Re: ASL to P25 bridge #analog_bridge

Tom
 

Steve,
The Host files are in ./ . I copied the P25Hosts.ini from /var/lib/mmdvm and the Private_P25Hosts is there; but empty.

By commenting out the RptAddress , it seems to have fixed the remaining issues. THANK YOU. I still need to set audio levels, but that should be easy.

A final couple of questions:
1)     Why remove the RptAddress (what is the significance / purpose of that param)?
2)     What are valid settings for InactivityTimeout ?   I assume it is in units of minutes. Is a value of 0 valid ? Does that set it to infinity?
3)     How is Parrot used in MB ?
4)     How can I change the reflector connection (on the fly)?  Do I need to rewrite the P25Gateway.ini and restart the service?

Thanks again,
Tom


Re: ASL to P25 bridge #analog_bridge

Steve N4IRS
 

OK,
So, P25Gateway is not too chatty.
Do you have the entry for 10888 in both private and public host file?

Change P25Gateway.ini to this:

[General]
Callsign=K5TRA
RptAddress=127.0.0.1
# RptAddress=192.168.0.188
RptPort=32010
LocalPort=42020
Announcements=1
Daemon=0

[Id Lookup]
Name=/var/lib/mmdvm/DMRIds.dat
Time=24

[Log]
FilePath=/var/log/mmdvm
FileRoot=P25Gateway

[Network]
# Port=41000
Port=42010
HostsFile1=./P25Hosts.txt <------------------ Do these files exist in this location?
HostsFile2=./Private_P25Hosts.txt <------------------ Do these files exist in this location?
ReloadTime=60
# RptAddress=192.168.0.188 <---------------------- Remove this
# ParrotAddress=192.168.0.188
# RptAddress=127.0.0.1
ParrotAddress=127.0.0.1
ParrotPort=42011
Startup=10888
# Startup=10100
InactivityTimeout=0
# InactivityTimeout=10
Debug=0


On 8/10/20 7:59 PM, Tom wrote:
I'm back from dinner.


Re: ASL to P25 bridge #analog_bridge

Tom
 

I'm back from dinner.

2941 - 2960 of 9925