Date
1 - 9 of 9
ASL Using DVSWITCH client on android and Anytone 878 radio #analog_bridge #dvs
Stephen Fairfield
.I am running the ASL 2.0 on a SHAri rpi4 NODE. It works fine except for one issue:
If I use 50001 tx and receive ports in AB.ini and in the DVSWITCH mobile client config, I can connect to BM ie TG91 and I hear the audio on that TG91 fine on my android phone in the DVS client, but not on the Radio. If I change AB.ini USRP stanza from 50001/50001 to 32001/34001 and in the DVS config on the phone, I hear the audio on that TG91 fine on the Radio, but nothing in the audio on the DVS phone client. Here is my AB.ini : ; Analog_Bridge configuration file.
; This file should be placed in either /etc or it can be
; supplied as a path on the Analog_Bridge command line.
; The best way to think of this file is that there are two main sections, the USRP (analog audio) and
; AMBE_AUDIO (compressed audio). Analog_Bridge will take everything sent to the USRP port andsystemctl status analog_bridge19
; encode it for transmission on the AMBE_AUDIO port. The encoder will use the format defined in ambeMode.
; As you might expect, the reverse direction is defined too.
; Analog_Bridge supports include files. More on this later...
include = dvsm.macro
; include = asl.macro
; General Section describes settings for Analog_Bridge itself.
[GENERAL]
logLevel = 2 ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
; Metadata management
exportMetadata = true ; Export metadata to USRP partner (transcode setups require this)
transferRootDir = /tmp ; Export database files to USRP partner
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv ; DMR ID to callsign lookup data
; General vocoder setup information
decoderFallBack = true ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = true ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470 ; IP address and port of the md380 server
;pcmPort = 2222 ; UDP port to send to the WebProxy saf
; Information for xx_Bridge (Where xx is MMDVM, Quantar, HB, IPSC)
[AMBE_AUDIO]
address = 127.0.0.1 ; IP address of xx_Bridge
txPort = 31103 ; Transmit TLV frames to partner on this port
rxPort = 31100 ; Listen for TLV frames from partner on this port
ambeMode = DMR ; DMR, DMR_IPSC, DSTAR, NXDN, P25, YSFN, YSFW (encode PCM to this format)
minTxTimeMS = 2500 ; Analog -> Digital Minimum time in MS for hang delay (0-10000)
; The metadata below is used when ASL is the source since it does not have any concept of digital modes
gatewayDmrId = 3172638 ; ID to use when transmitting from Analog_Bridge 7 digit ID
repeaterID = 317263811 ; ID of source repeater 7 digit ID plus 2 digit SSID
txTg = 317263 ; TG to use for all frames sent from Analog_Bridge -> xx_Bridge
txTs = 2 ; Slot to use for frames sent from Analog_Bridge -> xx_Bridge
colorCode = 1 ; Color Code to assign DMR frames
; Information for USRP channel driver. This interface uses PCM to transfer audio information
; There are two typical configurations, ASL and Transcode. ASL (AllstarLink) is for analog clients connected
; to a digital network. Transcode is when Analog_Bridge actually points its PCM interfaces back at itself,
; causing a TLV <-- (pcm <--> pcm) --> TLV type of architecture.
; When using ASL, this matches the rpt.conf ASL file with a setting like:
; rxchannel = usrp/127.0.0.1:34001:32001
; When Transcoding, make two ini files and set txPort equal to the other instance rxPort (crossover). Launch
; each instance with its own ini file.
[USRP]
address = 127.0.0.1 ; IP address of USRP partner (Analog_Reflector, Allstar/Asterisk or another Analog_Bridge)
;txPort = 50001 ; Transmit USRP frames on this port
;rxPort = 50001 ; Listen for USRP frames on this port
txPort = 32001 ; Transmit USRP frames on this port
rxPort = 34001 ; Listen for USRP frames on this port
usrpAudio = AUDIO_USE_GAIN ; Digital -> Analog (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_USE_AGC)
usrpGain = 4.00 ; Gain factor when usrpAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)
usrpAGC = -20,10,100 ; Set the agc threshold (db), slope (db) and decay (ms)
tlvAudio = AUDIO_USE_GAIN ; Analog -> Digital (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.25 ; Gain factor when tlvAudio = AUDIO_USE_GAIN (0.0 to 5.0) (1.0 = AUDIO_UNITY)
[MACROS]
; Where the macros are
; xxxx=yyyy
; xxxx is the dial string to match
; yyyy is the command line to execute
; xxxx must be preceded by a *
; xxxx can be any string (alphanumeric)
; yyyy is the command to execute
; yyyy will replace xxxx in the dial string
; arguments follow the macro name with a # delimiter
; For example using macro "5678" above would look like:
; *5678#9876
; Which would invoke:
; echo 9876
; Information for DV3000 hardware decoder
; There are two configuration modes: IP (AMBEServer) and serial (direct connect hardware)
; Use top server and port if using AMBEServer
; Use bottom server/port and serial = true if using the DV3000u (thumbdv)
; Did you run AMBETest4.py before using this?
;[DV3000]
; address = 127.0.0.1 ; IP address of AMBEServer
; rxPort = 2460 ; Port of AMBEServer
; address = /dev/ttyUSB0 ; Device of DV3000U on this machine
; baud = 460800 ; Baud rate of the dongle (230400 or 460800)
; serial = true ; Use serial=true for direct connect or serial=false for AMBEServer
[DV3000]
address = 127.0.0.1 ; IP address of AMBEServer
rxPort = 2460 ; Port of AMBEServer
; address = /dev/ttyUSB0 ; Device of DV3000U on this machine
; baud = 460800 ; Baud rate of the dongle (230400 or 460800)
; serial = true ; Use serial=true for direct connect or serial=false for AMBEServer
Can you please help ? N1SAF Steve
|
|
Have you tried anyother TG or parrot?
toggle quoted messageShow quoted text
On 7/1/21 11:42 AM, Stephen Fairfield
wrote:
.I am running the ASL 2.0 on a SHAri rpi4 NODE. It works fine except for one issue:
|
|
Fairfieldsteve@...
Yes same issue
73 N1saf Steve
|
|
Are you on the same LAN? Is the Server exposed to the outside world?
toggle quoted messageShow quoted text
|
|
Fairfieldsteve@...
Yes same LAN. Yes I can access from outside localLAN using public address.
Steve
|
|
toggle quoted messageShow quoted text
On 7/2/21 7:24 AM,
Fairfieldsteve@... wrote:
Yes same LAN. Yes I can access from outside localLAN using public address.
|
|
Fairfieldsteve@...
Done restarted AB
Sent email
|
|
toggle quoted messageShow quoted text
On 7/2/21 7:24 AM,
Fairfieldsteve@... wrote:
Yes same LAN. Yes I can access from outside localLAN using public address.
|
|
Stephen Fairfield
I have Analog_Reflector working. Lotsa new "stuff" to configure tho. I have used with the HUC client and also on my analog phone with dvs mobile. I have not tried it yet with my analog Radio connection from the 878UV to my SHARI node.
Thank you for all your help Steve. You ROCK !!! 73s N1SAF - Steve
|
|