channel status

Usage: CHANNEL STATUS [<channelname>]

Returns the status of the specified channel.

If no channel name is given the returns the status of the current channel.

Returns:
failure: 200 result=-1
success: 200 result=<status>

<status> values:
0 Channel is down and available
1 Channel is down, but reserved
2 Channel is off hook
3 Digits (or equivalent) have been dialed
4 Line is ringing
5 Remote end is ringing
6 Line is up
7 Line is busy



Go back to Asterisk AGI
Usage: CHANNEL STATUS [<channelname>]

Returns the status of the specified channel.

If no channel name is given the returns the status of the current channel.

Returns:
failure: 200 result=-1
success: 200 result=<status>

<status> values:
0 Channel is down and available
1 Channel is down, but reserved
2 Channel is off hook
3 Digits (or equivalent) have been dialed
4 Line is ringing
5 Remote end is ringing
6 Line is up
7 Line is busy



Go back to Asterisk AGI
Created by: pinhole, Last modification: Mon 21 of Mar, 2005 (15:30 UTC)
Please update this page with new information, just login and click on the "Edit" or "Discussion" tab. Get a free login here: Register Thanks! - Find us on Google+