Question about "rpt lstats" output

If I run the command: asterisk -rx “rpt lstats (localnode)”, it shows me a list of connected nodes.

I’m interested in finding a way for this information to indicate which of the connected nodes is permanent. Is this possible?

Connections are only “made permanent” from one end of the connection, so there is no way to tell that it is “permanent” from the other end.

A normal connection and a permanent connection are really exactly the same connection, except you have told your node to reconnect if the connection is lost, and not to unlink without a specific command. Meaning, there is nothing special about the actual connection itself, and no way to identify it apart from other connections.

Mason,

Thanks for the reply… the permanent connection would be made from my node, so I was hoping there was a way to note that so I would know to use the disconnect permanent node in my bash script.

I do remember something on this.
Not from the local console I don’t think, but from
https://wiki.allstarlink.org/wiki/Public_APIs

Just not sure which one, but you can experiment.
I’m sure you will find that useful for other things as well since you like to script.

If you find an answer there, come back and let everyone know.

Mike, thanks for the suggestion… off to see if I can obtain the info. Will report back.

i am using the API to record my repeater key up times, good question is, can the API supply the key downs of my local node (1999) i am guessing no?

There is A LOT of good info you can obtain from the Public APIs but haven’t found a way to identify permanent link via the APIs… so I will keep searching