State of the chains after the éxecution of Asterisk

Hello,

I seek how to know the states of all channels just after the connection with Asterisk.