Analog Reflector and DVS Mobile


SP2ONG Waldek
 

When I set in HTML client mode INTERCOM the DVSMobile application on Android is broken and any try to run is break DVSM
I must set to for example DMR mode to allow run DVS Mobile application for any user connected to AR
I suppose it will be the same problem when we use STFU will break all DVSM connected to Analog Reflector

73 Waldek


Mauro iu0ndt
 

Hi I don't know where to start, I installed Analog_Reflector thanks to the explanations see the link https://108.61.206.141/html/hUC-min.html But I don't connect to the networks, it is mounted together with the ASL node and works between ASL> AR it is okay the voice passes and the data pass but I do not connect to the brandmeister network. Where did I forget to plug in?

@DESKTOP-xps-linux:~$ ssh root@...
root@...'s password:
Linux vultr515930 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Mar  3 00:37:11 2021 from 212.171.167.201
root@vultr515930:~# sudo -s
root@vultr515930:~# cd /opt/Analog_Reflector
root@vultr515930:/opt/Analog_Reflector# ls
Analog_Reflector       Analog_Reflector.json.save  ssl
Analog_Reflector.json  arRoot
root@vultr515930:/opt/Analog_Reflector# systemctl stop analog_reflector
root@vultr515930:/opt/Analog_Reflector# ./Analog_Reflector -f Analog_Reflector.json
I: 21-03-03 09:37:35 Analog_Reflector:
I: 21-03-03 09:37:35 ==
I: 21-03-03 09:37:35 Version: 1.1.14
I: 21-03-03 09:37:35
M: 21-03-03 09:37:35 Server running in Production mode
I: 21-03-03 09:37:35 SSL Certificate for these addresses: DNS:localhost, DNS:vultr.guest, IP Address:108.61.206.141, IP Address:127.0.0.1, IP Address:108.61.206.141
I: 21-03-03 09:37:35 SSL Certificate expires: Mar  2 15:37:29 2022 GMT
I: 21-03-03 09:37:35 WebSocket server ready on port 443 ...
I: 21-03-03 09:37:35 New AllStar node for 1999
I: 21-03-03 09:37:35 ACL for AllStar Node 1999 is: Allow Transmit, Allow Tune
I: 21-03-03 09:37:35 New bridge for DMR
I: 21-03-03 09:37:35 ACL for DMR Bridge is: Allow Transmit, Deny Tune
I: 21-03-03 09:37:35 New bridge for D-Star
I: 21-03-03 09:37:35 ACL for D-STAR Bridge is: Allow Transmit, Deny Tune
I: 21-03-03 09:37:35 New bridge for NXDN
I: 21-03-03 09:37:35 ACL for NXDN Bridge is: Allow Transmit, Deny Tune
I: 21-03-03 09:37:35 New bridge for P25
I: 21-03-03 09:37:35 ACL for P25 Bridge is: Allow Transmit, Deny Tune
I: 21-03-03 09:37:35 New bridge for YSF
I: 21-03-03 09:37:35 ACL for YSF Bridge is: Allow Transmit, Deny Tune
I: 21-03-03 09:37:35 USRP client is listening at port : 50314
I: 21-03-03 09:37:35 Server ip :0.0.0.0
I: 21-03-03 09:37:35 Server is IP4/IP6 : IPv4
I: 21-03-03 09:37:35 Using Analog_Bridge at : 127.0.0.1:32001
I: 21-03-03 09:37:35 AllStar Node 1999 listening for traffic on port : 34001
I: 21-03-03 09:37:35 DMR Bridge listening for traffic on port : 51100
I: 21-03-03 09:37:35 D-STAR Bridge listening for traffic on port : 52100
I: 21-03-03 09:37:35 NXDN Bridge listening for traffic on port : 53100
I: 21-03-03 09:37:35 P25 Bridge listening for traffic on port : 54100
I: 21-03-03 09:37:35 YSF Bridge listening for traffic on port : 55100
M: 21-03-03 09:37:35 Connected to AllStar AMI interface for node 1999
I: 21-03-03 09:37:35 AMI Login: Success
I: 21-03-03 09:37:35 MQTT broker connected at "mqtt://localhost:1883" with base topic "dvswitch/DVSwitch/Analog_Reflector"
I: 21-03-03 09:37:35 AllStar Database download: 200
I: 21-03-03 09:37:36 AllStar node database loaded: 18733 nodes
M: 21-03-03 09:37:36 Debug node 2600 = {"node":"2600","call":"DVSwitch","freq":"Digital Hub","location":"Cloud"}
I: 21-03-03 09:38:28 AllStar node 515930 IU0NDT PTT ON
M: 21-03-03 09:38:28 Begin TX: src=4093803 rpt=0 dst=515930 slot=2 cc=0 metadata=IU0NDT
I: 21-03-03 09:38:28 AllStar node unkeyed
M: 21-03-03 09:38:28 End TX

  GNU nano 3.2                 Analog_Reflector.json                           

{
  "nodeName":"DVSwitch",
  "dmrID":"222197611",
  "abAddress": "127.0.0.1",
  "usrpTxPort": "32001",
  "usrpRxPort": "34001",
  "mobilePort": "50314",
  "wsPort": "443",
  "keyDir": "./ssl/",
  "siteroot": "./arRoot",
  "logFileName": "/var/log/dvswitch/Analog_Reflector.log",
  "logLevel": "2",
  "disallowUnknownClients": false,
  "brokerURL": "mqtt://localhost:1883",
  "rightsMask": "4",
  "autoMute": true,
  "clientModes": ["DMR", "STFU", "DSTAR|D-Star", "NXDN", "P25", "YSF", "ASL|All$
  "bridges": {
    "asl": [
                               [ Read 33 lines ]
^G Get Help  ^O Write Out ^W Where Is  ^K Cut Text  ^J Justify   ^C Cur Pos
^X Exit      ^R Read File ^\ Replace   ^U Uncut Text^T To Spell  ^_ Go To Line

.......................
73 iu0ndt


Steve N4IRS
 

Here is what I see:
When you run AR:
I: 21-03-03 09:37:35 Using Analog_Bridge at : 127.0.0.1:32001
I: 21-03-03 09:37:35 AllStar Node 1999 listening for traffic on port : 34001

I see this from your edit:
  "usrpTxPort": "32001",
  "usrpRxPort": "34001",

What I don't see is your Analog_Bridge configuration.
You have AllStar and AB sharing ports, You can't do that.

Here is the data path:

HTML Client <-> AR <-> AB <-> MB <-> DMR Master

This is how the components (AR and AB) talk to each other.
Analog_Reflector.json    Analog_Bridge.ini
                           [USRP]
"usrpTxPort": "12345" <----> rxPort = 12345      
"usrpRxPort": "12345" <----> txPort = 12345


Here is what I suggest:
Edit Analog_Bridge.ini in the [USRP] section
txPort = 12345
rxPort = 12345

Edit Analog_Reflector
"usrpTxPort": "12345",
"usrpRxPort": "12345",

Save your work and reboot

On 3/3/2021 3:47 AM, Mauro iu0ndt via groups.io wrote:
Hi I don't know where to start, I installed Analog_Reflector thanks to the explanations see the link https://108.61.206.141/html/hUC-min.html But I don't connect to the networks, it is mounted together with the ASL node and works between ASL> AR it is okay the voice passes and the data pass but I do not connect to the brandmeister network. Where did I forget to plug in?

@DESKTOP-xps-linux:~$ ssh root@...
root@...'s password:
Linux vultr515930 4.19.0-14-amd64 #1 SMP Debian 4.19.171-2 (2021-01-30) x86_64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Wed Mar  3 00:37:11 2021 from 212.171.167.201
root@vultr515930:~# sudo -s
root@vultr515930:~# cd /opt/Analog_Reflector
root@vultr515930:/opt/Analog_Reflector# ls
Analog_Reflector       Analog_Reflector.json.save  ssl
Analog_Reflector.json  arRoot
root@vultr515930:/opt/Analog_Reflector# systemctl stop analog_reflector
root@vultr515930:/opt/Analog_Reflector# ./Analog_Reflector -f Analog_Reflector.json
I: 21-03-03 09:37:35 Analog_Reflector:
I: 21-03-03 09:37:35 ==
I: 21-03-03 09:37:35 Version: 1.1.14
I: 21-03-03 09:37:35
M: 21-03-03 09:37:35 Server running in Production mode
I: 21-03-03 09:37:35 SSL Certificate for these addresses: DNS:localhost, DNS:vultr.guest, IP Address:108.61.206.141, IP Address:127.0.0.1, IP Address:108.61.206.141
I: 21-03-03 09:37:35 SSL Certificate expires: Mar  2 15:37:29 2022 GMT
I: 21-03-03 09:37:35 WebSocket server ready on port 443 ...
I: 21-03-03 09:37:35 New AllStar node for 1999
I: 21-03-03 09:37:35 ACL for AllStar Node 1999 is: Allow Transmit, Allow Tune
I: 21-03-03 09:37:35 New bridge for DMR
I: 21-03-03 09:37:35 ACL for DMR Bridge is: Allow Transmit, Deny Tune
I: 21-03-03 09:37:35 New bridge for D-Star
I: 21-03-03 09:37:35 ACL for D-STAR Bridge is: Allow Transmit, Deny Tune
I: 21-03-03 09:37:35 New bridge for NXDN
I: 21-03-03 09:37:35 ACL for NXDN Bridge is: Allow Transmit, Deny Tune
I: 21-03-03 09:37:35 New bridge for P25
I: 21-03-03 09:37:35 ACL for P25 Bridge is: Allow Transmit, Deny Tune
I: 21-03-03 09:37:35 New bridge for YSF
I: 21-03-03 09:37:35 ACL for YSF Bridge is: Allow Transmit, Deny Tune
I: 21-03-03 09:37:35 USRP client is listening at port : 50314
I: 21-03-03 09:37:35 Server ip :0.0.0.0
I: 21-03-03 09:37:35 Server is IP4/IP6 : IPv4
I: 21-03-03 09:37:35 Using Analog_Bridge at : 127.0.0.1:32001
I: 21-03-03 09:37:35 AllStar Node 1999 listening for traffic on port : 34001
I: 21-03-03 09:37:35 DMR Bridge listening for traffic on port : 51100
I: 21-03-03 09:37:35 D-STAR Bridge listening for traffic on port : 52100
I: 21-03-03 09:37:35 NXDN Bridge listening for traffic on port : 53100
I: 21-03-03 09:37:35 P25 Bridge listening for traffic on port : 54100
I: 21-03-03 09:37:35 YSF Bridge listening for traffic on port : 55100
M: 21-03-03 09:37:35 Connected to AllStar AMI interface for node 1999
I: 21-03-03 09:37:35 AMI Login: Success
I: 21-03-03 09:37:35 MQTT broker connected at "mqtt://localhost:1883" with base topic "dvswitch/DVSwitch/Analog_Reflector"
I: 21-03-03 09:37:35 AllStar Database download: 200
I: 21-03-03 09:37:36 AllStar node database loaded: 18733 nodes
M: 21-03-03 09:37:36 Debug node 2600 = {"node":"2600","call":"DVSwitch","freq":"Digital Hub","location":"Cloud"}
I: 21-03-03 09:38:28 AllStar node 515930 IU0NDT PTT ON
M: 21-03-03 09:38:28 Begin TX: src=4093803 rpt=0 dst=515930 slot=2 cc=0 metadata=IU0NDT
I: 21-03-03 09:38:28 AllStar node unkeyed
M: 21-03-03 09:38:28 End TX

  GNU nano 3.2                 Analog_Reflector.json                           

{
  "nodeName":"DVSwitch",
  "dmrID":"222197611",
  "abAddress": "127.0.0.1",
  "usrpTxPort": "32001",
  "usrpRxPort": "34001",
  "mobilePort": "50314",
  "wsPort": "443",
  "keyDir": "./ssl/",
  "siteroot": "./arRoot",
  "logFileName": "/var/log/dvswitch/Analog_Reflector.log",
  "logLevel": "2",
  "disallowUnknownClients": false,
  "brokerURL": "mqtt://localhost:1883",
  "rightsMask": "4",
  "autoMute": true,
  "clientModes": ["DMR", "STFU", "DSTAR|D-Star", "NXDN", "P25", "YSF", "ASL|All$
  "bridges": {
    "asl": [
                               [ Read 33 lines ]
^G Get Help  ^O Write Out ^W Where Is  ^K Cut Text  ^J Justify   ^C Cur Pos
^X Exit      ^R Read File ^\ Replace   ^U Uncut Text^T To Spell  ^_ Go To Line

.......................
73 iu0ndt


Mauro iu0ndt
 

 Steve thanks I solved ... It was enough to put the doors the same as you indicated. Now the mobile dvs no longer disconnects and controls the reflector and everything is controlled on the web ... thanks Great job


On Wed, Mar 3, 2021 at 02:47 PM, Steve N4IRS wrote:
Here is what I see:
When you run AR:
I: 21-03-03 09:37:35 Using Analog_Bridge at : 127.0.0.1:32001
I: 21-03-03 09:37:35 AllStar Node 1999 listening for traffic on port : 34001

I see this from your edit:
  "usrpTxPort": "32001",
  "usrpRxPort": "34001",

What I don't see is your Analog_Bridge configuration.
You have AllStar and AB sharing ports, You can't do that.

Here is the data path:

HTML Client <-> AR <-> AB <-> MB <-> DMR Master

This is how the components (AR and AB) talk to each other.
Analog_Reflector.json    Analog_Bridge.ini
                           [USRP]
"usrpTxPort": "12345" <----> rxPort = 12345      
"usrpRxPort": "12345" <----> txPort = 12345


Here is what I suggest:
Edit Analog_Bridge.ini in the [USRP] section
txPort = 12345
rxPort = 12345

Edit Analog_Reflector
"usrpTxPort": "12345",
"usrpRxPort": "12345",

Save your work and reboot