Hello there, here is my question:
I have any nodes connected to mine and I would like to know (in real time), the node number or OM’s callsign which is in communication?
For example on the Supermon dashboard, when a node becomes active, its line turns blue.
Is there a CLI command or log that allows me to do this?
Thank you for your answers
You have these at your disposal…
70=ilink,5 ; Link Status (long)
73=ilink,15 ; Full Sys Status (all nodes)
You can query the last tx node.
712 = status,5 ;Speak the last (dtmf) user
I may have missed something…
https://wiki.allstarlink.org/wiki/Rpt.conf#Status_Commands
Check your rpt.conf file for the node in question for the assigned dtmf for each command.
You may even need to add them if some are not there.
And you also may issue the same from a asterisk CLI> in the CLI format as well.
You will find that those PHP monitors are issuing the ilink/status/cop/remote commands through the CLI>.
So they can’t do anything you can’t do manually.
The ASL network maintains statistics information about each node and its connected nodes, which for example is used by the AllScan web app and can show general stats for each node, however I don’t believe ASL propagates much if any metadata as nodes key up, other than possibly the node#. In fact App-rpt seems to do nothing at all with IAX packets, as that seems to be purely a lower level “link layer” function of Asterisk. I could be wrong on that but I do know that anytime in the past I have ever asked about low level IAX details no one on this forum has ever had an answer and there seems to be almost zero such info anywhere online.
Thus there currently seems to be no easy way to determine in real time what node is keyed up if there are multiple nodes connected. The currently keyed node could potentially be determined from the raw IAX packets by looking at the source IP (or node# if present) and cross-referencing that with the ASTDB data. This would likely require some low-level Asterisk coding (below App-rpt) which would probably not be easy, but also wouldn’t be too hard once you figured out where in the Asterisk code the IAX packet headers are decoded.
(Mike mentioned some commands to say link status or last “DTMF” user but that would seem to be quite different from getting a CLI response with actual call sign(s) of the currently keyed node(s) that could then be displayed in a dashboard app.)