I want to get some information from Asterisk by by script.
How can I get below information from Asterisk?
1- Number of defined extension on system
2- Number of connected extension on system with own IP address
3- Number of defined Trunks on system
4- Number of Trunks in using mode
Thanks for any help or guidance