My inquiry is about how can I get the value-name of each PPPoE session. I've been trying to do it but I can't make it works.
This is the script that I'm trying to use:
Code: Select all
:local remoteAddr $"remote-address";
:local pName [/ppp secret get value-name=name [find remote-address=$remoteAddr]];
:global telegramMessage "Cliente $pName Conectado";
:log warning message= "Cliente $pName Conectado";
:system script run SendToTelegram;
Any help that you can give I really will appreciate it Thanks...