O'Reilly logo

Asterisk: The Future of Telephony by Leif Madsen, Jared Smith, Jim Van Meggelen

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

CHANNEL STATUS

Synopsis

CHANNEL STATUS [channelname]

Queries the status of the channel indicated by channelname or, if no channel is specified, the current channel.

Return values:

0

Channel is down and available

1

Channel is down, but reserved

2

Channel is off-hook

3

Digits have been dialed

4

Line is ringing

5

Line is up

6

Line is busy

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required