[arm-allstar] Portable node set up to proxy: what am I missing?
Buddy Brannan
buddy at brannan.name
Thu Dec 29 20:22:17 EST 2016
Hi y'all,
Using the instructions here:
https://allstarlink.org/proxy.html
I'm setting up a portable node to use my main permanent node as a proxy. The portable node (thanks Peter) is built on a Raspberry Pi II.
First, and this may be part of it, at the moment I have both nodes on the same LAN. The portable is on port 4570, and I did set up port forwarding for it. First, I need to set up another network once I get my cellular hotspot, should be in the next day or two. I'm not finding the files that are mentioned in the wifi howto on hamvoip.org. Where is the wpa_suplicant.conf kept so I can add the new network, or, alternatively, how do I add the new network once I have its credentials? I could add my iPhone's personal hotspot too, but still need to know where the configuration file is. I thought it was /run/network/wpa_supplicant_wlan0.conf but that seems to be dynamically generated from something else.
Next thing:
I can connect to my own node on the same LAN, which I expect, but I can't connect to anything else. I can connect everywhere on my primary node, but not the portable node. When I attempt a connection, here's what I get on the portable node with max verbosity:
29995*CLI> rpt fun 29995 *341522
== Parsing '/var/lib/asterisk/rpt_extnodes': Found
== Parsing '/var/lib/asterisk/rpt_extnodes': Found
== Parsing '/var/lib/asterisk/rpt_extnodes': Found
== Parsing '/var/lib/asterisk/rpt_extnodes': Found
Node Variable dump for node 29995:
RPT_TXKEYED=1
RPT_ETXKEYED=0
RPT_NUMLINKS=0
RPT_LINKS=0
RPT_NUMALINKS=0
RPT_ALINKS=0
RPT_AUTOPATCHUP=0
RPT_RXKEYED=0
-- 8 variables
Node Variable dump for node 29995:
RPT_ETXKEYED=1
RPT_TXKEYED=1
RPT_NUMLINKS=0
RPT_LINKS=0
RPT_NUMALINKS=0
RPT_ALINKS=0
RPT_AUTOPATCHUP=0
RPT_RXKEYED=0
-- 8 variables
-- Call accepted by 75.179.7.109 (format ilbc)
-- Format for call is ilbc
-- Hungup 'IAX2/radio-proxy-out-1080'
-- Hungup 'DAHDI/pseudo-1309764769'
-- Hungup 'DAHDI/pseudo-686647805'
[Dec 29 20:04:35] WARNING[413]: chan_iax2.c:10143 iax2_do_register: REGISTER-LOG: Sending registration request for '29995'
[Dec 29 20:04:35] WARNING[411]: chan_iax2.c:7706 registry_rerequest: REGISTER-LOG: registry rereqquest
-- <DAHDI/pseudo-759012773> Playing 'rpt/nodenames/41522' (language 'en')
-- <DAHDI/pseudo-759012773> Playing 'rpt/connection_failed' (language 'en')
Node Variable dump for node 29995:
-- Hungup 'DAHDI/pseudo-759012773'
RPT_ETXKEYED=0
RPT_TXKEYED=1
RPT_NUMLINKS=0
RPT_LINKS=0
RPT_NUMALINKS=0
RPT_ALINKS=0
RPT_AUTOPATCHUP=0
RPT_RXKEYED=0
-- 8 variables
Node Variable dump for node 29995:
RPT_TXKEYED=0s
RPT_ETXKEYED=0
RPT_NUMLINKS=0
RPT_LINKS=0e s
RPT_NUMALINKS=0
RPT_ALINKS=0 s
RPT_AUTOPATCHUP=0
RPT_RXKEYED=0s
-- 8 variables
From the other end, that is, on the machine that's acting as proxy (my main permanent node):
Accepting AUTHENTICATED call from 192.168.1.1:
> requested format = g726aal2,
> requested prefs = (g726aal2|ilbc),
> actual format = ilbc,
> host prefs = (ilbc|g726aal2),
> priority = mine
-- Executing [041522 at radio-in:1] Rpt("IAX2/29995-1245", "41522|F") in new stack
== Parsing '/etc/asterisk/rpt.conf': Found
== Parsing '/var/lib/asterisk/rpt_extnodes': Found
[Dec 29 20:04:33] WARNING[2952]: app_rpt.c:22384 rpt_exec: Cannot find specified system node 41522
== Spawn extension (radio-in, 041522, 1) exited non-zero on 'IAX2/29995-1245'
-- Hungup 'IAX2/29995-1245'
Now if I made that same call from 2331, the permanent node, it would have gone through.
So what am I missing/what have I overlooked? Any clues?
--
Buddy Brannan, KB5ELV - Erie, PA
Phone: 814-860-3194
Mobile: 814-431-0962
Email: buddy at brannan.name
More information about the arm-allstar
mailing list