Determine channels in use from CLI

Home » Asterisk Users » Determine channels in use from CLI
Asterisk Users 3 Comments

Is the a CLI command that shows all channels in use at one time? (Whether IAX, SIP, SCCP, etc)?

As well, when I “SIP SHOW CHANNELS” I see phones registering showing as channels in use. Is there a way to filter this output?

Thanks!

MD

3 thoughts on - Determine channels in use from CLI

  • How about ‘show channels’.

    As for filtering, you’ll have to do it separately using a format like:

    asterisk -rx ‘show channels’ | grep ‘

    You can filter the output further using awk. But each filtering will take a
    second or two based on what you are filtering.

    Zeeshan A Zakaria