public class AstState extends Object
channel.c
.Modifier and Type | Field and Description |
---|---|
static int |
AST_STATE_BUSY
Line is busy.
|
static int |
AST_STATE_DIALING
Digits (or equivalent) have been dialed.
|
static int |
AST_STATE_DIALING_OFFHOOK
Digits (or equivalent) have been dialed while offhook.
|
static int |
AST_STATE_DOWN
Channel is down and available.
|
static int |
AST_STATE_OFFHOOK
Channel is off hook.
|
static int |
AST_STATE_PRERING
Channel has detected an incoming call and is waiting for ring.
|
static int |
AST_STATE_RING
Line is ringing.
|
static int |
AST_STATE_RINGING
Remote end is ringing.
|
static int |
AST_STATE_RSRVD
Channel is down, but reserved.
|
static int |
AST_STATE_UP
Line is up.
|
Modifier and Type | Method and Description |
---|---|
static Integer |
str2state(String str)
This is the inverse to
ast_state2str in channel.c . |
public static final int AST_STATE_DOWN
public static final int AST_STATE_RSRVD
public static final int AST_STATE_OFFHOOK
public static final int AST_STATE_DIALING
public static final int AST_STATE_RING
public static final int AST_STATE_RINGING
public static final int AST_STATE_UP
public static final int AST_STATE_BUSY
public static final int AST_STATE_DIALING_OFFHOOK
public static final int AST_STATE_PRERING
Copyright © 2004–2017. All rights reserved.