java.lang.Objectwebphone.SIPNotification
public class SIPNotification
The SIPNotification object what you receive in your SIPNotificationListener event handlers or by using the GetNotification API.
This is the Outer/Base class for all the other specific SIPNotification objects.
See the "Notifications" chapter in the documentation for more details.
Nested Class Summary | |
---|---|
static class | SIPNotification.Answer
ANSWER notification. Triggered by: API answers Event: SIPNotificationListener.onAnswer Fields: ANSWER,details |
static class | SIPNotification.BLF
BLF notification. Triggered by: Busy Lamp Field change Event: SIPNotificationListener.onBLF Fields: BLF,peerusername,direction,state,callid |
static class | SIPNotification.Block
BLOCK notification. Triggered by: message blocked/ignored Event: SIPNotificationListener.onBlock Fields: BLOCK,type,message |
static class | SIPNotification.CDR
CDR notification. Triggered by: call disconect Event: SIPNotificationListener.onCDR Fields: CDR,line, peername,caller,called,peeraddress,connecttime,duration,discparty,reasontext |
static class | SIPNotification.Chat
CHAT notification. Triggered by: incoming chat messages Event: SIPNotificationListener.onChat Fields: CHAT,line,peername,text |
static class | SIPNotification.ChatComposing
CHATCOMPOSING notification. Triggered by: "composing" notifications received from peers Event: SIPNotificationListener.onChatComposing Fields: CHATCOMPOSING,line,peername,status |
static class | SIPNotification.ChatReport
CHATREPORT notification. Triggered by: IM send state (so you can check if outgoing message sent with the API_SendChat was delivered successfully or failed) Event: SIPNotificationListener.onChatReport Fields: CHATREPORT,line,peername,status,statustext,group,md5,id |
static class | SIPNotification.Credit
CREDIT notification. Triggered by: balance info received Event: SIPNotificationListener.onCredit Fields: CREDIT,text |
static class | SIPNotification.DTMF
DTMF notification. Triggered by: incoming DTMF. Event: SIPNotificationListener.onDTMF Fields: DTMF,line,msg |
static class | SIPNotification.Event
EVENT notification. Triggered by: Important events which should be displayed for the user. Event: SIPNotificationListener.onEvent Fields: LOG,TYPE,txt |
static class | SIPNotification.Group
GROUP notification. Triggered by: conference calls Event: SIPNotificationListener.onGroup Fields: GROUP,line,peers |
static class | SIPNotification.INFO
INFO notification. Triggered by: incoming/outgoing INFO or DTMF messages Event: SIPNotificationListener.onINFO Fields: INFO,type,line,peername,text |
static class | SIPNotification.Line
LINE notification. Triggered by: active line change (the line parameter is the current active line). Event: SIPNotificationListener.onLine Fields: LINE,line |
static class | SIPNotification.Log
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 |
static class | SIPNotification.MWI
MWI notification. Triggered by: Messages-Waiting indicator Event: SIPNotificationListener.onMWI Fields: MWI,hasvoicemail,voicemailnumber,to,count,message |
static class | SIPNotification.NewContact
NEWUSER notification. Triggered by: new contact request Event: SIPNotificationListener.onNewContact Fields: NEWUSER,usrname,displayname |
static class | SIPNotification.PlayReady
PLAYREADY notification. Triggered by: audio streaming finished Event: SIPNotificationListener.onPlayReady Fields: PLAYREADY,line,callid |
static class | SIPNotification.Popup
POPUP notification. Triggered by: announcements Event: SIPNotificationListener.onPopup Fields: POPUP,txt |
static class | SIPNotification.Presence
PRESENCE notification. Triggered by: presence changes (peers online status) Event: SIPNotificationListener.onPresence Fields: PRESENCE,peername,state,details,displayname,email |
static class | SIPNotification.Rating
RATING notification. Triggered by: rating info received on call setup Event: SIPNotificationListener.onRating Fields: RATING,text |
static class | SIPNotification.Register
REGISTER notification. Triggered by: register state changes from registrar endpoints Event: SIPNotificationListener.onRegister Fields: REGISTER,line,state,text,main,fcm,user,reason |
static class | SIPNotification.RTPE
RTPE notification. Triggered by: RTP extra header changes Event: SIPNotificationListener.onRTPE Fields: RTPE,line,profile,extension |
static class | SIPNotification.RTPStat
RTPSTAT notification. Triggered by: media quality reports Event: SIPNotificationListener.onRTPStat Fields: RTPSTAT,quality,sent,rec,issues,loss |
static class | SIPNotification.RTPT
RTPT notification. Triggered by: ED-137 RTP extra header changes Event: SIPNotificationListener.RTPT Fields: RTPT,line,PTT-Type,SQU,PTT-ID,SCT,VF,extensionwords |
static class | SIPNotification.ServerContacts
SERVERCONTACTS notification. Triggered by: contact found at voip server Event: SIPNotificationListener.onServerContacts Fields: SERVERCONTACTS,text |
static class | SIPNotification.ShouldReset
SHOULDRESET notification. Triggered by: reinit required Event: SIPNotificationListener.onShouldReset Fields: SHOULDRESET,reason text |
static class | SIPNotification.SIP
SIP notification. Triggered by: received/sent SIP signaling messages Event: SIPNotificationListener.onSIP Fields: SIP,direction,address,message |
static class | SIPNotification.Start
START notification. Triggered by: startup Event: SIPNotificationListener.onStart Fields: START,what |
static class | SIPNotification.Status
STATUS notification. Triggered by: SIP session state chang, such as Init, Register, CallSetup, CallConnect, CallDisconnect, etc You might receive multiple same or similar notifications for the same call state! Event: SIPNotificationListener.onStatus Fields: STATUS,line,statustext,peername,localname,endpointtype,peerdisplayname,[callid],online,registered,incall,mute,hold,encrypted,video,group, rtpsent,rtprec,rtploss,rtplosspercet,videohold,videosent,videorec,serverstats |
static class | SIPNotification.Stop
STOP notification. Triggered by: destroy Event: SIPNotificationListener.onStop Fields: STOP,api |
static class | SIPNotification.USSD
USSD notification. Triggered by: incoming USSD messages or report about success/failure about the outgoing USSD messages sent by API_SendUSSD. Event: SIPNotificationListener.onUSSD Fields: USSD,line,status,text |
static class | SIPNotification.VAD
VAD notification. Triggered by: voice activity Event: SIPNotificationListener.onVAD Fields: VAD,parameters (VAD,local_vad: ON local_avg: 0 local_max: 0 local_speaking: no remote_vad: ON remote_avg: 0 remote_max: 0 remote_speaking: no) |
static class | SIPNotification.Video
VIDEO notification. Triggered by: video start/stop events Event: SIPNotificationListener.onVideo Fields: VIDEO,startstop,type,line,reason,ip,port,codec,payload,quality,bw,max_bw,fps,max_fps,width,height,profilelevelid,profile,pixelfmt,level,pm,sprop,srtp_alg,srtp_key,srtp_remotekey,device,fmtp |
static class | SIPNotification.Vrec
VREC notification. Triggered by: call record state Event: SIPNotificationListener.onVrec Fields: NOTIF,line |
Field Summary | |
---|---|
static int | NOTIFICATION_ALL
all notifications |
static int | NOTIFICATION_ANSWER
answer for previous request |
static int | NOTIFICATION_BLF
BLF state changes |
static int | NOTIFICATION_BLOCK
message blocked/ignored |
static int | NOTIFICATION_CDR
call detail record |
static int | NOTIFICATION_CHAT
incoming chat messages |
static int | NOTIFICATION_CHATCOMPOSING
is composing notifications |
static int | NOTIFICATION_CHATREPORT
Chat transmission status |
static int | NOTIFICATION_CREDIT
balance state |
static int | NOTIFICATION_DTMF
incoming DTMF |
static int | NOTIFICATION_EVENT
important events |
static int | NOTIFICATION_GROUP
conference calls people |
static int | NOTIFICATION_INFO
incoming/outgoing INFO or DTMF messages |
static int | NOTIFICATION_INVALID
invalid notification type |
static int | NOTIFICATION_LINE
line change |
static int | NOTIFICATION_LOG
log or event |
static int | NOTIFICATION_MWI
voicemail |
static int | NOTIFICATION_NEWUSER
new contact request |
static int | NOTIFICATION_PLAYREADY
streaming finished |
static int | NOTIFICATION_POPUP
popup message |
static int | NOTIFICATION_PRESENCE
presence changes |
static int | NOTIFICATION_RATING
call cost |
static int | NOTIFICATION_REGISTER
registration state change |
static int | NOTIFICATION_RTPE
RTP extra header changes |
static int | NOTIFICATION_RTPSTAT
media quality reports |
static int | NOTIFICATION_RTPT
ED-137 RTP extra header changes |
static int | NOTIFICATION_SERVERCONTACTS
server contacts |
static int | NOTIFICATION_SHOULDRESET
restart request |
static int | NOTIFICATION_SIP
received/sent SIP signaling messages |
static int | NOTIFICATION_START
api or sip stack start |
static int | NOTIFICATION_STATUS
state change |
static int | NOTIFICATION_STOP
api destroy |
static int | NOTIFICATION_USSD
USSD messages |
static int | NOTIFICATION_VAD
voice activity |
static int | NOTIFICATION_VIDEO
video start/stop |
static int | NOTIFICATION_VREC
voice record state |
Method Summary | |
---|---|
int | getNotificationType()
Type of the notification (NOTIFICATION_... |
java.lang.String | toString()
The whole notification as string (one line with the fields separated by comma) |
Field Detail |
---|
public static final int NOTIFICATION_ALL
public static final int NOTIFICATION_INVALID
public static final int NOTIFICATION_STATUS
public static final int NOTIFICATION_CDR
public static final int NOTIFICATION_LOG
public static final int NOTIFICATION_EVENT
public static final int NOTIFICATION_POPUP
public static final int NOTIFICATION_LINE
public static final int NOTIFICATION_REGISTER
public static final int NOTIFICATION_PRESENCE
public static final int NOTIFICATION_BLF
public static final int NOTIFICATION_DTMF
public static final int NOTIFICATION_INFO
public static final int NOTIFICATION_USSD
public static final int NOTIFICATION_CHAT
public static final int NOTIFICATION_CHATREPORT
public static final int NOTIFICATION_CHATCOMPOSING
public static final int NOTIFICATION_START
public static final int NOTIFICATION_STOP
public static final int NOTIFICATION_SHOULDRESET
public static final int NOTIFICATION_GROUP
public static final int NOTIFICATION_VREC
public static final int NOTIFICATION_PLAYREADY
public static final int NOTIFICATION_SIP
public static final int NOTIFICATION_BLOCK
public static final int NOTIFICATION_VAD
public static final int NOTIFICATION_RTPE
public static final int NOTIFICATION_RTPT
public static final int NOTIFICATION_RTPSTAT
public static final int NOTIFICATION_CREDIT
public static final int NOTIFICATION_RATING
public static final int NOTIFICATION_MWI
public static final int NOTIFICATION_SERVERCONTACTS
public static final int NOTIFICATION_NEWUSER
public static final int NOTIFICATION_ANSWER
public static final int NOTIFICATION_VIDEO
Method Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public int getNotificationType()