java.lang.Objectwebphone.SIPNotification
webphone.SIPNotification.BLF
public static class SIPNotification.BLF
BLF notification.
Triggered by: Busy Lamp Field change
Event: SIPNotificationListener.onBLF
Fields: BLF,peerusername,direction,state,callid
| Nested Class Summary |
|---|
| Field Summary | |
|---|---|
static int |
DIR_IN
receiver (incoming call) |
static int |
DIR_OUT
initiator (outgoing call) |
static int |
DIR_UNDEFINED
undefined direction (not for calls or not announced by the peer) |
static int |
STATUS_CONFIRMED
call connected |
static int |
STATUS_EARLY
ringing or session progress |
static int |
STATUS_FAILED
BLF subscribe or notify failed |
static int |
STATUS_PROCEEDING
call connecting |
static int |
STATUS_TERMINATED
call disconnected |
static int |
STATUS_TRYING
call connect initiated |
static int |
STATUS_UNKNOWN
unrecognized call state received |
| Method Summary | |
|---|---|
java.lang.String |
getCallid()
optional value if reported from the remote extension (the SIP call-id of the call) |
int |
getDirection()
direction (DIR_... |
java.lang.String |
getDirectionText()
direction as string |
int |
getDirecton()
|
java.lang.String |
getPeer()
remote username |
int |
getStatus()
returns the status (STATUS_... |
java.lang.String |
getStatusText()
status as string |
| Methods inherited from class webphone.SIPNotification |
|---|
getNotificationType, getNotificationTypeText, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int DIR_UNDEFINED
public static final int DIR_OUT
public static final int DIR_IN
public static final int STATUS_TRYING
public static final int STATUS_PROCEEDING
public static final int STATUS_EARLY
public static final int STATUS_CONFIRMED
public static final int STATUS_TERMINATED
public static final int STATUS_UNKNOWN
public static final int STATUS_FAILED
| Method Detail |
|---|
public int getStatus()
public int getDirection()
public int getDirecton()
public java.lang.String getDirectionText()
public java.lang.String getStatusText()
public java.lang.String getPeer()
public java.lang.String getCallid()