Date
1 - 20 of 21
Multiple private nodes one cloud server using DVSwitch Mobile - Audio Issues. #brandmeister #mmdvm_bridge #analog_bridge
Willie Sandin
So I copied from another location and replaced the DVSwitch.ini file and edited the two ports. And it is working now. No clue what caused the issue, but it is working again!
|
|
Willie Sandin
It is. That is what is weird.
M: 2020-09-01 22:52:07.350 DMR, Opening INI file: DVSwitch.ini ... E: 2020-09-01 22:52:07.350 DMR, ini file "DVSwitch.ini" was not found. Fatal error exiting
|
|
It says it can't find the file are you sure it's in the same directory?
From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Willie Sandin <dwsandin@...>
Sent: Tuesday, September 1, 2020 7:10:16 PM To: main@DVSwitch.groups.io <main@DVSwitch.groups.io> Subject: Re: [DVSwitch] Multiple private nodes one cloud server using DVSwitch Mobile - Audio Issues. #mmdvm_bridge #analog_bridge #brandmeister Thanks for the clarification.
Now it seems that another issue has developed. I had everything working. Saved copies, etc. Then rebooted the server. One of the 3 now has an error that I am trying to track down.. The MMDVM Bridge will not load. Somehow it starts to load DVSwitch.ini, then loses it. ● mmdvm_bridge-n0mgj.service - MMDVM_Bridge Service
Loaded: loaded (/lib/systemd/system/mmdvm_bridge-n0mgj.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-09-01 17:52:07 CDT; 5min ago
Process: 2578 ExecStart=/opt/MMDVM_Bridge-n0mgj/MMDVM_Bridge /opt/MMDVM_Bridge-n0mgj/MMDVM_Bridge.ini (code=exited, status=1/FAILURE)
Main PID: 2578 (code=exited, status=1/FAILURE)
Partial Log I: 2020-09-01 22:52:07.135 DMR Id Lookups I: 2020-09-01 22:52:07.135 File: /var/lib/mmdvm/DMRIds.dat
I: 2020-09-01 22:52:07.136 Reload: 24 hours
I: 2020-09-01 22:52:07.349 Loaded 171196 Ids to the DMR callsign lookup table
I: 2020-09-01 22:52:07.349 DMR RF Parameters
I: 2020-09-01 22:52:07.349 Id: 316747902
I: 2020-09-01 22:52:07.350 Color Code: 1
I: 2020-09-01 22:52:07.350 Self Only: no
I: 2020-09-01 22:52:07.350 Embedded LC Only: yes
I: 2020-09-01 22:52:07.350 Dump Talker Alias Data: no
I: 2020-09-01 22:52:07.350 Prefixes: 0
I: 2020-09-01 22:52:07.350 Call Hang: 3s
I: 2020-09-01 22:52:07.350 TX Hang: 3s
I: 2020-09-01 22:52:07.350 Mode Hang: 10s
M: 2020-09-01 22:52:07.350 DMR, Opening INI file: DVSwitch.ini
M: 2020-09-01 22:52:07.350 DMR, Setting [DMR] Address -> 127.0.0.1
M: 2020-09-01 22:52:07.350 DMR, Setting [DMR] TXPort -> 31140
M: 2020-09-01 22:52:07.350 DMR, Setting [DMR] RXPort -> 31143
M: 2020-09-01 22:52:07.350 DMR, Setting [DMR] Slot -> 2
E: 2020-09-01 22:52:07.350 DMR, ini file "DVSwitch.ini" was not found. Fatal error exiting
Nothing was edited in the MMDVM_Bridge.ini or DVSwitch.ini This occurred after a reboot. Thanks,
|
|
Willie Sandin
Thanks for the clarification.
Now it seems that another issue has developed. I had everything working. Saved copies, etc. Then rebooted the server. One of the 3 now has an error that I am trying to track down.. The MMDVM Bridge will not load. Somehow it starts to load DVSwitch.ini, then loses it. ● mmdvm_bridge-n0mgj.service - MMDVM_Bridge Service
Loaded: loaded (/lib/systemd/system/mmdvm_bridge-n0mgj.service; enabled; vendor preset: enabled)
Active: failed (Result: exit-code) since Tue 2020-09-01 17:52:07 CDT; 5min ago
Process: 2578 ExecStart=/opt/MMDVM_Bridge-n0mgj/MMDVM_Bridge /opt/MMDVM_Bridge-n0mgj/MMDVM_Bridge.ini (code=exited, status=1/FAILURE)
Main PID: 2578 (code=exited, status=1/FAILURE)
Partial Log I: 2020-09-01 22:52:07.135 DMR Id Lookups I: 2020-09-01 22:52:07.135 File: /var/lib/mmdvm/DMRIds.dat
I: 2020-09-01 22:52:07.136 Reload: 24 hours
I: 2020-09-01 22:52:07.349 Loaded 171196 Ids to the DMR callsign lookup table
I: 2020-09-01 22:52:07.349 DMR RF Parameters
I: 2020-09-01 22:52:07.349 Id: 316747902
I: 2020-09-01 22:52:07.350 Color Code: 1
I: 2020-09-01 22:52:07.350 Self Only: no
I: 2020-09-01 22:52:07.350 Embedded LC Only: yes
I: 2020-09-01 22:52:07.350 Dump Talker Alias Data: no
I: 2020-09-01 22:52:07.350 Prefixes: 0
I: 2020-09-01 22:52:07.350 Call Hang: 3s
I: 2020-09-01 22:52:07.350 TX Hang: 3s
I: 2020-09-01 22:52:07.350 Mode Hang: 10s
M: 2020-09-01 22:52:07.350 DMR, Opening INI file: DVSwitch.ini
M: 2020-09-01 22:52:07.350 DMR, Setting [DMR] Address -> 127.0.0.1
M: 2020-09-01 22:52:07.350 DMR, Setting [DMR] TXPort -> 31140
M: 2020-09-01 22:52:07.350 DMR, Setting [DMR] RXPort -> 31143
M: 2020-09-01 22:52:07.350 DMR, Setting [DMR] Slot -> 2
E: 2020-09-01 22:52:07.350 DMR, ini file "DVSwitch.ini" was not found. Fatal error exiting
Nothing was edited in the MMDVM_Bridge.ini or DVSwitch.ini This occurred after a reboot. Thanks,
|
|
If all yuo want is ASL access, then use IAX protocol.
toggle quoted messageShow quoted text
Analog_Bridge uses USRP to connect to an analog client. That client can be ASL or DVS but not both. If you wanted to connect ASL to Digital Voice, you connect ASL via USRP to AB. If you want to add DVSM, you can connect to ASL via IAX. Steve N4IRS
On 9/1/2020 2:30 PM, Willie Sandin
wrote:
Ahh.. So a bridge from DVSwitch thru USRP to ASL is not possible? Is this where DVSeitch uses the IAXClient?
|
|
Willie Sandin
Ahh.. So a bridge from DVSwitch thru USRP to ASL is not possible? Is this where DVSeitch uses the IAXClient?
|
|
Maybe I'm not being clear, you are showing 2 USRP connections to AB. It's either / or. Either DVSM or ASL not both.
From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Willie Sandin <dwsandin@...>
Sent: Tuesday, September 1, 2020 10:41:38 AM To: main@DVSwitch.groups.io <main@DVSwitch.groups.io> Subject: Re: [DVSwitch] Multiple private nodes one cloud server using DVSwitch Mobile - Audio Issues. #mmdvm_bridge #analog_bridge #brandmeister Hopefully this one clears up the issues. I am guessing that most people now use USRP to access and not the IAX Client direct to Asterisk. I plan on adding the links and ports to other modes as we add them, but I have not attempted that yet.
|
|
Willie Sandin
Hopefully this one clears up the issues. I am guessing that most people now use USRP to access and not the IAX Client direct to Asterisk. I plan on adding the links and ports to other modes as we add them, but I have not attempted that yet.
|
|
Correct. The problem I have with the diagram is it is showing both
connections to AB. That may confuse someone trying to connect both
DVSM and ASL at the same time.
toggle quoted messageShow quoted text
On 9/1/2020 9:58 AM, Willie Sandin
wrote:
So for clarification, Asterisk (ASL) uses ports 32001 and 34001 back to USRP to bridge correct?
|
|
Willie Sandin
So for clarification, Asterisk (ASL) uses ports 32001 and 34001 back to USRP to bridge correct?
I showed DVSwitch at both points as one is using USRP (with port #'s), the other is using (iaxclient) as entrance points. (OPTIONS) For what I am doing now, I am using only the USRP direct into the Analog Bridge.
|
|
Bring up the audio in AB.ini
toggle quoted messageShow quoted text
[USRP] usrpAudio = AUDIO_USE_GAIN ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN) usrpGain = 1.10 ; Gain (in db) of the AGC filter then increase usrpGain The problem with the diagram is that it shows both DVSM and ASL connected to AB. Steve N4IRS
On 8/31/20 8:33 PM, Willie Sandin
wrote:
Ok, that did it. I have audio. It is a bit weak, I have it cranked up to max receive and transmit about half on the DVMobile.
|
|
Willie Sandin
Ok, that did it. I have audio. It is a bit weak, I have it cranked up to max receive and transmit about half on the DVMobile.
I can post the logs but is kind of mute point currently. Thanks for the help. Maybe the diagrams above will help someone else working thru this interesting new mode :) 73s N0MGJ
|
|
Let's get rid of a couple of errors.
toggle quoted messageShow quoted text
Remove this from the [AMBE_AUDIO] stanza ; Metadata management exportMetadata = true ; Export metadata to
USRP partner (transcode setups require this)
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv ; DMR
ID to callsign lookup data
Remove this from [USRP] stanza aslAudio = AUDIO_UNITY
agcGain = -20
dmrAudio = AUDIO_UNITY
dmrGain = 0.35Show me traffic from DMR in the MB and AB logs. Steve N4IRS
On 8/31/20 7:29 PM, Willie Sandin
wrote:
DV Switch - N0MGJ -
|
|
Willie Sandin
DV Switch - N0MGJ -
; MMDVM_Bridge export / import configuration file.
; This file should be placed along side of MMDVM_Bridge or it can be
; supplied as a path on the MMDVM_BRIDGE environment variable.
; Configure the Quantar Repeater Partner
; Note that the TX and RX ports are already reversed for MMDVM_Bridge <--> Quantar_Bridge
[QUANTAR]
logFilePath = /var/log/Quantar_Bridge.log
Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
TXPort = 34103 ; Port to send AMBE TLV frames to (export)
RXPort = 34100 ; Port to listen on (import)
quantarPort = 1994 ; HDLC frames To/From the Quantar repeater
logLevel = 2 ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
debug = 0 ; Debug 0 = off, 1 = on (adds lots of additional messages)
; Configure the DMR Partner
; Audio format is AMBE 72 bit
[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
; Configure the D-Star Partner
; Audio format is AMBE 48 bit (DSAMBE)
[DSTAR]
Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
TXPort = 32100 ; Port to send AMBE TLV frames to (export)
RXPort = 32103 ; Port to listen on (import)
FallbackID = 1234567 ; In case we can not find a valid DMR id in the database, export this one
ExportTG = 9 ; Which TG to export
Slot = 2 ; Export slot
; Configure the NXDN Partner
; Audio format is AMBE 72 bit
[NXDN]
Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
TXPort = 33100 ; Port to send AMBE TLV frames to (export)
RXPort = 33103 ; Port to listen on (import)
FallbackID = 1234567 ; In case we can not find a valid DMR id in the database, export this one
NXDNFallbackID = 12345 ; Use this ID when the input DMR ID is not found in the database
Translate = 1234=4321 ; Translate NXDN TG < -- > DMR TG (bidirectional)
Slot = 2 ; Export slot
; Configure the P25 Partner
; Audio format is IMBE 88 bit
[P25]
Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
TXPort = 34100 ; Port to send AMBE TLV frames to (export)
RXPort = 34103 ; Port to listen on (import)
Slot = 2 ; Export slot
; Configure the Yaesu Fusion Partner
; Audio format is AMBE 72 bit
; Audio format is IMBE 88 bit
[YSF]
Address = 127.0.0.1 ; Address to send AMBE TLV frames to (export)
TXPort = 35100 ; Port to send AMBE TLV frames to (export)
RXPort = 35103 ; Port to listen on (import)
FallbackID = 1234567 ; In case we can not find a valid DMR id in the database, export this one
ExportTG = 1234 ; Which TG to export
Slot = 2 ; Export slot
MMDVM Log - (Clipped) M: 2020-08-31 23:23:00.048 DMR Slot 2, received network end of voice transmission, 0.5 seconds, 0% packet loss, BER: 0.0%
M: 2020-08-31 23:23:06.162 DMR Slot 2, received network voice header from N0EBB to TG 31295
M: 2020-08-31 23:23:06.562 DMR Talker Alias (Data Format 1, Received 6/21 char): 'N0EBB '
M: 2020-08-31 23:23:07.287 DMR Talker Alias (Data Format 1, Received 13/21 char): 'N0EBB DMR ID:'
M: 2020-08-31 23:23:08.004 DMR Talker Alias (Data Format 1, Received 20/21 char): 'N0EBB DMR ID: 316380'
M: 2020-08-31 23:23:08.724 DMR Talker Alias (Data Format 1, Received 21/21 char): 'N0EBB DMR ID: 3163801'
M: 2020-08-31 23:23:17.485 DMR Slot 2, received network end of voice transmission, 11.6 seconds, 0% packet loss, BER: 0.0%
M: 2020-08-31 23:23:20.991 DMR Slot 2, received network voice header from KC1RLW to TG 93
M: 2020-08-31 23:23:21.576 DMR Talker Alias (Data Format 1, Received 6/15 char): 'KC1RLW'
M: 2020-08-31 23:23:22.308 DMR Talker Alias (Data Format 1, Received 13/15 char): 'KC1RLW Robert'
M: 2020-08-31 23:23:23.009 DMR Talker Alias (Data Format 1, Received 15/15 char): 'KC1RLW Robert L'
M: 2020-08-31 23:23:26.382 DMR Slot 2, received network end of voice transmission, 5.5 seconds, 0% packet loss, BER: 0.0%
M: 2020-08-31 23:23:27.686 DMR Slot 2, received network voice header from N0MGJ to TG 31295
M: 2020-08-31 23:23:28.285 DMR Talker Alias (Data Format 1, Received 6/13 char): 'N0MGJ '
M: 2020-08-31 23:23:29.011 DMR Talker Alias (Data Format 1, Received 13/13 char): 'N0MGJ Duane W'
M: 2020-08-31 23:23:37.053 DMR Slot 2, received network end of voice transmission, 9.5 seconds, 0% packet loss, BER: 0.0%
M: 2020-08-31 23:23:45.756 DMR Slot 2, received network voice header from KE3R to TG 93
M: 2020-08-31 23:23:46.342 DMR Talker Alias (Data Format 1, Received 6/18 char): 'KE3R A'
M: 2020-08-31 23:23:47.119 DMR Talker Alias (Data Format 1, Received 13/18 char): 'KE3R AnyTone '
M: 2020-08-31 23:23:47.300 DMR Slot 2, received network end of voice transmission, 1.6 seconds, 0% packet loss, BER: 0.0%
M: 2020-08-31 23:23:48.580 DMR Slot 2, received network voice header from N0EBB to TG 31295
M: 2020-08-31 23:23:49.045 DMR Talker Alias (Data Format 0, Received 0/0 char): ''
M: 2020-08-31 23:23:49.642 DMR Talker Alias (Data Format 0, Received 0/0 char): ''
M: 2020-08-31 23:23:50.363 DMR Talker Alias (Data Format 1, Received 6/21 char): 'N0EBB '
M: 2020-08-31 23:23:51.085 DMR Talker Alias (Data Format 1, Received 21/21 char): 'N0EBB DMR ID: 3163801'
M: 2020-08-31 23:23:58.765 DMR Slot 2, received network end of voice transmission, 10.2 seconds, 0% packet loss, BER: 0.0%
M: 2020-08-31 23:24:26.425 DMR Slot 2, received network voice header from N0EBB to TG 31295
M: 2020-08-31 23:24:26.832 DMR Talker Alias (Data Format 1, Received 6/21 char): 'N0EBB '
M: 2020-08-31 23:24:27.548 DMR Talker Alias (Data Format 1, Received 13/21 char): 'N0EBB DMR ID:'
M: 2020-08-31 23:24:28.273 DMR Talker Alias (Data Format 1, Received 20/21 char): 'N0EBB DMR ID: 316380'
M: 2020-08-31 23:24:28.991 DMR Talker Alias (Data Format 1, Received 21/21 char): 'N0EBB DMR ID: 3163801'
M: 2020-08-31 23:24:49.630 DMR Slot 2, received network end of voice transmission, 23.5 seconds, 0% packet loss, BER: 0.0%
M: 2020-08-31 23:24:57.848 DMR Slot 2, received network voice header from N0MGJ to TG 31295
M: 2020-08-31 23:24:58.242 DMR Talker Alias (Data Format 1, Received 6/13 char): 'N0MGJ '
M: 2020-08-31 23:24:58.961 DMR Talker Alias (Data Format 1, Received 13/13 char): 'N0MGJ Duane W'
M: 2020-08-31 23:25:11.682 DMR Slot 2, received network end of voice transmission, 14.2 seconds, 0% packet loss, BER: 0.0%
M: 2020-08-31 23:25:17.920 DMR Slot 2, received network voice header from N0EBB to TG 31295
M: 2020-08-31 23:25:18.518 DMR Talker Alias (Data Format 1, Received 6/21 char): 'N0EBB '
M: 2020-08-31 23:25:19.240 DMR Talker Alias (Data Format 1, Received 13/21 char): 'N0EBB DMR ID:'
M: 2020-08-31 23:25:19.959 DMR Talker Alias (Data Format 1, Received 20/21 char): 'N0EBB DMR ID: 316380'
M: 2020-08-31 23:25:20.680 DMR Talker Alias (Data Format 1, Received 21/21 char): 'N0EBB DMR ID: 3163801'
M: 2020-08-31 23:25:25.599 DMR Slot 2, received network end of voice transmission, 7.7 seconds, 0% packet loss, BER: 0.0%
============================================= Analog Bridge Log - n0mgj W: 2020-08-31 23:21:01.410 Unknown section/name in .ini file: AMBE_AUDIO/exportMetadata
W: 2020-08-31 23:21:01.410 Unknown section/name in .ini file: AMBE_AUDIO/subscriberFile
M: 2020-08-31 23:21:01.410 Setting [USRP] address -> 169.254.42.42
M: 2020-08-31 23:21:01.410 Setting [USRP] txPort -> 50311
M: 2020-08-31 23:21:01.410 Setting [USRP] rxPort -> 50311
M: 2020-08-31 23:21:01.410 Setting [USRP] usrpAudio -> AUDIO_USE_GAIN
M: 2020-08-31 23:21:01.410 Setting [USRP] usrpGain -> 1.10
M: 2020-08-31 23:21:01.410 Setting [USRP] tlvAudio -> AUDIO_UNITY
M: 2020-08-31 23:21:01.410 Setting [USRP] tlvGain -> 0.35
W: 2020-08-31 23:21:01.410 Using deprecated option "aslAudio"
M: 2020-08-31 23:21:01.410 Setting [USRP] aslAudio -> AUDIO_UNITY
W: 2020-08-31 23:21:01.410 Using deprecated option "agcGain"
M: 2020-08-31 23:21:01.410 Setting [USRP] agcGain -> -20
W: 2020-08-31 23:21:01.410 Using deprecated option "dmrAudio"
M: 2020-08-31 23:21:01.410 Setting [USRP] dmrAudio -> AUDIO_UNITY
W: 2020-08-31 23:21:01.410 Using deprecated option "dmrGain"
M: 2020-08-31 23:21:01.410 Setting [USRP] dmrGain -> 0.35
M: 2020-08-31 23:21:01.410 Setting [DV3000] address -> 127.0.0.1
M: 2020-08-31 23:21:01.410 Setting [DV3000] rxPort -> 2460
I: 2020-08-31 23:21:01.410 Open UDP listener on 127.0.0.1:31140
I: 2020-08-31 23:21:01.410 Open USRP on 169.254.42.42:50311
D: 2020-08-31 23:21:01.410 Attempt to init DV3000 in DMR mode
M: 2020-08-31 23:21:01.410 Connecting to DV3000 hardware......
W: 2020-08-31 23:21:02.427 DV3000 not found at 127.0.0.1:2460
I: 2020-08-31 23:21:02.427 Subscriber IDs file not found.
I: 2020-08-31 23:21:02.427 Default extended metadata <3167479>
I: 2020-08-31 23:21:02.427 Connecting to emulator on host 127.0.0.1:2474
W: 2020-08-31 23:21:02.427 Using software MBE decoder version 1.2.3
W: 2020-08-31 23:21:02.427 Using software OP25 IMBE/AMBE vocoder
I: 2020-08-31 23:21:02.428 Connected to USRP 169.254.42.42:50311
I: 2020-08-31 23:21:02.428 Starting TLV --> Analog_Bridge (decoder) --> USRP thread
D: 2020-08-31 23:21:02.428 INFO:{"ab":{"version":"1.4.2","date":"Fri Jan 10 09:38:27 EST 2020"},"dv3000":{"ip":"127.0.0.1","port":"2460","use_serial":"false"},"use_fallback":"true","use_emulator":"true","mute":"OFF","usrp":{"ip":"169.254.42.42","rx_port":"50311","tx_port":"50311","ping":"10","to_pcm":{"shape":"AUDIO_UNITY","gain":"-20.00"},"to_ambe":{"shape":"AUDIO_UNITY","gain":"0.35"}},"tlv":{"ip":"127.0.0.1","tx_port":"31143","rx_port":"31140","ambe_size":"72","ambe_mode":"DMR"},"digital":{"gw":"3167479","rpt":"319747902","tg":"9","ts":"2","cc":"1","call":"3167479"},"last_tune":""}
I: 2020-08-31 23:21:02.428 Starting USRP --> Analog_Bridge (encoder) -> TLV thread
I: 2020-08-31 23:21:15.239 USRP server ip change from 169.254.42.42 to new ip 68.188.86.74
D: 2020-08-31 23:21:15.426 INFO:{"ab":{"version":"1.4.2","date":"Fri Jan 10 09:38:27 EST 2020"},"dv3000":{"ip":"127.0.0.1","port":"2460","use_serial":"false"},"use_fallback":"true","use_emulator":"true","mute":"OFF","usrp":{"ip":"68.188.86.74","rx_port":"50311","tx_port":"50311","ping":"10","to_pcm":{"shape":"AUDIO_UNITY","gain":"-20.00"},"to_ambe":{"shape":"AUDIO_UNITY","gain":"0.35"}},"tlv":{"ip":"127.0.0.1","tx_port":"31143","rx_port":"31140","ambe_size":"72","ambe_mode":"DMR"},"digital":{"gw":"3167479","rpt":"319747902","tg":"9","ts":"2","cc":"1","call":"3167479"},"last_tune":""}
I: 2020-08-31 23:21:15.426 INFO packet sent to USRP client
I: 2020-08-31 23:21:15.426 codec=slin
D: 2020-08-31 23:21:15.427 INFO:{"ab":{"version":"1.4.2","date":"Fri Jan 10 09:38:27 EST 2020"},"dv3000":{"ip":"127.0.0.1","port":"2460","use_serial":"false"},"use_fallback":"true","use_emulator":"true","mute":"OFF","usrp":{"ip":"68.188.86.74","rx_port":"50311","tx_port":"50311","ping":"10","to_pcm":{"shape":"AUDIO_UNITY","gain":"-20.00"},"to_ambe":{"shape":"AUDIO_UNITY","gain":"0.35"}},"tlv":{"ip":"127.0.0.1","tx_port":"31143","rx_port":"31140","ambe_size":"72","ambe_mode":"DMR"},"digital":{"gw":"3167479","rpt":"319747902","tg":"9","ts":"2","cc":"1","call":"3167479"},"last_tune":""}
I: 2020-08-31 23:21:15.539 USRP packet type: USRP_TYPE_TEXT (NOMGJ) -> 3167479
I: 2020-08-31 23:21:21.352 Tune macro: *DMR will invoke "/opt/Analog_Bridge/dvswitch.sh mode DMR"
I: 2020-08-31 23:21:21.423 rxport=: 30000
D: 2020-08-31 23:21:21.423 INFO:{"ab":{"version":"1.4.2","date":"Fri Jan 10 09:38:27 EST 2020"},"dv3000":{"ip":"127.0.0.1","port":"2460","use_serial":"false"},"use_fallback":"true","use_emulator":"true","mute":"OFF","usrp":{"ip":"68.188.86.74","rx_port":"50311","tx_port":"50311","ping":"10","to_pcm":{"shape":"AUDIO_UNITY","gain":"-20.00"},"to_ambe":{"shape":"AUDIO_UNITY","gain":"0.35"}},"tlv":{"ip":"127.0.0.1","tx_port":"31143","rx_port":"30000","ambe_size":"72","ambe_mode":"DMR"},"digital":{"gw":"3167479","rpt":"319747902","tg":"9","ts":"2","cc":"1","call":"3167479"},"last_tune":""}
M: 2020-08-31 23:21:21.423 TLV rx socket reopened for 127.0.0.1:30000
I: 2020-08-31 23:21:22.520 MESSAGE packet sent to USRP client
D: 2020-08-31 23:21:22.520 INFO:{"ab":{"version":"1.4.2","date":"Fri Jan 10 09:38:27 EST 2020"},"dv3000":{"ip":"127.0.0.1","port":"2460","use_serial":"false"},"use_fallback":"true","use_emulator":"true","mute":"OFF","usrp":{"ip":"68.188.86.74","rx_port":"50311","tx_port":"50311","ping":"10","to_pcm":{"shape":"AUDIO_UNITY","gain":"-20.00"},"to_ambe":{"shape":"AUDIO_UNITY","gain":"0.35"}},"tlv":{"ip":"127.0.0.1","tx_port":"31143","rx_port":"30000","ambe_size":"72","ambe_mode":"DMR"},"digital":{"gw":"3167479","rpt":"319747902","tg":"9","ts":"2","cc":"1","call":"3167479"},"last_tune":""}
I: 2020-08-31 23:21:22.544 ambeMode = DMR, size = 72
D: 2020-08-31 23:21:22.544 INFO:{"ab":{"version":"1.4.2","date":"Fri Jan 10 09:38:27 EST 2020"},"dv3000":{"ip":"127.0.0.1","port":"2460","use_serial":"false"},"use_fallback":"true","use_emulator":"true","mute":"OFF","usrp":{"ip":"68.188.86.74","rx_port":"50311","tx_port":"50311","ping":"10","to_pcm":{"shape":"AUDIO_UNITY","gain":"-20.00"},"to_ambe":{"shape":"AUDIO_UNITY","gain":"0.35"}},"tlv":{"ip":"127.0.0.1","tx_port":"31143","rx_port":"30000","ambe_size":"72","ambe_mode":"DMR"},"digital":{"gw":"3167479","rpt":"319747902","tg":"9","ts":"2","cc":"1","call":"3167479"},"last_tune":""}
I: 2020-08-31 23:21:22.567 txport=: 31103
D: 2020-08-31 23:21:22.567 INFO:{"ab":{"version":"1.4.2","date":"Fri Jan 10 09:38:27 EST 2020"},"dv3000":{"ip":"127.0.0.1","port":"2460","use_serial":"false"},"use_fallback":"true","use_emulator":"true","mute":"OFF","usrp":{"ip":"68.188.86.74","rx_port":"50311","tx_port":"50311","ping":"10","to_pcm":{"shape":"AUDIO_UNITY","gain":"-20.00"},"to_ambe":{"shape":"AUDIO_UNITY","gain":"0.35"}},"tlv":{"ip":"127.0.0.1","tx_port":"31103","rx_port":"30000","ambe_size":"72","ambe_mode":"DMR"},"digital":{"gw":"3167479","rpt":"319747902","tg":"9","ts":"2","cc":"1","call":"3167479"},"last_tune":""}
I: 2020-08-31 23:21:22.591 rxport=: 31100
D: 2020-08-31 23:21:22.591 INFO:{"ab":{"version":"1.4.2","date":"Fri Jan 10 09:38:27 EST 2020"},"dv3000":{"ip":"127.0.0.1","port":"2460","use_serial":"false"},"use_fallback":"true","use_emulator":"true","mute":"OFF","usrp":{"ip":"68.188.86.74","rx_port":"50311","tx_port":"50311","ping":"10","to_pcm":{"shape":"AUDIO_UNITY","gain":"-20.00"},"to_ambe":{"shape":"AUDIO_UNITY","gain":"0.35"}},"tlv":{"ip":"127.0.0.1","tx_port":"31103","rx_port":"31100","ambe_size":"72","ambe_mode":"DMR"},"digital":{"gw":"3167479","rpt":"319747902","tg":"9","ts":"2","cc":"1","call":"3167479"},"last_tune":""}
M: 2020-08-31 23:21:22.591 TLV rx socket reopened for 127.0.0.1:31100
I: 2020-08-31 23:21:23.642 Macro result was 0
I: 2020-08-31 23:21:24.881 txTg=: 31295
D: 2020-08-31 23:21:24.881 INFO:{"ab":{"version":"1.4.2","date":"Fri Jan 10 09:38:27 EST 2020"},"dv3000":{"ip":"127.0.0.1","port":"2460","use_serial":"false"},"use_fallback":"true","use_emulator":"true","mute":"OFF","usrp":{"ip":"68.188.86.74","rx_port":"50311","tx_port":"50311","ping":"10","to_pcm":{"shape":"AUDIO_UNITY","gain":"-20.00"},"to_ambe":{"shape":"AUDIO_UNITY","gain":"0.35"}},"tlv":{"ip":"127.0.0.1","tx_port":"31103","rx_port":"31100","ambe_size":"72","ambe_mode":"DMR"},"digital":{"gw":"3167479","rpt":"319747902","tg":"31295","ts":"2","cc":"1","call":"3167479"},"last_tune":"31295"}
M: 2020-08-31 23:21:26.781 TLV tx socket repoened for 127.0.0.1:31103
M: 2020-08-31 23:21:26.781 PTT on
D: 2020-08-31 23:21:31.485 cpu_time_used = 4704, minTxTime = 2000, pttTime = 1598916086781, end = 1598916091485
M: 2020-08-31 23:21:31.486 PTT off (keyed for 4705 ms)
Is it the DV3000 portion causing issues?
|
|
Willie Sandin
I tried the USRP Port as 50311 both TX and RX, with Both 127.0.0.1 and 169.254.42.42
Still no audio from DVMobile.
|
|
As I said, your diagram shows both DVSM and ASL connected to AB. (on
different ports.)
toggle quoted messageShow quoted text
Let's stick with #2 Show me your DVSwitch.ini file. Show me your AB log when there is traffic from BM. Steve
On 8/31/20 7:09 PM, Willie Sandin
wrote:
#1 works thru all the way. it is connected to ASL 52417
|
|
Willie Sandin
#1 works thru all the way. it is connected to ASL 52417
#2 & #3 both connect to <BM> and the hot spots are active. Not connected to ASL at all currently. Using DVMobile, they Transmit, Pass Audio to the Talkgroup, either set thru DVMobile, or as a default TG (Commented out above). The issue is no return audio to DV Mobile. On DVMobile, there also is no return traffic (RX Bytes) under Status. Only (TX Bytes) I have tried as the same USRP port, switching the USRP server as well. Same result. I drew the diagram as I see it in my head, am I missing something or have something located incorrectly?
|
|
In your diagram I see both DVSwitch Mobile and ASL connected to AB.
Is that not the case?
toggle quoted messageShow quoted text
Set both USRP TX and RX port to the same port number and retest. Steve N4IRS
On 8/31/20 6:57 PM, Willie Sandin
wrote:
; Analog_Bridge configuration file. - MAIN
|
|
Willie Sandin
; Analog_Bridge configuration file. - MAIN
include = dvsm.macro
[GENERAL] logLevel = 2 ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
decoderFallBack = true
; Metadata management
subscriberFile = /var/lib/dvswitch/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 = true ; Allow software AMBE decoding if a hardware decoder is not found
useEmulator = false ; Use the MD380 AMBE emulator for AMBE72 (DMR/YSFN/NXDN)
emulatorAddress = 127.0.0.1:2470 ; IP address and port of the md380 server
[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 ; Minimum time in MS for hang delay (0-10000)
gatewayDmrId = 3167479 ; ID to use when transmitting from Analog_Bridge
repeaterID = 319747901 ; ID of source repeater
txTg = 31295 ; 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
[USRP]
address = 127.0.0.1 ; IP address of USRP partner (Allstar/Asterisk or another Analog_Bridge)
xPort = 50301 ; Transmit USRP frames on this port
rxPort = 50001 ; Listen for USRP frames on this port
usrpAudio = AUDIO_UNITY ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
usrpGain = 1.10 ; Gain (in db) of the AGC filter
tlvAudio = AUDIO_UNITY ; Audio from ASL (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.35 ; Gain factor of audio from ASL (0.0-1.0)
aslAudio = AUDIO_USE_GAIN
agcGain = 6
dmrAudio = AUDIO_USE_GAIN
dmrGain = 0.35
[DV3000]
address = 127.0.0.1 ; IP address of AMBEServer
rxPort = 2460 ; Port of AMBEServer
======================================= ; Analog_Bridge configuration file. - N0MGJ [GENERAL]
logLevel = 1 ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
decoderFallBack = true
; Metadata management
subscriberFile = /var/lib/dvswitch/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 = 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:2474 ; IP address and port of the md380 server
[AMBE_AUDIO]
;gatewayDmrId = 3167479
;repeaterID = 316747901
;txTg = 31295
address = 127.0.0.1 ; IP address of xx_Bridge
txPort = 31143 ; Transmit TLV frames to partner on this port
rxPort = 31140 ; 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 = 3167479 ; ID to use when transmitting from Analog_Bridge
repeaterID = 319747902 ; ID of source repeater
;txTg = 31295 ; 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
; Metadata management
exportMetadata = true ; Export metadata to USRP partner (transcode setups require this)
subscriberFile = /var/lib/dvswitch/subscriber_ids.csv ; DMR ID to callsign lookup data
[USRP]
address = 127.0.0.1 ; IP address of USRP partner (Allstar/Asterisk or another Analog_Bridge)
txPort = 50311 ; Transmit USRP frames on this port
rxPort = 50011 ; Listen for USRP frames on this port
usrpAudio = AUDIO_USE_GAIN ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
usrpGain = 1.10 ; Gain (in db) of the AGC filter
tlvAudio = AUDIO_UNITY ; Audio from ASL (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.35 ; Gain factor of audio from ASL (0.0-1.0)
aslAudio = AUDIO_UNITY
agcGain = -20
dmrAudio = AUDIO_UNITY
dmrGain = 0.35
[DV3000]
address = 127.0.0.1 ; IP address of AMBEServer
rxPort = 2460 ; Port of AMBEServer
=============================================== ; Analog_Bridge configuration file. - N0EBB include = dvsm.macro [GENERAL]
logLevel = 1 ; Show messages and above 0=No logging, 1=Debug, 2=Message, 3=Info, 4=Warning, 5=Error, 6=Fatal
decoderFallBack = true
; Metadata management
subscriberFile = /var/lib/dvswitch/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 = 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:2476 ; IP address and port of the md380 server
; Information for xx_Bridge (Where xx is MMDVM, Quantar, HB, IPSC)
[AMBE_AUDIO]
gatewayDmrId = 3163801
repeaterID = 316380110
address = 127.0.0.1 ; IP address of xx_Bridge
txPort = 31163 ; Transmit TLV frames to partner on this port
rxPort = 31160 ; 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 ; Minimum time in MS for hang delay (0-10000)
txTs = 2 ; Slot to use for frames sent from Analog_Bridge -> xx_Bridge
colorCode = 1 ; Color Code to assign DMR frames
[USRP]
address = 127.0.0.1
txPort = 50321 ; Transmit USRP frames on this port
rxPort = 50021 ; Listen for USRP frames on this port
usrpAudio = AUDIO_UNITY ; Audio to ASL (AUDIO_UNITY, AUDIO_USE_AGC, AUDIO_USE_GAIN)
usrpGain = 1.10 ; Gain (in db) of the AGC filter
tlvAudio = AUDIO_UNITY ; Audio from ASL (AUDIO_UNITY, AUDIO_USE_GAIN, AUDIO_BPF)
tlvGain = 0.35 ; Gain factor of audio from ASL (0.0-1.0)
aslAudio = AUDIO_USE_GAIN
agcGain = 6
dmrAudio = AUDIO_USE_GAIN
dmrGain = 0.35
[DV3000]
address = 127.0.0.1 ; IP address of AMBEServer
rxPort = 2460 ; Port of AMBEServer
|
|
Post your Analog_Bridge.ini file for each.
toggle quoted messageShow quoted text
Steve N4IRS
On 8/31/20 6:13 PM, Willie Sandin
wrote:
I have been setting up multiple nodes and bridges on a Vultr cloud server. Currently I have:
|
|