Sat Mar 24 23:51:54 2007

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 527 of file channel.h.

#define AST_STATE_DIALING   3

Digits (or equivalent) have been dialed

Definition at line 519 of file channel.h.

#define AST_STATE_DIALING_OFFHOOK   8

Digits (or equivalent) have been dialed while offhook

Definition at line 529 of file channel.h.

#define AST_STATE_DOWN   0

Channel is down and available

Definition at line 513 of file channel.h.

#define AST_STATE_MUTE   (1 << 16)

Do not transmit voice data

Definition at line 535 of file channel.h.

#define AST_STATE_OFFHOOK   2

Channel is off hook

Definition at line 517 of file channel.h.

#define AST_STATE_PRERING   9

Channel has detected an incoming call and is waiting for ring

Definition at line 531 of file channel.h.

#define AST_STATE_RESERVED   1

Channel is down, but reserved

Definition at line 515 of file channel.h.

#define AST_STATE_RING   4

Line is ringing

Definition at line 521 of file channel.h.

#define AST_STATE_RINGING   5

Remote end is ringing

Definition at line 523 of file channel.h.

#define AST_STATE_UP   6

Line is up

Definition at line 525 of file channel.h.


Generated on Sat Mar 24 23:51:54 2007 for Asterisk - the Open Source PBX by  doxygen 1.5.1