[arm-allstar] Port number issue

Doug Crompton wa3dsp at gmail.com
Thu Feb 23 16:58:59 EST 2017


Simon,

   I think what is confusing you is using 'iax2 show registry' Here is mine
and as  you can see the perceived does not always show the actual end port.
In this case it is 4569 but shows as 49267. The host on the left is the
Allstar end and will always show 4569.

    Host                        dnsmgr  Username    Perceived
         Refresh  State
67.215.233.178:4569   Y       40561       67.165.29.63:49267         60
Registered
67.215.233.178:4569   Y       29015       67.165.29.63:49267         60
Registered
67.215.233.178:4569   Y       29014       67.165.29.63:49267         60
Registered
67.215.233.178:4569   Y       27225       67.165.29.63:49267         60
Registered

​So if you want to setup connections between your servers with manual
routing you would do this:

​42098 - Rpi2 has ip of 192.168.1.145 and IAX port 4569
29023 - Rpi3 has ip of 192.168.1.142 and IAX port 4571

On the RPi2 at 192.168.1.145 *add *this in the [nodes] stanza

*29023 = radio at 192.168.1.142:4571/29023,NONE
<http://radio@192.168.1.142:4571/29023,NONE> ; route to 29023*

On the RPi3 at 1192.168.1.142 *add* this in the [nodes] stanza

*42098 = radio at 192.168.1.145:4569/42098,NONE
<http://radio@192.168.1.145:4569/42098,NONE> ; route to 42098*

They then should be able to connect to each other inrespective of whether
you are online with Allstar or not. That is another advantage of manually
doing this because if you cannot get the Allstar nodes download or you are
in a private network you have to manually route.

I guess your nodes are offline as of 4 PM EST this afternoon because
neither come up in the nodes list.

​To confirm your Allstar registration and port do this -

grep <node> /tmp/rpt_extnodes​

[root at wa3dsp-27225-hub asterisk]# grep 27225 /tmp/rpt_extnodes

27225=radio at 67.165.29.63:4569/27225,67.165.29.63

​Substitute your node numbers.​ If this shows correct and you have the
binport set correctly in iax.conf then it has to work!



*73 Doug*

*WA3DSP*

*http://www.crompton.com/hamradio <http://www.crompton.com/hamradio>*

On Thu, Feb 23, 2017 at 3:08 PM, "Simon Keys via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> So here is my scenario:
> 1xRpi2 with v1 build, node 42098
> 1xRpi3 with v1.5 build, node 29023
> 1x wireless router, port 4569 opened.
>
> Rpi2 has ip of 192.168.1.145 and IAX port 4569.  This successfully
> registers and allows incoming connections.
> Rpi3 has ip of 192.168.1.142 and IAX port 4571.  This is set in iax.conf
> and on allistarlink.org.  This node also registers successfully.
>
> I have also set the [nodes] section in rpt.conf on both servers correctly
> (although I will copy/paste here when I get home).
>
> On Rpi3 iax2 show registry gives 4569.  lsnodes gives 4569 also.  Strange
> and I think this is where the problem is.
>
> I can connect from 29023 to 42098 successfully.  However when I try to
> connect from 42098 to 29023
>  it times out with network congestion message.
>
> Do I need to open port 4571 to allow local inter-node connections?
>
> Regards Simon ZL1OE
>
>


More information about the arm-allstar mailing list