CHANNEL STATUS |
CHANNEL STATUS [ channelname ]
Queries the status of the channel indicated by channelname or, if no channel is specified, the current channel.
Return values:
Channel is down and available
Channel is down, but reserved
Channel is off-hook
Digits have been dialed
Line is ringing
Line is up
Line is busy