Re: Analog_Bridge.ini

Steven Blackford


  I’ve setup several of these ASL<->DMR bridges now.  Personally, I try to keep the “bridges” setup on “Private” nodes & then have them auto connect to your public node on startup once you have everything working properly.  The startup macro works great for this.  I do this so just in case a problem arises, you can always disconnect the “Private Node,” from your public node & it’s still available for people to use.  In my instance, I have my primary node 46626 as a public facing node & I tie the ASL<->DMR Bridge to a private node 1999 or 1998.     Take care & 73 de K4SQI!


Steve, K4SQI


From: Jeff Carrier
Sent: Thursday, May 31, 2018 10:18 AM
Subject: Re: [DVSwitch] Analog_Bridge.ini


Thanks Steve, 


I guess I scanned through the op too quickly and didn't catch that.


On Thu, May 31, 2018 at 7:37 AM Steve N4IRS <szingman@...> wrote:

You can't run USRP and Simple USB in the same node stanza at the same time. Each node stanza has a unique rxchannel.
It should look something like this:

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

rxchannel = SimpleUSB/usb_1998    ; SimpleUSB

Same box, no problem. Same node stanza, problem.


On 5/31/2018 9:30 AM, Jeff Carrier wrote:



You mentioned something yesterday that created a question in my mind.  You said USRP and SimpleUSB can't run together on the same box.  I'm assuming that has something to do with those two channel drivers in asterisk.  My install seems to be fine less the complaints about "digital sounding audio" but I'm running Analog_Bridge, MMDVM_Bridge and P25Gateway on the same Pi as an allstar node with URIx connected running DSP.  It seems fine but does this have the potential to cause erratic behavior?


On Thu, May 31, 2018 at 7:20 AM Steve N4IRS <szingman@...> wrote:

We are working to simplify and standardize the configuration files across all the Partner programs. Analog_Bridge.ini is one of the oldest and needs a little facelift to better match the other partners. Though some of the parameter names are changing, the old names will be supported for a while. If you are still using the older names, you will get a warning in the Analog_Bridge log. Your configuration will continue to operate as before. I have bolded the changes parameters Here is the updated Analog_Bridge.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 and
; 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.

; General Section describes settings for Analog_Bridge itself.
logLevel = 2                            ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal

; Metadata management
subscriberFile = ./subscriber_ids.csv   ; DMR ID to callsign lookup data
exportMetadata = true                   ; Export metadata to USRP partner (transcode setups require this)

; General vocoder setup information
decoderFallBack = false                 ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = false                     ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress =        ; IP address and port of the md380 server

; Information for xx_Bridge (Where xx is MMDVM, Quantar, HB, IPSC)
address =                     ; IP address of xx_Bridge
txPort = 31003                          ; Transmit TLV frames to partner on this port
rxPort = 31000                          ; 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 = 2000                      ; 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 = 0                        ; ID to use when transmitting from Analog_Bridge
repeaterID = 0                          ; ID of source repeater
txTg = 9                                ; 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/
;   When Transcoding, make two ini files and set txPort equal to the other instance rxPort (crossover).  Launch
;   each instance with its own ini file.
address =                     ; IP address of USRP partner (Allstar/Asterisk or another Analog_Bridge)
txPort = 32001                          ; Transmit USRP frames on this port
rxPort = 34001                          ; Listen for USRP frames on this port
aslAudio = AUDIO_UNITY                  ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
agcGain = -20                           ; Gain (in db) of the AGC filter
dmrAudio = AUDIO_UNITY                  ; Audio from ASL (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
dmrGain = 0.35                          ; Gain factor of audio from ASL (0.0-1.0)

; 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 before using this?
address =                     ; 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



Join to automatically receive all group messages.