I’m trying to make an app to keep checking my extensions, but i don’t have much experience in the programming/API/ area… so i tried to enable permissions for non-privileged user via sudoers but didn’t have that much luck.
(On the app, i managed to make an ssh connection run a command but using an elevated user and return the string (text) of the result so i can manipulate it anyway i want on C#, but doesn’t seem that safe)
so i was wondering how to get the results of an cli command on my software, do i use an API? do i only change permissions on sudoers? do i need to also change asterisk permissions or freepbx?
is there something easier or similar like this?