I am interested if there is a method (function, command) on how to get extensions associated with ZAP channels. For example, for SIP channels there are the commands “SIPpeers”, “SIPshowpeers”. Also for IAX are commands already defined.
Is there a possibility to find out (maybe through the “Command” command available to use in AMI) the extensions associated with ZAP Channels? The only thing I can find out is the number of channels and some basic information regarding them, but not there associated extensions.
Thanks in advance!