ASL - Analog - HB Bridge help please


F1TZO - Michel
 

Hi Steve and all

I write from France, so please, sorry for my English ;-)

So, I try to make working ASL <-> Analog_Bridge <-> HB_Bridge  to link Echolink with DMR.
I installed ASL in a VM and Analog_Brige + HB_Bridge in an other VM.
I have a Raspi with a DV3000U and AMBEserver running
And I have a MMDVM Hotspot connected on the HB_Bridge in DMR

After looking a lot the messages in the group, I made the configurations and the results are :
- MMDVM Hostspot is connected on HB_Bridge : OK
- ASL + HB_Bridge + Analog_bridge are started
- DMR to ASL : OK sound's good
- ASL to DMR : Nothing, no TX, no log in Analog_bridge
I don't see any error in the logs.

So .... I need help ;-) and when it'll work, I have to find how connect this to BM ....

Here are my config files in attach.

Thanks for your works and your help

Regards,

Michel - F1TZO


Steve N4IRS
 

Michel,
In Analog_Bridge.ini you have this in the AMBE_Audio section:
gatewayDmrId = 2088012        ; ID to use when transmitting from Analog_Bridge
repeaterID = 2088012        ; ID of source repeater

gatewayDmrid is the ID that will display on the DMR radio when someone transmits from analog
repeaterID is the DMR ID of the repeater the signal is coming from.
Thay can not be the same. If you have a real DMR repeater ID, use it. Otherwise, add a 1 to your repeaterID so that it is 12088012

73, Steve N4IRS

On 02/13/2018 06:57 PM, F1TZO - Michel wrote:
Hi Steve and all

I write from France, so please, sorry for my English ;-)

So, I try to make working ASL <-> Analog_Bridge <-> HB_Bridge  to link Echolink with DMR.
I installed ASL in a VM and Analog_Brige + HB_Bridge in an other VM.
I have a Raspi with a DV3000U and AMBEserver running
And I have a MMDVM Hotspot connected on the HB_Bridge in DMR

After looking a lot the messages in the group, I made the configurations and the results are :
- MMDVM Hostspot is connected on HB_Bridge : OK
- ASL + HB_Bridge + Analog_bridge are started
- DMR to ASL : OK sound's good
- ASL to DMR : Nothing, no TX, no log in Analog_bridge
I don't see any error in the logs.

So .... I need help ;-) and when it'll work, I have to find how connect this to BM ....

Here are my config files in attach.

Thanks for your works and your help

Regards,

Michel - F1TZO




F1TZO - Michel
 

Hi Steve,

Thanks, I did the correction, but always nothing from ASL (Echolink) to DMR.

In fact, when I speak from DMR to ASL, in the Analog_bride logs, I see the TX, but when I speak from ASL to DMr, I didn't see anything.

Here are the analog_bridge log, start, speak from DMR (2 times) and after speak from ASL :

I: 2018-02-14 20:57:47.337 Analog_Bridge - Version 20170719
M: 2018-02-14 20:57:47.337 Setting [GENERAL] logLevel -> 2
M: 2018-02-14 20:57:47.337 Setting [GENERAL] outputAudioDevice -> /dev/null
M: 2018-02-14 20:57:47.337 Setting [GENERAL] inputAudioDevice -> /dev/null
M: 2018-02-14 20:57:47.337 Setting [GENERAL] decoderFallBack -> false
M: 2018-02-14 20:57:47.337 Setting [GENERAL] useMicrophone -> false
M: 2018-02-14 20:57:47.337 Setting [GENERAL] useVox -> True
M: 2018-02-14 20:57:47.338 Setting [GENERAL] voxDecay -> 2
M: 2018-02-14 20:57:47.338 Setting [GENERAL] voxTrigger -> 200
M: 2018-02-14 20:57:47.338 Setting [AMBE_AUDIO] server -> 127.0.0.1
M: 2018-02-14 20:57:47.338 Setting [AMBE_AUDIO] fromDMRPort -> 31002
M: 2018-02-14 20:57:47.338 Setting [AMBE_AUDIO] toDMRPort -> 31003
M: 2018-02-14 20:57:47.338 Setting [AMBE_AUDIO] ambeSize -> 72
M: 2018-02-14 20:57:47.338 Setting [AMBE_AUDIO] minTxTimeMS -> 2000
M: 2018-02-14 20:57:47.338 Setting [AMBE_AUDIO] gatewayDmrId -> 2088012
M: 2018-02-14 20:57:47.338 Setting [AMBE_AUDIO] repeaterID -> 12088012
M: 2018-02-14 20:57:47.338 Setting [AMBE_AUDIO] txTg -> 20815
M: 2018-02-14 20:57:47.338 Setting [AMBE_AUDIO] txTs -> 2
M: 2018-02-14 20:57:47.338 Setting [AMBE_AUDIO] colorCode -> 1
M: 2018-02-14 20:57:47.338 Setting [USRP] server -> 192.168.200.83
M: 2018-02-14 20:57:47.338 Setting [USRP] toASLPort -> 32001
M: 2018-02-14 20:57:47.338 Setting [USRP] fromASLPort -> 34001
M: 2018-02-14 20:57:47.338 Setting [USRP] aslAudio -> AUDIO_USE_AGC
M: 2018-02-14 20:57:47.338 Setting [USRP] agcGain -> -20
M: 2018-02-14 20:57:47.338 Setting [USRP] dmrAudio -> AUDIO_UNITY
M: 2018-02-14 20:57:47.338 Setting [USRP] dmrGain -> 0.95
M: 2018-02-14 20:57:47.338 Setting [DV3000] server -> 192.168.200.81
M: 2018-02-14 20:57:47.338 Setting [DV3000] port -> 2461
W: 2018-02-14 20:57:47.338 ioctl reset error
W: 2018-02-14 20:57:47.338 ioctl speed error
W: 2018-02-14 20:57:47.338 ioctl stereo error
W: 2018-02-14 20:57:47.338 ioctl setfmt error
M: 2018-02-14 20:57:47.338 Audio In/Out Device: /dev/null
I: 2018-02-14 20:57:47.339 Open UDP listener on 127.0.0.1:31002
I: 2018-02-14 20:57:47.339 Open USRP on 192.168.200.83:32001
M: 2018-02-14 20:57:47.339 Connecting to DV3000 hardware......
M: 2018-02-14 20:57:47.352 Begin DV3000 decode
I: 2018-02-14 20:57:47.408 Subscriber IDs loaded: 73611
I: 2018-02-14 20:57:47.408 Using hardware AMBE decoder
I: 2018-02-14 20:57:47.408 Starting Analog_Bridge --> USRP thread
I: 2018-02-14 20:57:47.408 Open UDP listener on 192.168.200.83:34001
I: 2018-02-14 20:57:47.408 Starting USRP --> HB_Bridge thread
I: 2018-02-14 20:58:04.521 Begin TX: src=2088006 rpt=2088006 dst=20815 slot=2 cc=1
I: 2018-02-14 20:58:04.712 Connected to USRP 192.168.200.83:32001
I: 2018-02-14 21:01:35.249 Begin TX: src=2088006 rpt=2088006 dst=20815 slot=2 cc=1


Thanks for your help

Regards,

Michel - F1TZO

----

Le 14/02/2018 à 01:16, Steve N4IRS a écrit :
Michel,
In Analog_Bridge.ini you have this in the AMBE_Audio section:
gatewayDmrId = 2088012        ; ID to use when transmitting from Analog_Bridge
repeaterID = 2088012        ; ID of source repeater

gatewayDmrid is the ID that will display on the DMR radio when someone transmits from analog
repeaterID is the DMR ID of the repeater the signal is coming from.
Thay can not be the same. If you have a real DMR repeater ID, use it. Otherwise, add a 1 to your repeaterID so that it is 12088012

73, Steve N4IRS


On 02/13/2018 06:57 PM, F1TZO - Michel wrote:
Hi Steve and all

I write from France, so please, sorry for my English ;-)

So, I try to make working ASL <-> Analog_Bridge <-> HB_Bridge  to link Echolink with DMR.
I installed ASL in a VM and Analog_Brige + HB_Bridge in an other VM.
I have a Raspi with a DV3000U and AMBEserver running
And I have a MMDVM Hotspot connected on the HB_Bridge in DMR

After looking a lot the messages in the group, I made the configurations and the results are :
- MMDVM Hostspot is connected on HB_Bridge : OK
- ASL + HB_Bridge + Analog_bridge are started
- DMR to ASL : OK sound's good
- ASL to DMR : Nothing, no TX, no log in Analog_bridge
I don't see any error in the logs.

So .... I need help ;-) and when it'll work, I have to find how connect this to BM ....

Here are my config files in attach.

Thanks for your works and your help

Regards,

Michel - F1TZO










F1TZO - Michel
 

Hi Steve

Sorry, I found !
In my rpt.conf, my IP address for USRP pointed to local and I had to change it to the IP where the Analog_Bridge is running.

Now I have sound from ASL to DMR and from DMR to ASL ;-)

Next step, connect HB_Bridge with BM ..... I will try to find in the DVSwith group ;-)

I did this config in hblink.cfg, it'ssems to connect but when I speak on DMr, I listen me on hoseline, but nothing come to hb_bridge


# PROGRAM-WIDE PARAMETERS GO HERE
# PATH - working path for files, leave it alone unless you NEED to change it
# PING_TIME - the interval that clients will ping the master, and re-try registraion
#           - how often the Master maintenance loop runs
# MAX_MISSED - how many pings are missed before we give up and re-register
#           - number of times the master maintenance loop runs before de-registering a client
[GLOBAL]
PATH: ./
PING_TIME: 5
MAX_MISSED: 3

# SYSTEM LOGGER CONFIGURAITON
#   This allows the logger to be configured without chaning the individual
#   python logger stuff. LOG_FILE should be a complete path/filename for *your*
#   system -- use /dev/null for non-file handlers.
#   LOG_HANDERLS may be any of the following, please, no spaces in the
#   list if you use several:
#       null
#       console
#       console-timed
#       file
#       file-timed
#       syslog
#   LOG_LEVEL may be any of the standard syslog logging levels, though
#   as of now, DEBUG, INFO, WARNING and CRITICAL are the only ones
#   used.
#
[LOGGER]
LOG_FILE: /tmp/hblink.log
LOG_HANDLERS: console-timed
LOG_LEVEL: DEBUG
LOG_NAME: HBlink
# DOWNLOAD AND IMPORT SUBSCRIBER, PEER and TGID ALIASES
# Ok, not the TGID, there's no master list I know of to download
# This is intended as a facility for other applcations built on top of
# HBlink to use, and will NOT be used in HBlink directly.
# STALE_DAYS is the number of days since the last download before we
# download again. Don't be an ass and change this to less than a few days.
[ALIASES]
TRY_DOWNLOAD: True
PATH: ./
PEER_FILE: peer_ids.csv
SUBSCRIBER_FILE: subscriber_ids.csv
TGID_FILE: talkgroup_ids.csv
PEER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=repeaters&format=csv&header=0
SUBSCRIBER_URL: http://www.dmr-marc.net/cgi-bin/trbo-database/datadump.cgi?table=users&format=csv&header=0
STALE_DAYS: 7

# EXPORT AMBE DATA
# This is for exporting AMBE audio frames to an an "external" process for
# decoding or other nefarious actions.
[AMBE]
EXPORT_IP: 127.0.0.1
EXPORT_PORT: 1234

# MASTER INSTANCES - DUPLICATE SECTION FOR MULTIPLE MASTERS
# HomeBrew Protocol Master instances go here.
# IP may be left blank if there's one interface on your system.
# Port should be the port you want this master to listen on. It must be unique
# and unused by anything else.
# Repeat - if True, the master repeats traffic to clients, False, it does nothing.
[MASTER-1]
MODE: MASTER
ENABLED: False
REPEAT: True
EXPORT_AMBE: False
IP:
PORT: 54000
##PORT: 62031
#PASSPHRASE: s3cr37w0rd
PASSPHRASE: passw0rd
GROUP_HANGTIME: 5

# CLIENT INSTANCES - DUPLICATE SECTION FOR MULTIPLE CLIENTS
# There are a LOT of errors in the HB Protocol specifications on this one!
# MOST of these items are just strings and will be properly dealt with by the program
# The TX & RX Frequencies are 9-digit numbers, and are the frequency in Hz.
# Latitude is an 8-digit unsigned floating point number.
# Longitude is a 9-digit signed floating point number.
# Height is in meters
[REPEATER-1]
MODE: CLIENT
ENABLED: True
EXPORT_AMBE: False
IP:
PORT: 54001
MASTER_IP: 213.222.29.197
MASTER_PORT: 62031
#MASTER_PORT: 62031
PASSPHRASE: passw0rd
CALLSIGN: F1ZHH
RADIO_ID: 2088012
RX_FREQ: 439000000
TX_FREQ: 434000000
TX_POWER: 25
COLORCODE: 1
SLOTS: 1
LATITUDE: 38.0000
LONGITUDE: -095.0000
HEIGHT: 75
LOCATION: Anywhere, FR
DESCRIPTION: This is a cool repeater
URL: www.f1tzo.com
SOFTWARE_ID: 20170529
PACKAGE_ID: MMDVM_HBlink
GROUP_HANGTIME: 5
OPTIONS:


73, Michel - F1TZO


F1TZO - Michel
 

Done !!!

Everything in working !

Thanks Steve for your help and for your work !

I launch in test just a few minutes ago the "French Open Networks" with all gateway : Analog/DMR/C4FM/DStar
It's done because you (Steve), Jonathan (G4KLX), Andy (CA6JAU) and Rudy (PD0ZRY) provide cool software and nice work and help.

Thanks to all of you

Michel - F1TZO


Chris Andrist, KC7WSU
 

Michel,

Can you share what you did with the rest of us?

Regards,

Chris Andrist, KC7WSU
DMR-UTAH

On Feb 15, 2018, at 5:02 PM, F1TZO - Michel <michel@...> wrote:

Done !!!

Everything in working !

Thanks Steve for your help and for your work !

I launch in test just a few minutes ago the "French Open Networks" with all gateway : Analog/DMR/C4FM/DStar
It's done because you (Steve), Jonathan (G4KLX), Andy (CA6JAU) and Rudy (PD0ZRY) provide cool software and nice work and help.

Thanks to all of you

Michel - F1TZO


F1TZO - Michel
 

Hi Chris

Of course I'll share this.
A short version before the Word Mobile Congress un Barcelona, because I run after time ;-)
Do you want config files ?

73'

Michel - F1TZO
Sent from my smartphone
Le 16 févr. 2018, à 01:09, "Chris Andrist, KC7WSU" <chris.andrist@...> a écrit:

Michel,

Can you share what you did with the rest of us?

Regards,

Chris Andrist, KC7WSU
DMR-UTAH

On Feb 15, 2018, at 5:02 PM, F1TZO - Michel < michel@...> wrote:

Done !!!

Everything in working !

Thanks Steve for your help and for your work !

I launch in test just a few minutes ago the "French Open Networks" with all gateway : Analog/DMR/C4FM/DStar
It's done because you (Steve), Jonathan (G4KLX), Andy (CA6JAU) and Rudy (PD0ZRY) provide cool software and nice work and help.

Thanks to all of you

Michel - F1TZO


Eric N0NKI
 

Hello Michel,

I like Chris and many others would be interested in configuration files and any other information about your project.

73 - Thank you
  NØNKI - Eric

On Fri, Feb 16, 2018 at 8:43 AM, F1TZO - Michel <michel@...> wrote:
Hi Chris

Of course I'll share this.
A short version before the Word Mobile Congress un Barcelona, because I run after time ;-)
Do you want config files ?

73'

Michel - F1TZO
Sent from my smartphone
Le 16 févr. 2018, à 01:09, "Chris Andrist, KC7WSU" <chris.andrist@...> a écrit:
Michel,

Can you share what you did with the rest of us?

Regards,

Chris Andrist, KC7WSU
DMR-UTAH

On Feb 15, 2018, at 5:02 PM, F1TZO - Michel < michel@...> wrote:

Done !!!

Everything in working !

Thanks Steve for your help and for your work !

I launch in test just a few minutes ago the "French Open Networks" with all gateway : Analog/DMR/C4FM/DStar
It's done because you (Steve), Jonathan (G4KLX), Andy (CA6JAU) and Rudy (PD0ZRY) provide cool software and nice work and help.

Thanks to all of you

Michel - F1TZO



Steve N4IRS
 

Do I need to post a set of "working" config files for a BM <---> ASL bridge in the files section.
I THOUGHT the default files work except for login and IDs

Steve

On 2/16/2018 9:45 AM, Eric N0NKI wrote:
Hello Michel,

I like Chris and many others would be interested in configuration files and any other information about your project.

73 - Thank you
  NØNKI - Eric

On Fri, Feb 16, 2018 at 8:43 AM, F1TZO - Michel <michel@...> wrote:
Hi Chris

Of course I'll share this.
A short version before the Word Mobile Congress un Barcelona, because I run after time ;-)
Do you want config files ?

73'

Michel - F1TZO
Sent from my smartphone
Le 16 févr. 2018, à 01:09, "Chris Andrist, KC7WSU" <chris.andrist@...> a écrit:
Michel,

Can you share what you did with the rest of us?

Regards,

Chris Andrist, KC7WSU
DMR-UTAH

On Feb 15, 2018, at 5:02 PM, F1TZO - Michel < michel@...> wrote:

Done !!!

Everything in working !

Thanks Steve for your help and for your work !

I launch in test just a few minutes ago the "French Open Networks" with all gateway : Analog/DMR/C4FM/DStar
It's done because you (Steve), Jonathan (G4KLX), Andy (CA6JAU) and Rudy (PD0ZRY) provide cool software and nice work and help.

Thanks to all of you

Michel - F1TZO



F1TZO - Michel
 

Hi Steve,

You are totally right ! the config files are fine and the comments include are clear.
The 3 issues I had was :
    - ID for the repeater need to be different from the user ID , and thanks for the solition to add "1" before the user ID to do a Fake ID who work fine.
    - I use 2 VM : First for AllStar, second for HB_Bridge and Analog_Bridge. My issue was in "rpt.conf" : to use the USRP, the right IPaddress is the IP  where Analog_Bridge is running, I was using local IP.
    - With BM : Need to access to the selfcare to add static routing for the used TG.

I really have to thanks you Steve, I appreciated your softs, how their include comments, and your kindless to answer questions.
In few time I was able to build and running the systems !

If I can help in return, I'll be a pleasure

Kind regards

Michel - F1TZO
(I hope my English is not to bad ;-) )
-------

Le 16/02/2018 à 15:55, Steve N4IRS a écrit :
Do I need to post a set of "working" config files for a BM <---> ASL bridge in the files section.
I THOUGHT the default files work except for login and IDs

Steve

On 2/16/2018 9:45 AM, Eric N0NKI wrote:
Hello Michel,

I like Chris and many others would be interested in configuration files and any other information about your project.

73 - Thank you
  NØNKI - Eric

On Fri, Feb 16, 2018 at 8:43 AM, F1TZO - Michel <michel@...> wrote:
Hi Chris

Of course I'll share this.
A short version before the Word Mobile Congress un Barcelona, because I run after time ;-)
Do you want config files ?

73'

Michel - F1TZO
Sent from my smartphone
Le 16 févr. 2018, à 01:09, "Chris Andrist, KC7WSU" <chris.andrist@...> a écrit:
Michel,

Can you share what you did with the rest of us?

Regards,

Chris Andrist, KC7WSU
DMR-UTAH

On Feb 15, 2018, at 5:02 PM, F1TZO - Michel < michel@...> wrote:

Done !!!

Everything in working !

Thanks Steve for your help and for your work !

I launch in test just a few minutes ago the "French Open Networks" with all gateway : Analog/DMR/C4FM/DStar
It's done because you (Steve), Jonathan (G4KLX), Andy (CA6JAU) and Rudy (PD0ZRY) provide cool software and nice work and help.

Thanks to all of you

Michel - F1TZO




Steve N4IRS
 

Michel,
Your English is fine and MUCH better then my French. Yes, anytime you split up among a number of hosts, it gets a little more complex. We are also changing Analog_Bridge.ini to use a clearer format for host and port. 127.0.0.1:31000 I will continue to work on the comments in the config files to help people get up and running quicker. Some error checking is being included so that people get warned if the repeater ID and the user ID are the same (a common error)

73, Steve N4IRS

On 2/16/2018 11:36 AM, F1TZO - Michel wrote:
Hi Steve,

You are totally right ! the config files are fine and the comments include are clear.
The 3 issues I had was :
    - ID for the repeater need to be different from the user ID , and thanks for the solition to add "1" before the user ID to do a Fake ID who work fine.
    - I use 2 VM : First for AllStar, second for HB_Bridge and Analog_Bridge. My issue was in "rpt.conf" : to use the USRP, the right IPaddress is the IP  where Analog_Bridge is running, I was using local IP.
    - With BM : Need to access to the selfcare to add static routing for the used TG.

I really have to thanks you Steve, I appreciated your softs, how their include comments, and your kindless to answer questions.
In few time I was able to build and running the systems !

If I can help in return, I'll be a pleasure

Kind regards

Michel - F1TZO
(I hope my English is not to bad ;-) )
-------

Le 16/02/2018 à 15:55, Steve N4IRS a écrit :
Do I need to post a set of "working" config files for a BM <---> ASL bridge in the files section.
I THOUGHT the default files work except for login and IDs

Steve

On 2/16/2018 9:45 AM, Eric N0NKI wrote:
Hello Michel,

I like Chris and many others would be interested in configuration files and any other information about your project.

73 - Thank you
  NØNKI - Eric

On Fri, Feb 16, 2018 at 8:43 AM, F1TZO - Michel <michel@...> wrote:
Hi Chris

Of course I'll share this.
A short version before the Word Mobile Congress un Barcelona, because I run after time ;-)
Do you want config files ?

73'

Michel - F1TZO
Sent from my smartphone
Le 16 févr. 2018, à 01:09, "Chris Andrist, KC7WSU" <chris.andrist@...> a écrit:
Michel,

Can you share what you did with the rest of us?

Regards,

Chris Andrist, KC7WSU
DMR-UTAH

On Feb 15, 2018, at 5:02 PM, F1TZO - Michel < michel@...> wrote:

Done !!!

Everything in working !

Thanks Steve for your help and for your work !

I launch in test just a few minutes ago the "French Open Networks" with all gateway : Analog/DMR/C4FM/DStar
It's done because you (Steve), Jonathan (G4KLX), Andy (CA6JAU) and Rudy (PD0ZRY) provide cool software and nice work and help.

Thanks to all of you

Michel - F1TZO





Lito - WI6Y
 

That would be great.


From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> on behalf of Steve N4IRS <szingman@...>
Sent: Friday, February 16, 2018 6:55 AM
To: main@DVSwitch.groups.io
Subject: Re: [DVSwitch] ASL - Analog - HB Bridge help please
 
Do I need to post a set of "working" config files for a BM <---> ASL bridge in the files section.
I THOUGHT the default files work except for login and IDs

Steve

On 2/16/2018 9:45 AM, Eric N0NKI wrote:
Hello Michel,

I like Chris and many others would be interested in configuration files and any other information about your project.

73 - Thank you
  NØNKI - Eric

On Fri, Feb 16, 2018 at 8:43 AM, F1TZO - Michel <michel@...> wrote:
Hi Chris

Of course I'll share this.
A short version before the Word Mobile Congress un Barcelona, because I run after time ;-)
Do you want config files ?

73'

Michel - F1TZO
Sent from my smartphone
Le 16 févr. 2018, à 01:09, "Chris Andrist, KC7WSU" <chris.andrist@...> a écrit:
Michel,

Can you share what you did with the rest of us?

Regards,

Chris Andrist, KC7WSU
DMR-UTAH

On Feb 15, 2018, at 5:02 PM, F1TZO - Michel < michel@...> wrote:

Done !!!

Everything in working !

Thanks Steve for your help and for your work !

I launch in test just a few minutes ago the "French Open Networks" with all gateway : Analog/DMR/C4FM/DStar
It's done because you (Steve), Jonathan (G4KLX), Andy (CA6JAU) and Rudy (PD0ZRY) provide cool software and nice work and help.

Thanks to all of you

Michel - F1TZO