Date   

Re: BrandMeister to XLX

N0KEG
 

Alright, this things driving me to drink....more.....

I've got 2 MB instances running and a DG going to XLX...

BM<->MB_BM<->MB_XLX<->DG_XLX<->XLX

I see traffic come in the 1st MB, and it goes to the 2nd MB.  If I do a tcpdump on loopback I see the traffic destined for the DG service port.  After that, the traffic disappears.

When I fire up DG, it does log into XLX and joins the module I want (4001/A).  I haven't played with the rewrite rules yet, but I figured I should at least see the traffic headed to the XLX box on the wire even if the TG is wrong?


Re: BrandMeister to XLX

N0KEG
 

I follow ya, makes sense.  I tried it the opposite way last night and tried connecting the XLX side without DMRG.  I was able to get it to link to the right module after making a call to 4001 (mod a) but still has the same problem.  I'll flip it around and put DMRG back on the XLX side and pull it from the BM side.

73,
Ray


Re: BrandMeister to XLX

Steve KC1AWV
 

Ugh, I got my AB and MB notes mixed up... I should probably label these things.

You don't need DMRGateway on the BM side, you will need it on the XLX side if you're rewriting TGs. You might want to try rewriting to TG 2, TG 6, or TG 9... I haven't figured out which one works juuuust yet and I left my HT at home so I can't test today.


On Wed, Jun 5, 2019 at 9:17 AM <raymond.strickoff@...> wrote:
Ok, no DMRGateway on either side?  Just a pair of bridges?

And yeah, I have a BM initiated link right now but like you said those guys are super busy. I need to change which TG I have linked and we have another system that wants to do a part time link one night a week so I want the keys to the kingdom so to speak.

Also, we had a major Internet outage here recently so I brought in a backup circuit.  If I'm initiating the connections outbound it makes the failover much easier to deal with.

Thanks for the tips!
Ray



--
Steve Miller
KC1AWV


Re: BrandMeister to XLX

N0KEG
 

Ok, no DMRGateway on either side?  Just a pair of bridges?

And yeah, I have a BM initiated link right now but like you said those guys are super busy. I need to change which TG I have linked and we have another system that wants to do a part time link one night a week so I want the keys to the kingdom so to speak.

Also, we had a major Internet outage here recently so I brought in a backup circuit.  If I'm initiating the connections outbound it makes the failover much easier to deal with.

Thanks for the tips!
Ray


Re: BrandMeister to XLX

Steve KC1AWV
 

My most recent notes on BM to XLX:
  1. Take out DMRGateway, it's not needed.
  2. Two MMDVM_Bridges will be needed, just be sure not to use the same ports on each instance.
  3. Make sure the XLX server only sees DMR IDs that are 7 digits.
I haven't had a chance to try this setup again after Steve N4IRS recompiled MB. I've been using HBlink3 instead, testing that since BM admins have made mention previously that OpenBridge is preferred when using HBlink3.

I think BM is still supporting direct links from BM to XLX, though the admins are very busy and may not get to the helpdesk ticket right away.

Steve KC1AWV

On Wed, Jun 5, 2019 at 8:27 AM <raymond.strickoff@...> wrote:
I tried setting up one of these last night but ran into that same problem.  It seems like XLX doesn't like the data being delivered by the DMRGateway_BM service.  When looking at the logs on XLX, the stream comes in and it goes into TX for just a second then XLX drops the call.  The BM user's call sign shows up on the XLX dashboard, so I guess some of the data is what XLX is expecting.  Has anyone been able to get this setup working?

BM<->DMRGateway_BM<->MMDVM_Bridge_BM<->MMDVM_Bridge_XLX<->DMRGateway_XLX<->XLXD



--
Steve Miller
KC1AWV


Re: BrandMeister to XLX

N0KEG
 

I tried setting up one of these last night but ran into that same problem.  It seems like XLX doesn't like the data being delivered by the DMRGateway_BM service.  When looking at the logs on XLX, the stream comes in and it goes into TX for just a second then XLX drops the call.  The BM user's call sign shows up on the XLX dashboard, so I guess some of the data is what XLX is expecting.  Has anyone been able to get this setup working?

BM<->DMRGateway_BM<->MMDVM_Bridge_BM<->MMDVM_Bridge_XLX<->DMRGateway_XLX<->XLXD


Re: ysf2dmr Network watchdog has expired

Dexter Harroo
 

Thanks very much Heiko


On Tue, Jun 4, 2019 at 6:33 AM Heiko DL1BZ <dg2dra@...> wrote:

[Edited Message Follows]

Please follow the example you can find here in wiki: https://dvswitch.groups.io/g/main/wiki/Bridge-DMR-to-YSF-Narrow
You need to have attention in DVSwitch.ini:
TXPort -> RXPort
RXPort <- TXPort
between stanzas.

Here the important parts from my config DVSwitch.ini :

; 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 = 39110                  ; Port to send AMBE TLV frames to (export)
RXPort = 39113                  ; 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 = 39113                  ; Port to send AMBE TLV frames to (export)
RXPort = 39110                  ; Port to listen on (import)
FallbackID = 123456             ; In case we can not find a valid DMR id in the database, export this one
ExportTG = 70000                ; Which TG to export
Slot = 2                        ; Export slot

You only need one instance of mmdvm_bridge. DMR<->YSF-N don't need transcoding, only conversation - so analog_bridge is not required. Replace the port numbers with ports you want to use (depends on your system).

73 Heiko, DL1BZ



--
73
9Y4C
Dexter Harroo


Re: Github update

Steve N4IRS
 

I'm working on extracting the info from the commit log but in short:
MMDVM_Bridge:
Bug fix in YSFn and YSFw code.
Additions to make changing the TGs and reflectors smoother.
Additions to logging to support MMDVM_Bridge dashboard.

Analog_Bridge:
LOTS of changes to support DVSwitch Mobile. AB now supports Single UDP port. This will require a complete writeup Mike and I will start the document.

Steve

On 6/4/2019 2:07 PM, G7RPG - Peter Kendall wrote:

Hi Steve,

Can you summarise what the changes/fixes are ?


Peter
G7RPG


On 04/06/2019 18:58, Steve N4IRS wrote:
I have updated the DVSwitch Github master branches for Analog_Bridge and MMDVM_Bridge. The older code is in the Archive branch. Over the next couple of weeks I will build update packages for all the programs in the repository.

Steve N4IRS 


Re: Github update

SP2ONG Waldek
 

Many thanks


Re: Github update

Steve N4IRS
 

I will get it posted soon.

On 6/4/2019 2:07 PM, Waldek SP2ONG wrote:
Hi Steve,

Thank you for update. Is it possible that the i386 version is also available? There are still many people using Debian 32 bit version

73 Waldek


Re: Github update

G7RPG - Peter Kendall
 

Hi Steve,

Can you summarise what the changes/fixes are ?


Peter
G7RPG


On 04/06/2019 18:58, Steve N4IRS wrote:
I have updated the DVSwitch Github master branches for Analog_Bridge and MMDVM_Bridge. The older code is in the Archive branch. Over the next couple of weeks I will build update packages for all the programs in the repository.

Steve N4IRS 


Re: Github update

SP2ONG Waldek
 

Hi Steve,

Thank you for update. Is it possible that the i386 version is also available? There are still many people using Debian 32 bit version

73 Waldek


Github update

Steve N4IRS
 

I have updated the DVSwitch Github master branches for Analog_Bridge and MMDVM_Bridge. The older code is in the Archive branch. Over the next couple of weeks I will build update packages for all the programs in the repository.

Steve N4IRS 


Re: error HB_Bridge.py

Alec-N1AJW
 

? from the sample?  onliy hblink and confbridge have samples.


Re: ysf2dmr Network watchdog has expired

Heiko DL1BZ
 
Edited

Please follow the example you can find here in wiki: https://dvswitch.groups.io/g/main/wiki/Bridge-DMR-to-YSF-Narrow
You need to have attention in DVSwitch.ini:
TXPort -> RXPort
RXPort <- TXPort
between stanzas.

Here the important parts from my config DVSwitch.ini :

; 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 = 39110                  ; Port to send AMBE TLV frames to (export)
RXPort = 39113                  ; 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 = 39113                  ; Port to send AMBE TLV frames to (export)
RXPort = 39110                  ; Port to listen on (import)
FallbackID = 123456             ; In case we can not find a valid DMR id in the database, export this one
ExportTG = 70000                ; Which TG to export
Slot = 2                        ; Export slot

You only need one instance of mmdvm_bridge. DMR<->YSF-N don't need transcoding, only conversation - so analog_bridge is not required. Replace the port numbers with ports you want to use (depends on your system).

73 Heiko, DL1BZ


Re: ysf2dmr Network watchdog has expired

Dexter Harroo
 

Hello Heiko, Will you be so kind as to assist me with setting this up


On Mon, Jun 3, 2019 at 3:42 AM Heiko DL1BZ <dg2dra@...> wrote:
YSF2DMR and other conversation tools are part of this: https://github.com/juribeparada/MMDVM_CM from Andy, CA6JAU (he's also the firmware-developer of MMDVM_HS for the hotspots). I think you should contact him because your problem.
It is possible to do the same with the mmdvm_bridge. I prefer the mmdvm_bridge solution, because with YSF2DMR i had a little trouble too. If it runs for a longer time, the connection drops with YSF2DMR and don't came back until if I restart YSF2DMR. With mmdvm_bridge I cannot see this problem, it's more stable (with my environment).

73 Heiko, DL1BZ



--
73
9Y4C
Dexter Harroo


Re: Minor coredump in MMDVM_Bridge when there is a typo in the config

Mike Zingman - N4IRR
 

Actually the code did exactly what it should have
1) You did not provide a proper Address value
2) The constructor was called
3) The constructor determined that it could not proceed without a valid address, reported the error (Assert) and then exited because there was nothing else it "could" do.


Re: ysf2dmr Network watchdog has expired

Heiko DL1BZ
 

YSF2DMR and other conversation tools are part of this: https://github.com/juribeparada/MMDVM_CM from Andy, CA6JAU (he's also the firmware-developer of MMDVM_HS for the hotspots). I think you should contact him because your problem.
It is possible to do the same with the mmdvm_bridge. I prefer the mmdvm_bridge solution, because with YSF2DMR i had a little trouble too. If it runs for a longer time, the connection drops with YSF2DMR and don't came back until if I restart YSF2DMR. With mmdvm_bridge I cannot see this problem, it's more stable (with my environment).

73 Heiko, DL1BZ


Re: Minor coredump in MMDVM_Bridge when there is a typo in the config

Steve KC1AWV
 

I think you copied the later output after you resolved the issue instead of what you intended to send.

I've never seen a core dump on a misconfigured ini file like that, and I've misconfigured a lot in MB... Though it is a bit late for me to try and replicate it. 

On Sun, Jun 2, 2019, 11:34 PM David Ranch <dvswitch-groupsio@...> wrote:

Huh.. something happened to my email.  Here is the initial run showing the core (at the bottom:

[root@ww6bay-asl MMDVM_Bridge]# /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini    
I: 2019-06-03 00:10:16.154 MMDVM_Bridge:                                                             
I: 2019-06-03 00:10:16.154 Portions Copyright (C) 2018 DVSwitch, INAD.                               
I: 2019-06-03 00:10:16.154 Hacks by Mike N4IRR and Steve N4IRS                                       
I: 2019-06-03 00:10:16.154 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-                              
I: 2019-06-03 00:10:16.154 This software is for use on amateur radio networks only,                  
I: 2019-06-03 00:10:16.154 it is to be used for educational purposes only. Its use on                
I: 2019-06-03 00:10:16.154 commercial networks is strictly prohibited.                               
I: 2019-06-03 00:10:16.154 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others               
M: 2019-06-03 00:10:16.154 MMDVM_Bridge-20180423 is starting                                         
M: 2019-06-03 00:10:16.154 Built 19:26:19 Jul 26 2018 (GitID #903ae69)                               
I: 2019-06-03 00:10:16.154 General Parameters                                                        
I: 2019-06-03 00:10:16.154     Callsign: WW6BAY                                                      
I: 2019-06-03 00:10:16.155     Id: 11068301                                                          
I: 2019-06-03 00:10:16.155     Duplex: no                                                            
I: 2019-06-03 00:10:16.155     Timeout: 180s                                                         
I: 2019-06-03 00:10:16.155     D-Star: disabled                                                      
I: 2019-06-03 00:10:16.155     DMR: enabled                                                          
I: 2019-06-03 00:10:16.155     YSF: disabled                                                         
I: 2019-06-03 00:10:16.155     P25: disabled                                                         
I: 2019-06-03 00:10:16.155     NXDN: disabled                                                        
I: 2019-06-03 00:10:16.155 Modem Parameters                                                          
I: 2019-06-03 00:10:16.155     Port: /dev/null                                                       
I: 2019-06-03 00:10:16.155     RX Invert: no                                                         
I: 2019-06-03 00:10:16.155     TX Invert: no                                                         
I: 2019-06-03 00:10:16.155     PTT Invert: no                                                        
I: 2019-06-03 00:10:16.155     TX Delay: 100ms                                                       
I: 2019-06-03 00:10:16.155     RX Offset: 0Hz                                                        
I: 2019-06-03 00:10:16.155     TX Offset: 0Hz                                                        
I: 2019-06-03 00:10:16.155     RX DC Offset: 0                                                       
I: 2019-06-03 00:10:16.155     TX DC Offset: 0                                                       
I: 2019-06-03 00:10:16.155     RF Level: 100.0%                                                      
I: 2019-06-03 00:10:16.155     DMR Delay: 0 (0.0ms)                                                  
I: 2019-06-03 00:10:16.155     RX Level: 50.0%                                                       
I: 2019-06-03 00:10:16.155     CW Id TX Level: 50.0%                                                 
I: 2019-06-03 00:10:16.155     D-Star TX Level: 50.0%                                                
I: 2019-06-03 00:10:16.155     DMR TX Level: 50.0%                                                   
I: 2019-06-03 00:10:16.155     YSF TX Level: 50.0%                                                   
I: 2019-06-03 00:10:16.155     P25 TX Level: 50.0%                                                   
I: 2019-06-03 00:10:16.155     NXDN TX Level: 50.0%                                                  
I: 2019-06-03 00:10:16.155     RX Frequency: 222340000Hz (222340000Hz)                               
I: 2019-06-03 00:10:16.156     TX Frequency: 224940000Hz (224940000Hz)                               
M: 2019-06-03 00:10:16.156 Opening the MMDVM                                                         
I: 2019-06-03 00:10:16.156 Display Parameters                                                        
I: 2019-06-03 00:10:16.156     Type:                                                                 
I: 2019-06-03 00:10:16.156 DMR Network Parameters                                                    
I: 2019-06-03 00:10:16.156     Address:                                                              
I: 2019-06-03 00:10:16.156     Port: 62031                                                           
I: 2019-06-03 00:10:16.156     Local: 62032                                                          
I: 2019-06-03 00:10:16.156     Jitter: 360ms                                                         
I: 2019-06-03 00:10:16.156     Slot 1: disabled                                                      
I: 2019-06-03 00:10:16.156     Slot 2: enabled                                                       
I: 2019-06-03 00:10:16.156     Mode Hang: 3s                                                         
MMDVM_Bridge: DMRNetwork.cpp:69: CDMRNetwork::CDMRNetwork(const string&, unsigned int, unsigned int, unsigned int, const string&, bool, const char*, bool, bool, bool, HW_TYPE): Assertion `!address.empty()' failed.                                                                                                                                                                                                        
Aborted (core dumped)                                                                                                                                                                                         
[root@ww6bay-asl MMDVM_Bridge]#


--David




On 06/02/2019 08:08 PM, Steve KC1AWV wrote:
Where's the indication of a core dump?

On Sun, Jun 2, 2019, 10:36 PM David Ranch <dvswitch-groupsio@...> wrote:

Hello Everyone,

David KI6ZHD here and I'm on the final stages of following the https://docs.google.com/document/d/1eN50Csr29eAprBu7eKA0Bfa2XUcsXw5iktY1Ey-Qjkg/edit documentation to bring up a ASL <-> DMR link.  I happened to make a small typo in the MMDVM_Bridge.ini config:

was:
   [DMR Network]
   ddress=3108.repeater.net

should be:

   [DMR Network]
   Address=3108.repeater.net


and when trying to start the MMDVM_Bridge program, it core dumped:
--
[root@ww6bay-asl MMDVM_Bridge]# /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini    
I: 2019-06-03 00:10:16.154 MMDVM_Bridge:                                                             
I: 2019-06-03 00:10:16.154 Portions Copyright (C) 2018 DVSwitch, INAD.                               
I: 2019-06-03 00:10:16.154 Hacks by Mike N4IRR and Steve N4IRS                                       
I: 2019-06-03 00:10:16.154 =                         
I: 2019-06-03 00:15:01.292 This software is for use on amateur radio networks only,             
I: 2019-06-03 00:15:01.292 it is to be used for educational purposes only. Its use on           
I: 2019-06-03 00:15:01.292 commercial networks is strictly prohibited.                          
I: 2019-06-03 00:15:01.292 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others          
M: 2019-06-03 00:15:01.292 MMDVM_Bridge-20180423 is starting                                    
M: 2019-06-03 00:15:01.292 Built 19:26:19 Jul 26 2018 (GitID #903ae69)                          
I: 2019-06-03 00:15:01.292 General Parameters                                                   
I: 2019-06-03 00:15:01.292     Callsign: WW6BAY                                                 
I: 2019-06-03 00:15:01.292     Id: 11068301                                                     
I: 2019-06-03 00:15:01.293     Duplex: no                                                       
I: 2019-06-03 00:15:01.293     Timeout: 180s                                                    
I: 2019-06-03 00:15:01.293     D-Star: disabled                                                 
I: 2019-06-03 00:15:01.293     DMR: enabled                                                     
I: 2019-06-03 00:15:01.293     YSF: disabled                                                    
I: 2019-06-03 00:15:01.293     P25: disabled                                                    
I: 2019-06-03 00:15:01.293     NXDN: disabled                                                   
I: 2019-06-03 00:15:01.293 Modem Parameters                                                     
I: 2019-06-03 00:15:01.293     Port: /dev/null                                                  
I: 2019-06-03 00:15:01.293     RX Invert: no                                                    
I: 2019-06-03 00:15:01.293     TX Invert: no                                                    
I: 2019-06-03 00:15:01.293     PTT Invert: no                                                   
I: 2019-06-03 00:15:01.294     TX Delay: 100ms                                                  
I: 2019-06-03 00:15:01.294     RX Offset: 0Hz                                                   
I: 2019-06-03 00:15:01.294     TX Offset: 0Hz                                                   
I: 2019-06-03 00:15:01.294     RX DC Offset: 0                                                  
I: 2019-06-03 00:15:01.294     TX DC Offset: 0                                                  
I: 2019-06-03 00:15:01.294     RF Level: 100.0%                                                 
I: 2019-06-03 00:15:01.294     DMR Delay: 0 (0.0ms)                                             
I: 2019-06-03 00:15:01.294     RX Level: 50.0%                                                  
I: 2019-06-03 00:15:01.295     CW Id TX Level: 50.0%                                            
I: 2019-06-03 00:15:01.295     D-Star TX Level: 50.0%                                           
I: 2019-06-03 00:15:01.295     DMR TX Level: 50.0%                                              
I: 2019-06-03 00:15:01.295     YSF TX Level: 50.0%                                              
I: 2019-06-03 00:15:01.295     P25 TX Level: 50.0%                                              
I: 2019-06-03 00:15:01.295     NXDN TX Level: 50.0%                                             
I: 2019-06-03 00:15:01.295     RX Frequency: 222340000Hz (222340000Hz)                          
I: 2019-06-03 00:15:01.295     TX Frequency: 224940000Hz (224940000Hz)                          
M: 2019-06-03 00:15:01.296 Opening the MMDVM                                                    
I: 2019-06-03 00:15:01.296 Display Parameters                                                   
I: 2019-06-03 00:15:01.296     Type:                                                            
I: 2019-06-03 00:15:01.296 DMR Network Parameters                                               
I: 2019-06-03 00:15:01.296     Address: 3108.repeater.net                                       
I: 2019-06-03 00:15:01.296     Port: 62031                                                      
I: 2019-06-03 00:15:01.296     Local: 62032                                                     
I: 2019-06-03 00:15:01.297     Jitter: 360ms                                                    
I: 2019-06-03 00:15:01.297     Slot 1: disabled                                                 
I: 2019-06-03 00:15:01.297     Slot 2: enabled                                                  
I: 2019-06-03 00:15:01.297     Mode Hang: 3s                                                    
I: 2019-06-03 00:15:01.475 Info Parameters                                                      
I: 2019-06-03 00:15:01.476     Callsign: WW6BAY                                                 
I: 2019-06-03 00:15:01.476     RX Frequency: 222340000Hz                                        
I: 2019-06-03 00:15:01.476     TX Frequency: 224940000Hz                                        
I: 2019-06-03 00:15:01.476     Power: 1W                                                        
I: 2019-06-03 00:15:01.476     Latitude: 41.733299deg N                                         
I: 2019-06-03 00:15:01.476     Longitude: -50.399899deg E                                       
I: 2019-06-03 00:15:01.476     Height: 0m                                                       
I: 2019-06-03 00:15:01.476     Location: "Iceberg, North Atlantic"                              
I: 2019-06-03 00:15:01.476     Description: "MMDVM_Bridge"                                      
I: 2019-06-03 00:15:01.476     URL: "https://groups.io/g/DVSwitch"                              
M: 2019-06-03 00:15:01.476 DMR, Opening DMR Network                                             
I: 2019-06-03 00:15:01.476 RSSI                                                                 
I: 2019-06-03 00:15:01.476     Mapping File: RSSI.dat
W: 2019-06-03 00:15:01.476 Cannot open the RSSI data file - RSSI.dat
I: 2019-06-03 00:15:01.476 DMR Id Lookups
I: 2019-06-03 00:15:01.476     File: /var/lib/mmdvm/DMRIds.dat
I: 2019-06-03 00:15:01.476     Reload: 24 hours
I: 2019-06-03 00:15:01.997 Loaded 96141 Ids to the DMR callsign lookup table
I: 2019-06-03 00:15:01.997 DMR RF Parameters
I: 2019-06-03 00:15:01.997     Id: 11068301
I: 2019-06-03 00:15:01.997     Color Code: 1
I: 2019-06-03 00:15:01.997     Self Only: no
I: 2019-06-03 00:15:01.997     Embedded LC Only: yes
I: 2019-06-03 00:15:01.997     Dump Talker Alias Data: no
I: 2019-06-03 00:15:01.997     Prefixes: 0
I: 2019-06-03 00:15:01.997     Call Hang: 3s
I: 2019-06-03 00:15:01.997     TX Hang: 3s
I: 2019-06-03 00:15:01.997     Mode Hang: 10s
M: 2019-06-03 00:15:01.997 DMR, Opening INI file: DVSwitch.ini
M: 2019-06-03 00:15:01.998 DMR, Setting [DMR] Address -> 127.0.0.1
M: 2019-06-03 00:15:01.998 DMR, Setting [DMR] TXPort -> 31100
M: 2019-06-03 00:15:01.998 DMR, Setting [DMR] RXPort -> 31103
M: 2019-06-03 00:15:01.998 DMR, Setting [DMR] Slot -> 2
M: 2019-06-03 00:15:01.998 DMR, Transmitting on 127.0.0.1:31100 and listening on port 31103.  Result = 1
M: 2019-06-03 00:15:01.998 MMDVM_Bridge-20180423 is running
I: 2019-06-03 00:15:01.998 Started the DMR Id lookup reload thread
D: 2019-06-03 00:15:12.063 DMR, Sending authorisation
D: 2019-06-03 00:15:12.130 DMR, Sending configuration
M: 2019-06-03 00:15:12.196 DMR, Logged into the master successfully
^CM: 2019-06-03 01:05:40.041 Closing the MMDVM
I: 2019-06-03 01:05:40.219 Stopped the DMR Id lookup reload thread
M: 2019-06-03 01:05:40.219 DMR, Closing DMR Network
I: 2019-06-03 01:05:40.219 MMDVM_Bridge-20180423 exited on receipt of SIGINT
--


I thought I'd report the error since a program should ideally never coredump

--David
KI6ZHD


Re: Minor coredump in MMDVM_Bridge when there is a typo in the config

David Ranch
 


Huh.. something happened to my email.  Here is the initial run showing the core (at the bottom:

[root@ww6bay-asl MMDVM_Bridge]# /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini    
I: 2019-06-03 00:10:16.154 MMDVM_Bridge:                                                             
I: 2019-06-03 00:10:16.154 Portions Copyright (C) 2018 DVSwitch, INAD.                               
I: 2019-06-03 00:10:16.154 Hacks by Mike N4IRR and Steve N4IRS                                       
I: 2019-06-03 00:10:16.154 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-                              
I: 2019-06-03 00:10:16.154 This software is for use on amateur radio networks only,                  
I: 2019-06-03 00:10:16.154 it is to be used for educational purposes only. Its use on                
I: 2019-06-03 00:10:16.154 commercial networks is strictly prohibited.                               
I: 2019-06-03 00:10:16.154 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others               
M: 2019-06-03 00:10:16.154 MMDVM_Bridge-20180423 is starting                                         
M: 2019-06-03 00:10:16.154 Built 19:26:19 Jul 26 2018 (GitID #903ae69)                               
I: 2019-06-03 00:10:16.154 General Parameters                                                        
I: 2019-06-03 00:10:16.154     Callsign: WW6BAY                                                      
I: 2019-06-03 00:10:16.155     Id: 11068301                                                          
I: 2019-06-03 00:10:16.155     Duplex: no                                                            
I: 2019-06-03 00:10:16.155     Timeout: 180s                                                         
I: 2019-06-03 00:10:16.155     D-Star: disabled                                                      
I: 2019-06-03 00:10:16.155     DMR: enabled                                                          
I: 2019-06-03 00:10:16.155     YSF: disabled                                                         
I: 2019-06-03 00:10:16.155     P25: disabled                                                         
I: 2019-06-03 00:10:16.155     NXDN: disabled                                                        
I: 2019-06-03 00:10:16.155 Modem Parameters                                                          
I: 2019-06-03 00:10:16.155     Port: /dev/null                                                       
I: 2019-06-03 00:10:16.155     RX Invert: no                                                         
I: 2019-06-03 00:10:16.155     TX Invert: no                                                         
I: 2019-06-03 00:10:16.155     PTT Invert: no                                                        
I: 2019-06-03 00:10:16.155     TX Delay: 100ms                                                       
I: 2019-06-03 00:10:16.155     RX Offset: 0Hz                                                        
I: 2019-06-03 00:10:16.155     TX Offset: 0Hz                                                        
I: 2019-06-03 00:10:16.155     RX DC Offset: 0                                                       
I: 2019-06-03 00:10:16.155     TX DC Offset: 0                                                       
I: 2019-06-03 00:10:16.155     RF Level: 100.0%                                                      
I: 2019-06-03 00:10:16.155     DMR Delay: 0 (0.0ms)                                                  
I: 2019-06-03 00:10:16.155     RX Level: 50.0%                                                       
I: 2019-06-03 00:10:16.155     CW Id TX Level: 50.0%                                                 
I: 2019-06-03 00:10:16.155     D-Star TX Level: 50.0%                                                
I: 2019-06-03 00:10:16.155     DMR TX Level: 50.0%                                                   
I: 2019-06-03 00:10:16.155     YSF TX Level: 50.0%                                                   
I: 2019-06-03 00:10:16.155     P25 TX Level: 50.0%                                                   
I: 2019-06-03 00:10:16.155     NXDN TX Level: 50.0%                                                  
I: 2019-06-03 00:10:16.155     RX Frequency: 222340000Hz (222340000Hz)                               
I: 2019-06-03 00:10:16.156     TX Frequency: 224940000Hz (224940000Hz)                               
M: 2019-06-03 00:10:16.156 Opening the MMDVM                                                         
I: 2019-06-03 00:10:16.156 Display Parameters                                                        
I: 2019-06-03 00:10:16.156     Type:                                                                 
I: 2019-06-03 00:10:16.156 DMR Network Parameters                                                    
I: 2019-06-03 00:10:16.156     Address:                                                              
I: 2019-06-03 00:10:16.156     Port: 62031                                                           
I: 2019-06-03 00:10:16.156     Local: 62032                                                          
I: 2019-06-03 00:10:16.156     Jitter: 360ms                                                         
I: 2019-06-03 00:10:16.156     Slot 1: disabled                                                      
I: 2019-06-03 00:10:16.156     Slot 2: enabled                                                       
I: 2019-06-03 00:10:16.156     Mode Hang: 3s                                                         
MMDVM_Bridge: DMRNetwork.cpp:69: CDMRNetwork::CDMRNetwork(const string&, unsigned int, unsigned int, unsigned int, const string&, bool, const char*, bool, bool, bool, HW_TYPE): Assertion `!address.empty()' failed.                                                                                                                                                                                                        
Aborted (core dumped)                                                                                                                                                                                         
[root@ww6bay-asl MMDVM_Bridge]#


--David




On 06/02/2019 08:08 PM, Steve KC1AWV wrote:
Where's the indication of a core dump?

On Sun, Jun 2, 2019, 10:36 PM David Ranch <dvswitch-groupsio@...> wrote:

Hello Everyone,

David KI6ZHD here and I'm on the final stages of following the https://docs.google.com/document/d/1eN50Csr29eAprBu7eKA0Bfa2XUcsXw5iktY1Ey-Qjkg/edit documentation to bring up a ASL <-> DMR link.  I happened to make a small typo in the MMDVM_Bridge.ini config:

was:
   [DMR Network]
   ddress=3108.repeater.net

should be:

   [DMR Network]
   Address=3108.repeater.net


and when trying to start the MMDVM_Bridge program, it core dumped:
--
[root@ww6bay-asl MMDVM_Bridge]# /opt/MMDVM_Bridge/MMDVM_Bridge /opt/MMDVM_Bridge/MMDVM_Bridge.ini    
I: 2019-06-03 00:10:16.154 MMDVM_Bridge:                                                             
I: 2019-06-03 00:10:16.154 Portions Copyright (C) 2018 DVSwitch, INAD.                               
I: 2019-06-03 00:10:16.154 Hacks by Mike N4IRR and Steve N4IRS                                       
I: 2019-06-03 00:10:16.154 =                         
I: 2019-06-03 00:15:01.292 This software is for use on amateur radio networks only,             
I: 2019-06-03 00:15:01.292 it is to be used for educational purposes only. Its use on           
I: 2019-06-03 00:15:01.292 commercial networks is strictly prohibited.                          
I: 2019-06-03 00:15:01.292 Copyright(C) 2015-2018 by Jonathan Naylor, G4KLX and others          
M: 2019-06-03 00:15:01.292 MMDVM_Bridge-20180423 is starting                                    
M: 2019-06-03 00:15:01.292 Built 19:26:19 Jul 26 2018 (GitID #903ae69)                          
I: 2019-06-03 00:15:01.292 General Parameters                                                   
I: 2019-06-03 00:15:01.292     Callsign: WW6BAY                                                 
I: 2019-06-03 00:15:01.292     Id: 11068301                                                     
I: 2019-06-03 00:15:01.293     Duplex: no                                                       
I: 2019-06-03 00:15:01.293     Timeout: 180s                                                    
I: 2019-06-03 00:15:01.293     D-Star: disabled                                                 
I: 2019-06-03 00:15:01.293     DMR: enabled                                                     
I: 2019-06-03 00:15:01.293     YSF: disabled                                                    
I: 2019-06-03 00:15:01.293     P25: disabled                                                    
I: 2019-06-03 00:15:01.293     NXDN: disabled                                                   
I: 2019-06-03 00:15:01.293 Modem Parameters                                                     
I: 2019-06-03 00:15:01.293     Port: /dev/null                                                  
I: 2019-06-03 00:15:01.293     RX Invert: no                                                    
I: 2019-06-03 00:15:01.293     TX Invert: no                                                    
I: 2019-06-03 00:15:01.293     PTT Invert: no                                                   
I: 2019-06-03 00:15:01.294     TX Delay: 100ms                                                  
I: 2019-06-03 00:15:01.294     RX Offset: 0Hz                                                   
I: 2019-06-03 00:15:01.294     TX Offset: 0Hz                                                   
I: 2019-06-03 00:15:01.294     RX DC Offset: 0                                                  
I: 2019-06-03 00:15:01.294     TX DC Offset: 0                                                  
I: 2019-06-03 00:15:01.294     RF Level: 100.0%                                                 
I: 2019-06-03 00:15:01.294     DMR Delay: 0 (0.0ms)                                             
I: 2019-06-03 00:15:01.294     RX Level: 50.0%                                                  
I: 2019-06-03 00:15:01.295     CW Id TX Level: 50.0%                                            
I: 2019-06-03 00:15:01.295     D-Star TX Level: 50.0%                                           
I: 2019-06-03 00:15:01.295     DMR TX Level: 50.0%                                              
I: 2019-06-03 00:15:01.295     YSF TX Level: 50.0%                                              
I: 2019-06-03 00:15:01.295     P25 TX Level: 50.0%                                              
I: 2019-06-03 00:15:01.295     NXDN TX Level: 50.0%                                             
I: 2019-06-03 00:15:01.295     RX Frequency: 222340000Hz (222340000Hz)                          
I: 2019-06-03 00:15:01.295     TX Frequency: 224940000Hz (224940000Hz)                          
M: 2019-06-03 00:15:01.296 Opening the MMDVM                                                    
I: 2019-06-03 00:15:01.296 Display Parameters                                                   
I: 2019-06-03 00:15:01.296     Type:                                                            
I: 2019-06-03 00:15:01.296 DMR Network Parameters                                               
I: 2019-06-03 00:15:01.296     Address: 3108.repeater.net                                       
I: 2019-06-03 00:15:01.296     Port: 62031                                                      
I: 2019-06-03 00:15:01.296     Local: 62032                                                     
I: 2019-06-03 00:15:01.297     Jitter: 360ms                                                    
I: 2019-06-03 00:15:01.297     Slot 1: disabled                                                 
I: 2019-06-03 00:15:01.297     Slot 2: enabled                                                  
I: 2019-06-03 00:15:01.297     Mode Hang: 3s                                                    
I: 2019-06-03 00:15:01.475 Info Parameters                                                      
I: 2019-06-03 00:15:01.476     Callsign: WW6BAY                                                 
I: 2019-06-03 00:15:01.476     RX Frequency: 222340000Hz                                        
I: 2019-06-03 00:15:01.476     TX Frequency: 224940000Hz                                        
I: 2019-06-03 00:15:01.476     Power: 1W                                                        
I: 2019-06-03 00:15:01.476     Latitude: 41.733299deg N                                         
I: 2019-06-03 00:15:01.476     Longitude: -50.399899deg E                                       
I: 2019-06-03 00:15:01.476     Height: 0m                                                       
I: 2019-06-03 00:15:01.476     Location: "Iceberg, North Atlantic"                              
I: 2019-06-03 00:15:01.476     Description: "MMDVM_Bridge"                                      
I: 2019-06-03 00:15:01.476     URL: "https://groups.io/g/DVSwitch"                              
M: 2019-06-03 00:15:01.476 DMR, Opening DMR Network                                             
I: 2019-06-03 00:15:01.476 RSSI                                                                 
I: 2019-06-03 00:15:01.476     Mapping File: RSSI.dat
W: 2019-06-03 00:15:01.476 Cannot open the RSSI data file - RSSI.dat
I: 2019-06-03 00:15:01.476 DMR Id Lookups
I: 2019-06-03 00:15:01.476     File: /var/lib/mmdvm/DMRIds.dat
I: 2019-06-03 00:15:01.476     Reload: 24 hours
I: 2019-06-03 00:15:01.997 Loaded 96141 Ids to the DMR callsign lookup table
I: 2019-06-03 00:15:01.997 DMR RF Parameters
I: 2019-06-03 00:15:01.997     Id: 11068301
I: 2019-06-03 00:15:01.997     Color Code: 1
I: 2019-06-03 00:15:01.997     Self Only: no
I: 2019-06-03 00:15:01.997     Embedded LC Only: yes
I: 2019-06-03 00:15:01.997     Dump Talker Alias Data: no
I: 2019-06-03 00:15:01.997     Prefixes: 0
I: 2019-06-03 00:15:01.997     Call Hang: 3s
I: 2019-06-03 00:15:01.997     TX Hang: 3s
I: 2019-06-03 00:15:01.997     Mode Hang: 10s
M: 2019-06-03 00:15:01.997 DMR, Opening INI file: DVSwitch.ini
M: 2019-06-03 00:15:01.998 DMR, Setting [DMR] Address -> 127.0.0.1
M: 2019-06-03 00:15:01.998 DMR, Setting [DMR] TXPort -> 31100
M: 2019-06-03 00:15:01.998 DMR, Setting [DMR] RXPort -> 31103
M: 2019-06-03 00:15:01.998 DMR, Setting [DMR] Slot -> 2
M: 2019-06-03 00:15:01.998 DMR, Transmitting on 127.0.0.1:31100 and listening on port 31103.  Result = 1
M: 2019-06-03 00:15:01.998 MMDVM_Bridge-20180423 is running
I: 2019-06-03 00:15:01.998 Started the DMR Id lookup reload thread
D: 2019-06-03 00:15:12.063 DMR, Sending authorisation
D: 2019-06-03 00:15:12.130 DMR, Sending configuration
M: 2019-06-03 00:15:12.196 DMR, Logged into the master successfully
^CM: 2019-06-03 01:05:40.041 Closing the MMDVM
I: 2019-06-03 01:05:40.219 Stopped the DMR Id lookup reload thread
M: 2019-06-03 01:05:40.219 DMR, Closing DMR Network
I: 2019-06-03 01:05:40.219 MMDVM_Bridge-20180423 exited on receipt of SIGINT
--


I thought I'd report the error since a program should ideally never coredump

--David
KI6ZHD

5601 - 5620 of 9595