public static class SIPNotification.MWI 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 |
ENUM_VAL1
enum_comment
|
static int |
ENUM_VAL2
enum_comment
|
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 |
getCount()
number of pending messages (Messages-Waiting)
|
boolean |
getHasMessage()
hasvoicemail: “yes” or “no” (Messages-Waiting indicator, whether if there are message(s) pending)
|
java.lang.String |
getMessage()
message text if sent by the server (Voice-Message)
|
java.lang.String |
getTo()
username from the SIP To header (Message-Account; usually the local account username, useful if you have multiple accounts)
|
java.lang.String |
getVMNumber()
the voicemail access number (as configured or as received in Message-Account)
|
void |
Parse(java.lang.String str,
java.lang.String[] params) |
getNotificationType, getNotificationTypeText, toString
public static final int ENUM_VAL1
public static final int ENUM_VAL2
public boolean getHasMessage()
public java.lang.String getVMNumber()
public java.lang.String getTo()
public int getCount()
public java.lang.String getMessage()
public void Parse(java.lang.String str, java.lang.String[] params)