Re: Analog_Bridge, one-way audio from DMR to ASL


Patrick Perdue
 

3138495, but not sure that it matters.

I have it working in both directions on my VPS, where Analog_Bridge is connecting to a remote AMBE server. The problem with that setup is Analog_Bridge likes to stop passing audio after a while, which is why I'm trying to set DVSwitch up locally on a Pi, and have it connect to a remote USRP/ASL, rather than using DVSwitch on the VPS, and relying on a remote AMBEserver.

The Raspberry Pi is behind NAT with incoming UDP port 34001, but nothing from ASL ever makes it to my Analog_Bridge. Outbound traffic from DMR to ASL works fine.


On 11/17/2019 2:31 PM, Brad NK8J wrote:

What is your dmr id number. I had mine original 1139899 and had to upgrade it to the 3146521 to make mine work

On Sun, Nov 17, 2019, 9:10 AM Patrick Perdue <patrick@...> wrote:
Hmm...

That doesn't make sense to me, because then the TX and RX ports match on
both MMDVM_Bridge and Analog_Bridge. TX should go to RX of the other,
which is how it is by default.

I did try it, which caused nothing to pass in either direction.


On 11/17/2019 8:16 AM, Brad N8PC wrote:
> in your Analog_Bridge.ini file turn your txPort and rxPort around.
>
> txPort =31100
> rxPort=31103
>
>
>
> On 11/17/2019 12:45 AM, Patrick Perdue wrote:
>> Hi:
>> In moving my DVSwitch to a local Raspberry Pi 4 rather than running
>> it on the VPS, connecting to a remote AMBEserver, I'm running into a
>> problem.
>>
>> I now have audio going from DMR to USRP, but not the other way. It is
>> bi-directional when running DVSwitch on the VPS.
>>
>> Looking at the logs for Analog_Bridge, it doesn't appear to get audio
>> from ASL, as there is nothing in the log when there is a transmission
>> from Allstar.
>>
>>
>> In rpt.conf, I have:
>>
>> rxchannel = USRP/0.0.0.0:34001:32001; GNU Radio interface USRP
>>
>> In Analog_Bridge.ini:
>>
>> [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)
>> [USRP]
>> address = xlx.borris.me                     ; 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
>>
>>
>> In DVSwitch.ini:
>>
>> [DMR]
>> Address = 127.0.0.1             ; Address to send AMBE TLV frames to
>> (export)
>> TXPort = 31100                  ; Port to send AMBE TLV frames to
>> (export)
>> RXPort = 31103                  ; Port to listen on (import)
>> Slot = 2                        ; Export slot
>>
>>
>> Here is a full log from Analog_Bridge. During this period, there were
>> several Allstar transmissions, but they didn't make it to the log.
>> Only DMR is seen.
>>
>>
>> I: 2019-11-17 05:23:55.512 Analog Bridge Version 1.4.1 Mon Nov 11
>> 19:06:12 UTC 2019
>> I: 2019-11-17 05:23:55.513 Copyright (C) 2018 DVSwitch, INAD.
>> I: 2019-11-17 05:23:55.513 Created by Mike N4IRR and Steve N4IRS
>> I: 2019-11-17 05:23:55.513 Analog Bridge comes with ABSOLUTELY NO
>> WARRANTY
>> I: 2019-11-17 05:23:55.513
>> I: 2019-11-17 05:23:55.513 This software is for use on amateur radio
>> networks only,
>> I: 2019-11-17 05:23:55.513 it is to be used for educational purposes
>> only. Its use on
>> I: 2019-11-17 05:23:55.513 commercial networks is strictly prohibited.
>> I: 2019-11-17 05:23:55.513
>> I: 2019-11-17 05:23:55.513 Analog Bridge is starting
>> M: 2019-11-17 05:23:55.513 Setting [GENERAL] logLevel -> 2
>> M: 2019-11-17 05:23:55.513 Setting [GENERAL] subscriberFile ->
>> /var/lib/dvswitch/subscriber_ids.csv
>> M: 2019-11-17 05:23:55.513 Setting [GENERAL] exportMetadata -> true
>> M: 2019-11-17 05:23:55.514 Setting [GENERAL] decoderFallBack -> true
>> M: 2019-11-17 05:23:55.514 Setting [GENERAL] useEmulator -> false
>> M: 2019-11-17 05:23:55.514 Setting [GENERAL] emulatorAddress ->
>> 127.0.0.1:2470
>> M: 2019-11-17 05:23:55.514 Setting [AMBE_AUDIO] address -> 127.0.0.1
>> M: 2019-11-17 05:23:55.514 Setting [AMBE_AUDIO] txPort -> 31103
>> M: 2019-11-17 05:23:55.514 Setting [AMBE_AUDIO] rxPort -> 31100
>> M: 2019-11-17 05:23:55.514 Setting [AMBE_AUDIO] ambeMode -> DMR
>> M: 2019-11-17 05:23:55.514 Setting [AMBE_AUDIO] minTxTimeMS -> 2500
>> M: 2019-11-17 05:23:55.514 Setting [AMBE_AUDIO] gatewayDmrId -> 3138495
>> M: 2019-11-17 05:23:55.514 Setting [AMBE_AUDIO] repeaterID -> 3154444
>> M: 2019-11-17 05:23:55.514 Setting [AMBE_AUDIO] txTg -> 31679
>> M: 2019-11-17 05:23:55.514 Setting [AMBE_AUDIO] txTs -> 2
>> M: 2019-11-17 05:23:55.514 Setting [AMBE_AUDIO] colorCode -> 1
>> M: 2019-11-17 05:23:55.514 Setting [USRP] address -> xlx.borris.me
>> M: 2019-11-17 05:23:55.514 Setting [USRP] txPort -> 32001
>> M: 2019-11-17 05:23:55.514 Setting [USRP] rxPort -> 34001
>> M: 2019-11-17 05:23:55.514 Setting [USRP] usrpAudio -> AUDIO_UNITY
>> M: 2019-11-17 05:23:55.515 Setting [USRP] usrpGain -> 1.10
>> M: 2019-11-17 05:23:55.515 Setting [USRP] tlvAudio -> AUDIO_UNITY
>> M: 2019-11-17 05:23:55.515 Setting [USRP] tlvGain -> 0.35
>> M: 2019-11-17 05:23:55.515 Setting [DV3000] address -> 127.0.0.1
>> M: 2019-11-17 05:23:55.515 Setting [DV3000] rxPort -> 2460
>> I: 2019-11-17 05:23:55.515 Open UDP listener on 127.0.0.1:31100
>> I: 2019-11-17 05:23:55.515 Open USRP on xlx.borris.me:32001
>> M: 2019-11-17 05:23:55.515 Connecting to DV3000 hardware......
>> M: 2019-11-17 05:23:55.535 Begin DV3000 decode
>> I: 2019-11-17 05:23:55.930 Subscriber IDs loaded: 146120
>> I: 2019-11-17 05:23:55.930 Default extended metadata <KE4DYI>
>> I: 2019-11-17 05:23:55.931 Using hardware AMBE vocoder
>> I: 2019-11-17 05:23:55.934 Connected to USRP xlx.borris.me:32001
>> I: 2019-11-17 05:23:55.935 Starting TLV --> Analog_Bridge (decoder)
>> --> USRP thread
>> I: 2019-11-17 05:23:55.935 Starting USRP --> Analog_Bridge (encoder)
>> -> TLV thread
>> I: 2019-11-17 05:24:06.913 Begin TX: src=3138495 rpt=0 dst=31679
>> slot=2 cc=0 call=KE4DYI
>> I: 2019-11-17 05:24:39.132 Begin TX: src=3138495 rpt=0 dst=31679
>> slot=2 cc=0 call=KE4DYI
>> I: 2019-11-17 05:24:58.271 Signal 2 received, exiting Analog_Bridge
>>
>> What am I missing here?
>>
>> Thanks and 73
>>
>> de
>>
>> KE4DYI
>>
>>
>>
>>
>
>
>



Join main@DVSwitch.groups.io to automatically receive all group messages.