webphone
Class SIPNotification.Log

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

public static class SIPNotification.Log
extends SIPNotification

LOG notification.
Triggered by: logs (only if you set the "events" parameter to 3 and also depends on the "loglevel")
Event: SIPNotificationListener.onLog
Fields: LOG,TYPE,txt


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
 int level
           
static int TYPE_CRITICAL
          critical error
static int TYPE_ERROR
          error
static int TYPE_EVENT
          event
static int TYPE_RTP
          RTP details at the end of the call.
static int TYPE_WARNING
          warning
 
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
 int getLevel()
          loglevel from 2 (most important) to 12 (less important details).
 java.lang.String getText()
          event text: the actual message as string
 int getType()
          event type (TYPE_...
 java.lang.String getTypeText()
          event type 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

TYPE_EVENT

public static final int TYPE_EVENT
event

See Also:
Constant Field Values

TYPE_WARNING

public static final int TYPE_WARNING
warning

See Also:
Constant Field Values

TYPE_ERROR

public static final int TYPE_ERROR
error

See Also:
Constant Field Values

TYPE_CRITICAL

public static final int TYPE_CRITICAL
critical error

See Also:
Constant Field Values

TYPE_RTP

public static final int TYPE_RTP
RTP details at the end of the call. Example: RTP: sent 15695 lasts: 0 (p2p: 0 sdp: 0 rrp: 15695 tnl: 15701), rec: 17281 lastr: 0, loss: 201 1%, vsent: 0/0, vrecv: 0/0, cpu: 0.0%, cpurel: 0.0% (0.0), srvsent: 10326 srvrec: 10302 srvloss: 10 0%

See Also:
Constant Field Values

level

public int level
Method Detail

getLevel

public int getLevel()
loglevel from 2 (most important) to 12 (less important details). it is set only if the notificationeventthread is 1


getType

public int getType()
event type (TYPE_... constant)


getTypeText

public java.lang.String getTypeText()
event type as string


getText

public java.lang.String getText()
event text: the actual message as string