Local area network only ASL3 Configuration with a few nodes Help

so, when you guys post stuff. is it because you have done it and verified these configs work? or you just post them because it seems right or has been right in the past. just curious because not one suggestion given actually works.

Mr Mikes document is extremely basic, to the point and very clear but does not make what I’m trying to do work. He helped me greatly last week get around some of the other basics and learned a lot.

It shouldn’t be this difficult and I would rather not receive answers if they were not verified and working configurations. It’s hard enough to dive into something new, but to get partial info or not the correct info makes it far worse.

By no means am i trying to be a jerk but just stating the obvious. I do really appreciate the good info as it starts to build a picture on how things used to work or may work, but when I come back for more help it is going to be for a valid reason.

I can only figure there is missing information to complete the task, or updated software makes these suggestions no longer valid.

Sound cards in both of my units seem pretty good but no joy yet.

image

You just failed on that front.

Complaining that the free/volunteer help you’re getting isn’t good enough is nuts. Nobody can verify the configuration except you because nobody is going to build out the exact system you wish to implement just to test the config before they post it to the forum. I think people regularly fail to understand that ASL is FREE. The bottom line is, you are not entitled to any form or quality of support service.

I have implemented a large scale, statewide, private app_rpt network utilizing a self hosted VPN very similar to what you are describing. I did this through research and experimentation, without harassing folks in a forum. I say this not to toot my own horn, but simply to say that the information is out there for those that are willing to read it and put forth some effort.

What you are wanting to do requires a decent bit of experience and skill in systems administration and networking at the bare minimum. VoIP/Asterisk and app_rpt experience would also help.

If you are having trouble, asking for help is the correct thing to do - but taking out your frustrations on forums is not.

Now that that’s out of the way…
You need to start small. Set up two radioless/dahdi nodes on a LAN and practice getting them linked together. Then add a third. Once you have an understanding of the mechanics behind it, THEN start worrying about WAN/VPN/NAT and such.

Couple of tips:
Use tcpdump/Wireshark to see if you’re even sending IAX packets to the right place. Make yourself familiar with Asterisk debugging/verbose logging and associated commands.

1 Like

Good info…just to be clear this is only going to be on a Lan node to node setup.

Networking is my specialty so I’m ok on that front. My end network will be over a Peplink Layer 2 speedfusion vpn but that has been configured and tested. That should work just fine once I get it running locally on the bench.

Only problem I’m experiencing is transmitting into the node via an HT and repeated out to another HT. I have reduced my testing down to 2 nodes. The furthest I’ve gotten with communication is by using iaxRPT.

I was able to TX from iaxRPT or zoiper to a node which TX to a HT.

This testing was with HamVoip/BBB I reverted to while i was waiting for new hardware to arrive just to familiarize.

It’s my understanding hamvoip and asl3 should be pretty much the same concept. But I also understand asl3 is using a new updated asterisk version which i would love to use.

As for my frustrations i feel I’m just missing something very basic but do not know enough about it to figure it out apparently. lol

For some reason I’ve only been able to TX from iaxRPT on the computer to the node which did TX out to another HT with ASL3 but that is as far as i can get.

Getting a response with guidance, questions about your setup and the general hope that your system gets up and running so you can enjoy the amazing power that app_rpt and ASL are offering to simple radios, is the beauty of this community. It welcomes all and provides help where possible, and it all gets documented on the forum so that others can learn from our experiences (and frustrations).

Some of the things you are asking about might have been tried before as well but maybe with different radios or hardware etc. for example How to setup local (private) node and server - #13 by kb5won might give you some guidance as to what might be missing.

Since you mentioned you are able to communicate via zoiper etc. then it could be HT and fob connections.

Have you checked the simple tune menu? Check out option “V” to see how your node radio is responding when it receives signal. Also see if your CTCSS and Carrier options are correct. Some basic troubleshooting like that might pinpoint what exactly could be wrong.

ASL1, 2, 3, Hamvoip… They are all the exact same when it comes to setting up the core Asterisk/IAX stuff. It’s all just IAX peering. Hamvoip just has a bunch of helper scripts and changed default settings.

Can you clarify if you have the networking part done? Do you have an IAX (link) between two or more nodes? I thought you were still working on that part.

If that’s figured out, have you verified that all nodes are able to RX/TX correctly? Echo/parrot would be a good thing to use to test that. Enable echo and transmit into each one locally to make sure the physical radio interface is set up correctly.

Watch the Asterisk CLI and enable debugging/verbose logging to see more about what’s going on as you test.

No Sir, i did the networking side in about an hour. I’m running a Peplink Speedfusion VPN (using aes 256 encryption) with an added feature of a tunnel within the tunnel and created a layer2 network also. I do this between ship and shore pretty frequently. Starlink runs on CGNat’ing so public/static Ip’s are an issue if required.

By running a fusion hub onshore (multiple VM’s for each ships connection) I’m able to provide them that static public ip they need.

Sorry …off topic. I’m pinging between Oregon and Mississippi on this particular setup I’m working on (to the parents house) Starlink home service on their end a pretty big fiber network on my end averaging 90-100 ms round trip so this should be pretty good for asterisks.

There is a bigger picture of why I’m doing this, and I’ll update here when I’m allowed to (a pretty cool event you will hear about late next year)

I’m just now starting over…I just had successful tx tests out of each node using the test feature in Interface tune CLI and am just tweaking those settings now…

Next i will setup the iaxRPT stuff so i can do some testing from pc to radio and move on from there.

Good luck! looking forward to you seeing your project. Do make a video on YouTube if you have the time. Love watching what others do with their setups.

I have one node connected via Tailscale VPN which also has a very good response time. It saved me the headache of network configuration and testing all of that out since that’s not exactly my forte, but since you are good at networking you might not need it.

I plan on doing just that when i finally get it all right…lol so no one else has to ever go through what i’ve been going through. :slight_smile:

1 Like

Thanks Ironic you posted that link…this is the very first article i found when searching how to do this. This was before i knew anything about allstar, hamvoip and all the rest…lol… I actually tried to email Brian to discuss this but never got in touch with him. I have had this url you posted book marked for 2 weeks and constantly referring back to it… Good stuff
one thing to point out…i had the success using hamvoip. when I made no progress with asl3 i decided to try my luck with that… only because i was at a stalemate waiting for decent hardware… I had that partially working as described fairly quickly… but had no intensions of using that because i like the latest and greatest.

1 Like

What, specifically, is your problem with ASL3? I’ve read this whole thread twice and what your precise problem is is not clear to me at all.

1 Like

Well, it’s an ongoing revelation but at this current moment I seem to have some progress.

This is currently what i DO have working.

Using iaxRPT from my testing laptop i can dial into Node 1500 and 1510 (my 2 test nodes)

I can transmit from iaxRPT to each of the nodes and that is then relayed out to my HT’s
preset frequency for testing.

I can send a dtmf tone from the iaxRPT to either of nodesand I get a response as expected.

. I can hit the TX on the iaxRPT app and send my audio to the node which is then transmitted
out to a radio.

Things i cannot yet get working.

I currently have no luck getting audio to relay from a HT into a node to any other radio or
iaxRPT

Sending dtmf from a HT to the node is not yet working. At times it seems to receive it but I’m
not receiving the tones back to HT like to do receive in iaxRPT (*721) just periodically
noticing some sort of receive on the HT but no sound. (This is inconsistent on HT but
consistent using iaxRPT)

The nodes seem to be sending out something periodically but I’m not hearing any tones or
or audio on the HT’s. Just seeing them receiving something.

Then I will also receive period tones being sent from the nodes that reach the HT’s and
iaxRPT so it seems whatever these other periodic TX’s I’m receiving contains nothing. (I
thought maybe it’s trying to send an audio message that may not be configured but I’m
guessing)

I can go into simple usb tuning and send test tones and transmits out to radio with no issues. I’m running a new HT hardware hack that made this little unit have the ability to use COS signal which seems to be working great.

Here are some of my test configurations i currently have. I have made NO other changes as i do not want to corrupt what i’ve gotten going so far as i’m new to this.

[Nodes] = test node 1
1510 = radio@127.0.0.1:4570/1510,NONE
1500 = radio@192.168.10.10:4571/1500,NONE

iax.conf = test node 1
bindport = 4570
bindaddr = 0.0.0.0 <<only using this to eliminate connection issues during setup. Not sure if
this is ok or not but was suggested by several ppl.

[Nodes] = test node 2
1515 = radio@127.0.0.1:4571/1515,NONE
1500 = radio@192.168.10.15:4570/1500,NONE

iax.conf = test node 2
bindport = 4571
bindaddr = 0.0.0.0

Other configs i’ve setup:

extenstions.conf

[radio-secure] test node 1 and 2

exten => 1510,1,rpt,1510
exten => 1500,1,rpt,1500
exten => 1510,1,rpt,(1510|X)

this section i’ve done nothing but wondering if i should:

[radio]
exten => _X11,1,Goto(check_route,${EXTEN},1);
exten => _NXXXXXX,1,Goto(check_route,1${HOMENPA}${EXTEN},1)
exten => _1XXXXXXXXXX,1,Goto(check_route,${EXTEN},1)
exten => _07XX,1,Goto(parkedcalls,${EXTEN:1},1)
exten => 00,1,Goto(my-ip,s,1)

As far as my simple usb device. I’ve been working with allscan.info directly to make sure i have all recommended settings that are known to work with asl3 and i don’t believe there’s issues there due to iaxRPT communicating ok.

Keep in mind I’m very new to asl3 so there could very well be the simplest configuration I’ve missed keeping all of this from working as planned.

My goal is to be able to key up a radio at each location and for that TX to be received by the other sides HT

All Nodes connected on local area network without internet and not “yet” using the allstar3 network but will eventually.

I have had asterisk experience many moons ago, some of its coming back but not enough to really help. I keep thinking about “conference” rooms and I’m wondering if I’m going down the wrong path for this setup. All I’m trying to accomplish is to do a simple round robin voice solution between some HT’s on a private network.

Let me know if you need anything else from me and Thank You.

Well, you outline multiple things here.

  1. Are you able to connect the two nodes together successfully from the Asterisk CLI? That’s step 1 to make sure that they can talk to each other. Using your nodes above, on node 1500 to connect to node 1510 you’d enter rpt cmd 1500 ilink 3 1510. Use asterisk -rvvv to see some modest debugging output. Wait a few seconds and then do rpt nodes 1500 and see if the connection is made. If it’s not, then you have a fundamental networking or configuration problem. The command rpt cmd 1500 ilink 1 1510 would disconnect the nodes.

  2. Why are you using random nonstandard ports such as 4570 and 4571? For a LAN-only connection where you’re not filtering anything that’s unneeded and creates configuration complexity that you don’t need to bring into your setup. Leaving everything at the default 4569 is most sane for your use case.

  3. The bindaddr of 0.0.0.0 in iax.conf is correct.

  4. DTMF decoding is almost always a problem with improperly leveled receive audio. Running asterisk -rvvv you should get a printout of DTMF commands as they are decoded. Press each key in sequence and see what decodes and what doesn’t. Then adjust receive audio. Make sure that you have the correct preemphasis/deemphasis on receive set for your radio hookup type.

  5. It’s not clear what you mean by “I currently have no luck getting audio to relay from a HT into a node to any other radio or iaxRPT”. Are you talking about node-to-node communications or are you talking about within the same node. Within the same node, you’re likely using simplex semantics which means it will only send or receive but not both. I.e. an IAXrpt connection won’t case your HT to transmit and vice-versa. If you’re talking about node-to-node see #1.

1 Like
  1. this is very good info i did not know about so i will do this and reply back with debugging output.

  2. I was using these because everyone that helped me in here told me i had to use a unique port for each node. plain and simple. So i’m reverting them all to default on your suggestion and running steps in your #1 paragraph.

  3. thanks

  4. some tones do randomly transmit to my HT while i’m sitting here and the ones that do sound perfect audio but once i get the other items working i can work on this.

  5. I am only talking about node-to-node communications. my guess is since i have the port conflicts they could be my problem so will change them to 4569 and do some debugging and return with my results… I appreciate this info.

Duplex mode to your usb radio devices, I would assume is a simplex radio.
Likely the duplex mode you would want is “1” in rpt.conf

DTMF is muted always automatically to keep downwind connections from acting on commands.
IAXRPT does not send DTMF but the encoded value in the iax stream. Nothing ever audible.

A lot in there so I will start with that.

1 Like

Ok, changes to 4569 changed to iax.conf both configs and other related files reconfigured.
I rant the rpt cmd 1500 ilink 3 1510 and it reported this:
NODE1500*CLI> rpt cmd 1500 ilink 3 1510
– Call accepted by 192.168.10.15:4569 (format ulaw)
– Format for call is (ulaw)
– Hungup ‘IAX2/192.168.10.15:4569-10945’
– Hungup ‘DAHDI/pseudo-1193284182’
So i’m guessing its connecting but appears to be disconnected almost immediately. i’m guessing this isnt normal.
On the 1510 debug screen it shows this:

– Accepting UNAUTHENTICATED call from 192.168.10.10:4569:
– > requested format = ulaw,
– > requested prefs = (ulaw|adpcm|gsm),
– > actual format = ulaw,
– > host prefs = (ulaw|adpcm|gsm),
– > priority = mine
[2024-11-26 15:02:11.830] WARNING[2593][C-00000018]: pbx.c:2928 pbx_extension_helper: No application ‘rpt,1510’ for extension (radio-secure, 1510, 1)
== Spawn extension (radio-secure, 1510, 1) exited non-zero on ‘IAX2/192.168.10.10:4569-88’
– Hungup ‘IAX2/192.168.10.10:4569-88’

maybe my radio secure entries are incorrect so i’m adding them here:

[radio-secure]
exten => 1500,1,rpt,1500
exten => 1510,1,rpt,1510
exten => 1500,1,rpt,(1500|X) <<<this doesn’t look correct to me but i think someone told me
to add this line for the iaxRPT connection but could be wrong.

Back to the dialplan in extensions.conf
The context set of the radio node is the context in extensions that you need a stanza to make the connection for you.

Radio secure is for allstar network connects
You lack security for it is not a registered node but a private node.

I know where you copied that from and it has no place in that connection stanza unless it is a properly logged in iax inbound.
Again, you are in the wrong stanza.
Try
[radio-control]
exten => 1500,1,rpt,(1500|P)

You have definitely corrupted the extensions.conf file for this error to arise. I’m not sure where you’re getting that configuration from but it’s wrong. The [radio-secure] stanza should look like the below for ASL3. There is no need to customize/change it for your node ID or any other reason. In fact, you shouldn’t touch it at all. Hook your VOIP stuff into a different extension context.

Here’s the settings you should have:

[radio-secure]
exten => _XXXX!,1,NoOp(Connect from node: ${CALLERID(num)})
    same => n,NoOp(Connect to: ${EXTEN})
    ;same => n,NoOp(The IAXPEER is ${IAXPEER(CURRENTCHANNEL)})
    same => n,NoOp(The Channel IP is ${CHANNEL(peerip)})

    ;If channel IP eq localhost go to connect
    same => n,GotoIf($["${CHANNEL(peerip)}" = "127.0.0.1"]?connect)

    ;If allowlist/extension dosen't exist check the denylist
    same => n,GotoIf($[${DB_KEYCOUNT(allowlist/${EXTEN})} = 0]?denylist) ;goto denylist
    ;If allowlist/extension/callerid exists go to connect
    same => n,GotoIf(${DB_EXISTS(allowlist/${EXTEN}/${CALLERID(num)})}?connect) ;goto connect
    same => n,NoOp(${EXTEN} not in allowlist, Hangup)
    same => n,Hangup

    ;If denylist/extension/callerID doesn't exist goto connect
    same => n(denylist),GotoIf(${DB_EXISTS(denylist/${EXTEN}/${CALLERID(num)})}?:connect) ;don't goto connect
    same => n,NoOp(${EXTEN} is in denylist, Hangup)
    same => n,Hangup

    same => n(connect),rpt(${EXTEN})
    same => n,Hangup

Understood and Thanks Mike… i will fix that.

Quick question. i’m guessing i should remove or comment out those in the radio secure stanza?

Ok Great. Going to get that straight and do some more testing. Thanks for clarifying that.

I strongly suggest you get stuff working in the following order from a clean config:

  1. Get a hotspot working in simplex mode with the radio/HT including working out your DTMF decode issues
  2. Get the two nodes talking over the network (rpt cmd NODE ilink 3 NODE)
  3. Get the VoIP stuff you want integrated

Backup the configuration each after you achieve each milestone.

1 Like