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


Nested Class Summary
 
Nested classes/interfaces inherited from class webphone.SIPNotification
SIPNotification.Account, SIPNotification.AI, SIPNotification.Answer, SIPNotification.APIResult, SIPNotification.BLF, SIPNotification.Block, SIPNotification.CDR, SIPNotification.Chat, SIPNotification.ChatComposing, SIPNotification.ChatReport, SIPNotification.Credit, SIPNotification.DTMF, SIPNotification.Event, SIPNotification.Group, SIPNotification.INFO, SIPNotification.LicKey, SIPNotification.Line, SIPNotification.Log, SIPNotification.Media, SIPNotification.MWI, SIPNotification.NewContact, SIPNotification.PlayReady, SIPNotification.Popup, SIPNotification.Presence, SIPNotification.Rating, SIPNotification.Register, SIPNotification.RTPE, SIPNotification.RTPStat, SIPNotification.RTPT, SIPNotification.ServerContacts, SIPNotification.ShouldReset, SIPNotification.SIP, SIPNotification.SRS, SIPNotification.Start, SIPNotification.Status, SIPNotification.Stop, SIPNotification.USSD, SIPNotification.VAD, SIPNotification.Video, SIPNotification.Vrec
 
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
 
Fields inherited from class webphone.SIPNotification
NOTIFICATION_ACCOUNT, NOTIFICATION_AI, NOTIFICATION_ALL, NOTIFICATION_ANSWER, NOTIFICATION_APIRESULT, NOTIFICATION_BLF, NOTIFICATION_BLOCK, NOTIFICATION_CDR, NOTIFICATION_CHAT, NOTIFICATION_CHATCOMPOSING, NOTIFICATION_CHATREPORT, NOTIFICATION_CREDIT, NOTIFICATION_DTMF, NOTIFICATION_EVENT, NOTIFICATION_GROUP, NOTIFICATION_INFO, NOTIFICATION_INVALID, NOTIFICATION_LICKEY, NOTIFICATION_LINE, NOTIFICATION_LOG, NOTIFICATION_MEDIA, NOTIFICATION_MWI, NOTIFICATION_NEWUSER, NOTIFICATION_PLAYREADY, NOTIFICATION_POPUP, NOTIFICATION_PRESENCE, NOTIFICATION_RATING, NOTIFICATION_REGISTER, NOTIFICATION_RTPE, NOTIFICATION_RTPSTAT, NOTIFICATION_RTPT, NOTIFICATION_SERVERCONTACTS, NOTIFICATION_SHOULDRESET, NOTIFICATION_SIP, NOTIFICATION_SRS, NOTIFICATION_START, NOTIFICATION_STATUS, NOTIFICATION_STOP, NOTIFICATION_USSD, NOTIFICATION_VAD, NOTIFICATION_VIDEO, NOTIFICATION_VREC
 
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

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)


getDirection

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


getDirecton

public int getDirecton()

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)