|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.asteriskjava.util.AstState
public class AstState
Utility methods related to channel state handling in Asterisk's channel.c
.
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
static java.lang.Integer |
str2state(java.lang.String str)
This is the inverse to ast_state2str in channel.c . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
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
Method Detail |
---|
public static java.lang.Integer str2state(java.lang.String str)
ast_state2str
in channel.c
.
str
- state as a descriptive text.
|
Asterisk-Java | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |