java.lang.Objectwebphone.SIPNotification
webphone.SIPNotification.MWI
public static class SIPNotification.MWI
MWI notification.
Triggered by: Messages-Waiting indicator
Event: SIPNotificationListener.onMWI
Fields: MWI,hasvoicemail,voicemailnumber,to,count,message
Field Summary | |
---|---|
static int | ENUM_VAL1
enum_comment |
static int | ENUM_VAL2
enum_comment |
Method Summary | |
---|---|
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) |
Methods inherited from class webphone.SIPNotification |
---|
getNotificationType, toString |
Field Detail |
---|
public static final int ENUM_VAL1
public static final int ENUM_VAL2
Method Detail |
---|
public boolean getHasMessage()
public java.lang.String getVMNumber()
public java.lang.String getTo()
public int getCount()
public java.lang.String getMessage()