public static class SIPNotification.Register 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 |
FCM_MAIN
fcm register for the main account
|
static int |
FCM_NO
not fcm register
|
static int |
FCM_SECONDARY
fcm register for a secondary account
|
static int |
FCM_UNREG
fcm unregister
|
static int |
STATUS_FAILED
registration failed
|
static int |
STATUS_INPROGRESS
registration in progress
|
static int |
STATUS_SUCCESS
registered
|
static int |
STATUS_UNREGISTERED
deregistered
|
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 |
getFcm()
should not be used (ignore)
|
boolean |
getIsMain()
true for primary account, false for secondary registrations (if you are using multiple accounts)
|
int |
getLine()
register endpoint line number.
|
java.lang.String |
getReason()
failure reason text if any (useful for STATUS_FAILED)
|
int |
getStatus()
register state (STATUS_...
|
java.lang.String |
getText()
the status as string
|
java.lang.String |
getUser()
local username (useful if you are using multiple accounts)
|
void |
Parse(java.lang.String str,
java.lang.String[] params) |
getNotificationType, getNotificationTypeText, toString
public static final int STATUS_INPROGRESS
public static final int STATUS_SUCCESS
public static final int STATUS_FAILED
public static final int STATUS_UNREGISTERED
public static final int FCM_NO
public static final int FCM_MAIN
public static final int FCM_SECONDARY
public static final int FCM_UNREG
public int getLine()
public int getStatus()
public java.lang.String getText()
public boolean getIsMain()
public int getFcm()
public java.lang.String getUser()
public java.lang.String getReason()
public void Parse(java.lang.String str, java.lang.String[] params)