[arm-allstar] Port number issue

Simon Keys zl1oe.nz at gmail.com
Thu Feb 23 23:29:24 EST 2017


yep I think you're right Doug, I didn't look at the "perceived" column.
This is not shown in lsnodes so I guess I ignored it.

Here is my [nodes] stanza on Rpi2:
42098 = radio at 127.0.0.1/42098,NONE
29023 = radio at 192.168.1.142/29023,NONE

And this is it from Rpi3:
29023 = radio at 127.0.0.1/29023,NONE
42098 = radio at 192.168.1.145/42098,NONE

Connections from Rpi3 to Rpi2 do work.
Connections from Rpi2 to Rpi3 do not work.

This is from Rpi2:
alarmpi*CLI> rpt fun 42098 *329023
[Feb 24 17:25:47] NOTICE[25441]: chan_iax2.c:4087 __auto_congest:
Auto-congesting call due to slow response
    -- Hungup 'IAX2/192.168.1.142:4569-5721'

>From Rpi3:
shackpi*CLI> rpt fun 29023 *342098
    -- Call accepted by 192.168.1.145 (format ulaw)
    -- Format for call is ulaw

I'm sure I've made a typo here somewhere!

Thanks Simon ZL1OE

On Fri, Feb 24, 2017 at 10:58 AM, "Doug Crompton via arm-allstar" <
arm-allstar at hamvoip.org> wrote:

> 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
> >
> >
> _______________________________________________
>
> arm-allstar mailing list
> arm-allstar at hamvoip.org
> http://lists.hamvoip.org/cgi-bin/mailman/listinfo/arm-allstar
>
> Visit the BBB and RPi2/3 web page - http://hamvoip.org
>


More information about the arm-allstar mailing list