I would like to get the status of an extension without having to log into the operator panel. Is this something that can be read from the database or can it be done using a script?
Hola podrias acceder por ssh a la consola y ejecutar el comando sip show peer xxxx donde xxxx es el numero de extension.
Hello, I am getting "Command not found" when trying to run the command.
una vez dentro del ssh debes ejecutar primero la consola de asterisk. 1. asterisk -rvvvvvv 2. sip show peer xxxx ( xxxx es la extension )