Date   

Re: Configuring DVSwitch Mobile to access own AllStarLink node

Steve N4IRS
 

Both the ASL and HAMVOIP examples do not use the IAXRPT stanza, The ASL uses iaxclient and the HAMVOIP example uses joe-bobs-account That is the sample you should use. Yes, in both cases for DVSM, the type is friend. IAXRPT is used for the Windows client.
ASL uses the iax-client stanza in extensions.conf and HAMVOIP uses android-iaxrpt

Since you are using HAMVOIP, I would suggest you use the sample laid out in the document.

Steve N4IRS

On 11/19/20 9:38 PM, lcm@... wrote:

[Edited Message Follows]

This is the section where the 1998 needed to be changed to my node number:

[phone-iaxrpt]    ;;; Stanza is the context from iax.conf
exten => 42437,1,Answer
exten => 42437,n,Playback,rpt/node
exten => 42437,n,Playback,digits/1
exten => 42437,n,Playback,digits/9
exten => 42437,n,Playback,digits/9
exten => 42437,n,Playback,digits/8
exten => 42437,n,Set(CALLERID(num)=0)
exten => 42437,n,Rpt,1998|P|${CALLERID(name)} ;;; The "CallerID" from IAXRpt

I can show you the logs. Where will I find the log files in the dir structure?

I did some more troubleshooting and it seems to be related to the type setting.  When I change type=user to "friend" in the iax.conf [iaxrpt] stanza it will allow the app to connect using the iaxrpt user without throwing an error suggesting that there may be some issue with using the app to connect as a "user." Not sure the implications of that.

Example:

[iaxrpt]
user=iaxrpt
type=user friend
context=radio-iaxrpt
auth=md5
secret=  ; PASSWORD
host=dynamic
disallow=all
allow=ulaw
allow=gsm
transfer=no


Re: Configuring DVSwitch Mobile to access own AllStarLink node

Levi C. Maaia
 
Edited

This is the section where the 1998 needed to be changed to my node number:

[phone-iaxrpt]    ;;; Stanza is the context from iax.conf
exten => 42437,1,Answer
exten => 42437,n,Playback,rpt/node
exten => 42437,n,Playback,digits/1
exten => 42437,n,Playback,digits/9
exten => 42437,n,Playback,digits/9
exten => 42437,n,Playback,digits/8
exten => 42437,n,Set(CALLERID(num)=0)
exten => 42437,n,Rpt,1998|P|${CALLERID(name)} ;;; The "CallerID" from IAXRpt

I can show you the logs. Where will I find the log files in the dir structure?

I did some more troubleshooting and it seems to be related to the type setting.  When I change type=user to "friend" in the iax.conf [iaxrpt] stanza it will allow the app to connect using the iaxrpt user without throwing an error suggesting that there may be some issue with using the app to connect as a "user." Not sure the implications of that.

Example:

[iaxrpt]
user=iaxrpt
type=user friend
context=radio-iaxrpt
auth=md5
secret=  ; PASSWORD
host=dynamic
disallow=all
allow=ulaw
allow=gsm
transfer=no


Re: Configuring DVSwitch Mobile to access own AllStarLink node

Steve N4IRS
 

Without seeing the logs, iax.conf and extensions.conf there is not much I can do to help. I don't know what line 60 says.

On 11/19/20 7:24 PM, lcm@... wrote:

[Edited Message Follows]

I think I figured it out. Two things:

1. DV Switch mobile app seems to only connect when using the [myphone-iaxrpt] stanza as the username. It will not connect to [iaxrpt]. It throws an invalid password or stanza. I verified the password so it is some other option.

2. I changed Line 60 of extensions.conf from 1998 to my node number. After doing that, I was able to connect without the "node 199..." disconnect error state.


Re: Configuring DVSwitch Mobile to access own AllStarLink node

Levi C. Maaia
 
Edited

I think I figured it out. Two things:

1. DV Switch mobile app seems to only connect when using the [myphone-iaxrpt] stanza as the username. It will not connect to [iaxrpt]. It throws an invalid password or stanza. I verified the password so it is some other option.

2. I changed Line 60 of extensions.conf from 1998 to my node number. After doing that, I was able to connect without the "node 199..." disconnect error state.


Re: Configuring DVSwitch Mobile to access own AllStarLink node

Steve N4IRS
 

What is in the asterisk log when you connect?

On 11/19/20 7:10 PM, lcm@... wrote:
This looks to be how they are configured and I am still getting the "node 199..." and disconnect.  Has anyone verified that these instructions work with the latest HamVOIP img? I am on the same LAN so I don't think ports would be an issue.


Re: Configuring DVSwitch Mobile to access own AllStarLink node

Levi C. Maaia
 

This looks to be how they are configured and I am still getting the "node 199..." and disconnect.  Has anyone verified that these instructions work with the latest HamVOIP img? I am on the same LAN so I don't think ports would be an issue.


Re: Configuring DVSwitch Mobile to access own AllStarLink node

Steve N4IRS
 

Sorry,
I though you said AllStarLink. This is from HAMVOIP. <https://hamvoip.org/howto/iaxrpt-config.pdf>

On 11/19/20 4:23 PM, lcm@... wrote:
Thanks, I followed those instructions and now I am able to at least get the app to recognize the node. However, when I click connect in the app, I hear "node 199..." from the phone speaker and then it gets cut off and there is a tone.  It never actually completes the connection.  FYI, the node is a stock HamVOIP that I just re-flashed so everything is default except for the stanza I added to iax.conf per the wiki.


Re: Configuring DVSwitch Mobile to access own AllStarLink node

Levi C. Maaia
 

Thanks, I followed those instructions and now I am able to at least get the app to recognize the node. However, when I click connect in the app, I hear "node 199..." from the phone speaker and then it gets cut off and there is a tone.  It never actually completes the connection.  FYI, the node is a stock HamVOIP that I just re-flashed so everything is default except for the stanza I added to iax.conf per the wiki.


Re: Configuring DVSwitch Mobile to access own AllStarLink node

Steve N4IRS
 

On 11/19/2020 1:12 PM, lcm@... wrote:
I have my own AllStarLink node and I would like to use DVSwitch Mobile on Android to access it.  It seems like this is a very powerful Android app but I can't seem to find documentation to do this. Is there a step-by-step document somewhere?  I just need to know what to change on the node and how to configure the mobile app to match.


Configuring DVSwitch Mobile to access own AllStarLink node

Levi C. Maaia
 

I have my own AllStarLink node and I would like to use DVSwitch Mobile on Android to access it.  It seems like this is a very powerful Android app but I can't seem to find documentation to do this. Is there a step-by-step document somewhere?  I just need to know what to change on the node and how to configure the mobile app to match.


Re: os for Raspberry Pi

thlongan@...
 

Thank you



Sent from my Verizon, Samsung Galaxy smartphone


-------- Original message --------
From: Doug - W4DBG <douggooden@...>
Date: 11/18/20 10:21 PM (GMT-05:00)
To: main@dvswitch.groups.io
Subject: Re: [DVSwitch] os for Raspberry Pi




On Wed, Nov 18, 2020 at 8:50 PM thlongan via groups.io <thlongan=ptd.net@groups.io> wrote:
I am ready to try my luck and build a DMR to YSF server. I plan on using a Raspberry Pi 3 B+. What Operating System should I use and where should I download it?

--
Doug Gooden
troytrojan@...


Re: ASL to DMR - not receiving inbound traffic

Brad N8PC
 

did you set the talk group on brandmeister as static? if not it will not stay connected.

On 11/18/2020 3:55 PM, Gerry Filby wrote:
Thanks for the response Brad !

I tried that and it stopped working altogether.  I looked in /opt/MMDV_Bridge/DVSwitch.ini and TX/RX are defined:

[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

ExportTG = 0                    ; Which TG to export

TalkerAlias = Roger Nowhere Il. DVSWITCH


So I'm assuming that needs to be reversed in Analog_Bridge.ini ? - Tx goes to Rx and visa versa:

[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)


I'm getting traffic from the TG 91, but only if I momentarily click my PTT on the analog side whilst a 3rd party is speaking in the TG.  If the 3rd party in the TG stops an restarts their over, I don't resume receiving their traffic from the TG.

g


Re: Coming to a browser near you

jacomms
 

😊

 

Justin Albury

J Albury Communications

justin@...

0417246791

VK2JUZ

-----------------------------------------------------------------

This email, and any attachments are for the use of the intended

recipient(s) and may contain confidential/privileged information.

If you have received this email in error, please notify the sender

immediately and then delete it. If you are not the intended recipient,

you must not copy, disclose or distribute its contents to any other

person. We do not accept any liability in connection with transmitting,

unauthorised access to, or viruses in this email and its attachments.

This notice should not be removed.

----------------------------------------------------------------------------------

 

From: main@DVSwitch.groups.io <main@DVSwitch.groups.io> On Behalf Of Steve N4IRS
Sent: Thursday, 19 November 2020 3:33 AM
To: main@DVSwitch.groups.io
Subject: [DVSwitch] Coming to a browser near you

 

In the discussion of a issue with radioid.net missing some entries this weekend I posted a screenshot of a work in progress. So, since the cat is out of the bag...
This is a work in progress of the new web (HTML) client. We have no release date and the program has not even gone into beta test yet.
I'll post update info here when available.


Re: os for Raspberry Pi

 

Thanks
I hope to setup on a pi also. Wht are the best directions
--
73s,   Warmest wishes to you and blessings to your family.
Andre 
Toronto, CANADA
website VE3SP.com

VE3SP.com 


Re: os for Raspberry Pi

Doug - W4DBG
 

On Wed, Nov 18, 2020 at 8:50 PM thlongan via groups.io <thlongan=ptd.net@groups.io> wrote:
I am ready to try my luck and build a DMR to YSF server. I plan on using a Raspberry Pi 3 B+. What Operating System should I use and where should I download it?

--
Doug Gooden
troytrojan@...


os for Raspberry Pi

thlongan@...
 

I am ready to try my luck and build a DMR to YSF server. I plan on using a Raspberry Pi 3 B+. What Operating System should I use and where should I download it?


Re: ASL to DMR - not receiving inbound traffic

Gerry Filby
 

Thanks for the response Brad !

I tried that and it stopped working altogether.  I looked in /opt/MMDV_Bridge/DVSwitch.ini and TX/RX are defined:

[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

ExportTG = 0                    ; Which TG to export

TalkerAlias = Roger Nowhere Il. DVSWITCH


So I'm assuming that needs to be reversed in Analog_Bridge.ini ? - Tx goes to Rx and visa versa:

[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)


I'm getting traffic from the TG 91, but only if I momentarily click my PTT on the analog side whilst a 3rd party is speaking in the TG.  If the 3rd party in the TG stops an restarts their over, I don't resume receiving their traffic from the TG.

g


Coming to a browser near you

Steve N4IRS
 

In the discussion of a issue with radioid.net missing some entries this weekend I posted a screenshot of a work in progress. So, since the cat is out of the bag...
This is a work in progress of the new web (HTML) client. We have no release date and the program has not even gone into beta test yet.
I'll post update info here when available.


Re: Dashboard for multiple instances in DVSwitch

kpappa@...
 
Edited

Problem solved.

I followed this great article : https://n2rac.com/dmr-digital-amateur-radio-setup-several-instances-dvswitch-server-3694caaf6bf1

Then : 

# cp /opt/Web_Proxy/ /opt/Web_Proxy2/ -r

 

# cp /lib/systemd/system/webproxy.service /lib/systemd/system/webproxy2.service

# nano /opt/Analog_Bridge2/Analog_Bridge.ini
and change the following : 
[GENERAL]
pcmPort = 2223
    
# nano /lib/systemd/system/webproxy2.service
and change the following :  
WorkingDirectory=/opt/Web_
Proxy2
ExecStart=/usr/bin/node /opt/Web_Proxy2/proxy.js 8081 2223
    

# nano /opt/Web_Proxy2/proxy.js
and change the following :   
var wsPort = 8081,
    pcmPort = 2223;

# systemctl enable webproxy2
# systemctl start webproxy2
# systemctl status webproxy2  

Τhe above procedure ensures that RX-Monitor audio for the second instance will be independent from first instance.
Then
# cp /var/www/html/index.php /var/www/html/index2.php
#cp /var/www/html/include/browserdetect.php /var/www/html/include/browserdetect2.php
#cp /var/www/html/include/config.php /var/www/html/include/config2.php
#cp /var/www/html/include/config.php /var/www/html/include/config2.php
#cp /var/www/html/include/functions.php /var/www/html/include/functions2.php
#cp /var/www/html/include/lh.php /var/www/html/include/lh2.php
#cp /var/www/html/include/localtx.php /var/www/html/include/localtx2.php
#cp /var/www/html/include/status.php /var/www/html/include/status2.php
#cp /var/www/html/include/system.php /var/www/html/include/system2.php
#cp /var/www/html/include/tools.php /var/www/html/include/tools2.php

 

And edit recursively all "version 2" .php files (starting from index2.php) to point at second instance's locations and also all .php files references to "version 2" .php
I believe you got the point.
Second Dashboard is accessible as http://<IP-Address>/index2.php

 


Re: ASL to DMR - not receiving inbound traffic

Brad N8PC
 

Gerry in your Analog_bridge.ini under Ambe_Audio set your ports to tx=31100 Rx=31103 then it will work

On 11/17/2020 7:13 PM, Gerry Filby wrote:
Hi Folks,

I've worked through the "ASL to DMR Bridge How To" pdf and I think I have things more or less set up - I get the expected CLI output when running MMDVM_Bridge and Analog_Bridge in the foreground per the doc.

I'm connecting to TG 91 (Worlwide) in Analog_bridge.ini thusly:

[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 f$

minTxTimeMS = 2500                      ; 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 = 310307899                        ; ID to use when transmitting from Analog_Bridge

repeaterID = 310307801                          ; ID of source repeater

txTg = 91                                ; 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

I'm monitoring the TG from a separate Pi-Star hotspot's dashboard.  When there's an ongoing transmission from a 3rd party and I hit the PTT on my analog radio and release, the connection starts up and I hear 3rd party on my analog radio listening on the ASL side.  However, if the 3rd party stops transmitting and a second 3rd party begins transmitting I don't hear their transmission until I hit the PTT momentarily on my analog radio again.  Also, when I hit the PTT on my analog radio I don't see the traffic pop up on the Pi-Star dashboard.

I'm a total newb at this so just hoping for a pointer as to where to start looking.

Best,
Gerry.
W6WNG


1601 - 1620 of 9083