Good time of day, colleagues.
It is necessary to display the number of channels used with Asterisk. core show channels shows all channels, but I only need the number Can someone tell me?
I knock on Aster like this:
import asterisk.manager from asterisk.agi import * agi = AGI() manager = asterisk.manager.Manager() manager.connect('000.000.000.1') manager.login('login', 'passz') manager.command() agi.send_command()