webphone
Class SIPNotification.BLF

java.lang.Object
  extended by webphone.SIPNotification
      extended by webphone.SIPNotification.BLF
Enclosing class:
SIPNotification

public static class SIPNotification.BLF
extends SIPNotification

BLF notification.
Triggered by: Busy Lamp Field change
Event: SIPNotificationListener.onBLF
Fields: BLF,peerusername,direction,state,callid


Field Summary
static intDIR_IN
          receiver (incoming call)
static intDIR_OUT
          initiator (outgoing call)
static intDIR_UNDEFINED
          undefined direction (not for calls or not announced by the peer)
static intSTATUS_CONFIRMED
          call connected
static intSTATUS_EARLY
          ringing or session progress
static intSTATUS_FAILED
          BLF subscribe or notify failed
static intSTATUS_PROCEEDING
          call connecting
static intSTATUS_TERMINATED
          call disconnected
static intSTATUS_TRYING
          call connect initiated
static intSTATUS_UNKNOWN
          unrecognized call state received
 
Method Summary
 java.lang.StringgetCallid()
          optional value if reported from the remote extension (the SIP call-id of the call)
 java.lang.StringgetDirectionText()
          direction as string
 intgetDirecton()
          direction (DIR_...
 java.lang.StringgetPeer()
          remote username
 intgetStatus()
          returns the status (STATUS_...
 java.lang.StringgetStatusText()
          status as string
 
Methods inherited from class webphone.SIPNotification
getNotificationType, toString
   

Field Detail

DIR_UNDEFINED

public static final int DIR_UNDEFINED
undefined direction (not for calls or not announced by the peer)

See Also:
Constant Field Values

DIR_OUT

public static final int DIR_OUT
initiator (outgoing call)

See Also:
Constant Field Values

DIR_IN

public static final int DIR_IN
receiver (incoming call)

See Also:
Constant Field Values

STATUS_TRYING

public static final int STATUS_TRYING
call connect initiated

See Also:
Constant Field Values

STATUS_PROCEEDING

public static final int STATUS_PROCEEDING
call connecting

See Also:
Constant Field Values

STATUS_EARLY

public static final int STATUS_EARLY
ringing or session progress

See Also:
Constant Field Values

STATUS_CONFIRMED

public static final int STATUS_CONFIRMED
call connected

See Also:
Constant Field Values

STATUS_TERMINATED

public static final int STATUS_TERMINATED
call disconnected

See Also:
Constant Field Values

STATUS_UNKNOWN

public static final int STATUS_UNKNOWN
unrecognized call state received

See Also:
Constant Field Values

STATUS_FAILED

public static final int STATUS_FAILED
BLF subscribe or notify failed

See Also:
Constant Field Values
 
Method Detail

getStatus

public int getStatus()
returns the status (STATUS_... constant)


getDirecton

public int getDirecton()
direction (DIR_... constant)


getDirectionText

public java.lang.String getDirectionText()
direction as string


getStatusText

public java.lang.String getStatusText()
status as string


getPeer

public java.lang.String getPeer()
remote username


getCallid

public java.lang.String getCallid()
optional value if reported from the remote extension (the SIP call-id of the call)