Sat Apr 26 20:55:10 2008

Asterisk developer's documentation


Channel states

Bits 0-15 of state are reserved for the state (up/down) of the line. More...

Defines

#define AST_STATE_BUSY   7
#define AST_STATE_DIALING   3
#define AST_STATE_DIALING_OFFHOOK   8
#define AST_STATE_DOWN   0
#define AST_STATE_MUTE   (1 << 16)
#define AST_STATE_OFFHOOK   2
#define AST_STATE_PRERING   9
#define AST_STATE_RESERVED   1
#define AST_STATE_RING   4
#define AST_STATE_RINGING   5
#define AST_STATE_UP   6

Detailed Description

Bits 0-15 of state are reserved for the state (up/down) of the line.


Define Documentation

#define AST_STATE_BUSY   7

Line is busy

Definition at line 526 of file channel.h.

#define AST_STATE_DIALING   3

Digits (or equivalent) have been dialed

Definition at line 518 of file channel.h.

#define AST_STATE_DIALING_OFFHOOK   8

Digits (or equivalent) have been dialed while offhook

Definition at line 528 of file channel.h.

#define AST_STATE_DOWN   0

Channel is down and available

Definition at line 512 of file channel.h.

#define AST_STATE_MUTE   (1 << 16)

Do not transmit voice data

Definition at line 534 of file channel.h.

#define AST_STATE_OFFHOOK   2

Channel is off hook

Definition at line 516 of file channel.h.

#define AST_STATE_PRERING   9

Channel has detected an incoming call and is waiting for ring

Definition at line 530 of file channel.h.

#define AST_STATE_RESERVED   1

Channel is down, but reserved

Definition at line 514 of file channel.h.

#define AST_STATE_RING   4

Line is ringing

Definition at line 520 of file channel.h.

#define AST_STATE_RINGING   5

Remote end is ringing

Definition at line 522 of file channel.h.

#define AST_STATE_UP   6

Line is up

Definition at line 524 of file channel.h.


Generated on Sat Apr 26 20:55:10 2008 for Asterisk - the Open Source PBX by  doxygen 1.5.1