public static class SIPNotification.INFO extends SIPNotification
SIPNotification.Answer, SIPNotification.BLF, SIPNotification.Block, SIPNotification.CDR, SIPNotification.Chat, SIPNotification.ChatComposing, SIPNotification.ChatReport, SIPNotification.Credit, SIPNotification.DTMF, SIPNotification.Event, SIPNotification.Group, SIPNotification.INFO, SIPNotification.Line, SIPNotification.Log, 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
Modifier and Type | Field and Description |
---|---|
static int |
INFO_ERROR
Outgoing DTMF (API_Dtmf) or INFO (API_Info) message failed
|
static int |
INFO_OK
Outgoing DTMF (API_Dtmf) or INFO (API_Info) was sent successfully
|
static int |
INFO_REC
Incoming INFO message received
|
static int |
INFO_UNKNOWN
unrecognized
|
static int |
INFO_WARNING
Outgoing DTMF failover from SIP INFO to RFC 2833 or In-Band on answer timeout or error response
|
NOTIFICATION_ALL, NOTIFICATION_ANSWER, 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_LINE, NOTIFICATION_LOG, 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_type, NOTIFICATION_USSD, NOTIFICATION_VAD, NOTIFICATION_VIDEO, NOTIFICATION_VREC
Modifier and Type | Method and Description |
---|---|
int |
getLine()
endpoint line
|
java.lang.String |
getPeer()
other party username
|
java.lang.String |
getText()
INFO message body when type is REC or any additional info if type us ERROR, WARNING or OK.
|
int |
getType()
INFO_...
|
java.lang.String |
getTypeText()
type as string
|
void |
Parse(java.lang.String str,
java.lang.String[] params) |
getNotificationType, getNotificationTypeText, toString
public static final int INFO_UNKNOWN
public static final int INFO_ERROR
public static final int INFO_WARNING
public static final int INFO_OK
public static final int INFO_REC
public int getLine()
public int getType()
public java.lang.String getTypeText()
public java.lang.String getPeer()
public java.lang.String getText()
public void Parse(java.lang.String str, java.lang.String[] params)