I’m creating an app that needs to read the status of all dahdi spans and channels, etc. (whatever is needed to tell a user the state of their DAHDI connections).
What is the best way to do that? I see dahdi-tools available from the command line, asterisk CLI commands, and AMI commands. What is the best way to get the status at a detail level?