CHANNEL STATUSCHANNEL STATUS [Kanalname]Kanalname nicht angegeben ist, wird
der aktuelle Kanal benutzt.| 0 | Der Channel ist nicht aktiv und verfügbar. |
| 1 | Der Channel ist nicht aktiv, aber reserviert. |
| 2 | Der Channel ist off-hook. |
| 3 | DTMF-Eingaben wurden getätigt. |
| 4 | Der Channel wird gerade angerufen (es klingelt). |
| 5 | Die andere Seite wird gerade angerufen (es klingelt). |
| 6 | Die Leitung ist aktiv. |
| 7 | Die Leitung ist besetzt. |
————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
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. Return 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--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -10,3 +10,4 @@
5 Remote end is ringing
6 Line is up
7 Line is busy
+ Runs Dead : No