public static class SIPNotification.Status 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 |
CALL_STATE_CONNECTED
speaking
|
static int |
CALL_STATE_CONNECTING
setup or ringing
|
static int |
CALL_STATE_NO
not in call
|
static int |
CALL_STATE_UNKNOWN
unknown
|
static int |
DIRECTION_IN
incoming (server endpoint: or inbound sessions such as incoming calls when JVoIP acts as a UAS)
|
static int |
DIRECTION_OUT
outgoing (client endpoint: sessions initiated by JVoIP such as outbound calls, where JVoIP acts as a UAC)
|
static int |
DIRECTION_UNKNOWN
unknown
|
static int |
ENCRYPTION_STATE_NO
not encrypted
|
static int |
ENCRYPTION_STATE_UNKNOWN
unknown
|
static int |
ENCRYPTION_STATE_YES
encrypted
|
static int |
ENCRYPTION_STATE_YES_STRONG
encrypted (always strong)
|
static int |
ENCRYPTION_STATE_YES_WEAK
encrypted (weak or partially)
|
static int |
HOLD_STATE_BOTH
inactive (full hold)
|
static int |
HOLD_STATE_NO
not in hold
|
static int |
HOLD_STATE_RECVONLY
receiving only (no local recording)
|
static int |
HOLD_STATE_SENDONLY
sending only (no local playback)
|
static int |
HOLD_STATE_UNKNOWN
unknown
|
static int |
MUTE_STATE_BOTH
all muted
|
static int |
MUTE_STATE_NO
not muted
|
static int |
MUTE_STATE_PLAY
playback muted
|
static int |
MUTE_STATE_REC
recording muted
|
static int |
MUTE_STATE_UNKNOWN
unknown
|
static int |
NETWORK_STATE_OFFLINE
no network or internet connection
|
static int |
NETWORK_STATE_ONLINE
connectivity detected
|
static int |
NETWORK_STATE_UNKNOWN
unknown
|
static int |
REGISTER_STATE_FAILED
failed.
|
static int |
REGISTER_STATE_NOTNEEDED
no need to register (for example if the register parameter is set to 0 or no serveraddress/username/password was provided
|
static int |
REGISTER_STATE_UNKNOWN
unknown
|
static int |
REGISTER_STATE_UNREGISTERED
deregistered
|
static int |
REGISTER_STATE_WORKING_NO
registration in progress.
|
static int |
REGISTER_STATE_WORKING_UNKNOWN
registration in progress, unknown result.
|
static int |
REGISTER_STATE_WORKING_YES
registration in progress.
|
static int |
REGISTER_STATE_YES
registered
|
static int |
STATUS_CALL_CONNECT
200 OK send or received.
|
static int |
STATUS_CALL_FINISHED
200 OK or ACK send or received for the call disconnect request.
|
static int |
STATUS_CALL_FINISHING
BYE or CANCEL send or received.
|
static int |
STATUS_CALL_HOLD
call in hold.
|
static int |
STATUS_CALL_MIDCALL
any other dialogs during a call
|
static int |
STATUS_CALL_MUTE
call in muted state.
|
static int |
STATUS_CALL_PROGRESS
100 Trying received or sent
|
static int |
STATUS_CALL_RINGING
180 Ringing sent or received
|
static int |
STATUS_CALL_ROUTED |
static int |
STATUS_CALL_SESSIONPROGRESS
183 Session progress
|
static int |
STATUS_CALL_SETUP
beginning of an incoming or outgoing call: INVITE send or received
|
static int |
STATUS_CALL_SPEAKING
ACK for 200 OK send or received.
|
static int |
STATUS_DELETABLE
Endpoint is marked to be destroyed.
|
static int |
STATUS_ERROR
Unexpected state error.
|
static int |
STATUS_INITIALIZING
SIP stack starting
|
static int |
STATUS_MESSAGE
emitted by IM/chat/SMS endpoints
|
static int |
STATUS_NOTREADY
not ready to initiate/accept calls
|
static int |
STATUS_OUTBAND
notify/options/etc.
|
static int |
STATUS_READY
ready to initiate/accept calls
|
static int |
STATUS_REGISTER
emitted by register endpoints.
|
static int |
STATUS_REGISTERED
server answered with 200 OK for the REGISTER request
|
static int |
STATUS_REGISTERFAILED
register failed.
|
static int |
STATUS_SUBSCRIBE
emitted by presence or voicemail subscribe/notify endpoints
|
static int |
STATUS_UNKNOWN
default value, should never be sent
|
static int |
STATUS_UNREGISTER
endpoint deregistered
|
static int |
VIDEO_STATE_INITIALIZED
video call attempt
|
static int |
VIDEO_STATE_NO
not a video call (audio only)
|
static int |
VIDEO_STATE_OFFERED
video offer received from peer
|
static int |
VIDEO_STATE_RTPREADY
video RTP stream constructed
|
static int |
VIDEO_STATE_STARTED
player/recorder started
|
static int |
VIDEO_STATE_STREAMING
video call in progress
|
static int |
VIDEO_STATE_UNKNOWN
unknown
|
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 |
---|---|
java.lang.String |
getCallID()
SIP Call-ID (can be used as an unique identifier for this session)
|
int |
getEncrypted()
encryption state (ENCRYPTION_STATE_...
|
java.lang.String |
getEncryptedText()
hold state as string
|
int |
getEndpointType()
in or out: one of the DIRECTION_ constrains
|
java.lang.String |
getEndpointTypeText()
direction as string
|
java.lang.String |
getGroup()
group name if any: group string for group chat and conference calls (members separated by | )
|
int |
getHold()
is on hold state (HOLD_STATE_...
|
java.lang.String |
getHoldText()
hold state as string
|
int |
getIncall()
phone/line is in call (CALL_STATE_...
|
java.lang.String |
getIncallText()
call state as string
|
int |
getLine()
the line number for this state (or -1 for the global state)
|
java.lang.String |
getLocalname()
local user name (usually what you provided with the "username" parameter)
|
int |
getMute()
is muted state (MUTE_STATE_...
|
java.lang.String |
getMuteText()
mute state as string
|
int |
getOnline()
network status (NETWORK_STATE_...
|
java.lang.String |
getOnlineText()
network status as string
|
java.lang.String |
getPeer()
remote user name (the caller or the called party username)
|
java.lang.String |
getPeerDisplayname()
the other party display name if any
|
int |
getRegistered()
registration state (REGISTER_STATE_...
|
java.lang.String |
getRegisteredText()
registration status as string
|
long |
getRtploss()
number of lost RTP packets (only if endpoint is in call)
|
int |
getRtplosspercent()
percent of the lost RTP packets (only if endpoint is in call)
|
long |
getRtprec()
number of received RTP packets (only if endpoint is in call)
|
long |
getRtpsent()
number of sent RTP packets (only if endpoint is in call)
|
java.lang.String |
getServerstats()
RTP statistics received from the server, if any (only if endpoint is in call)
|
int |
getStatus()
the status as int (STATUS_...
|
java.lang.String |
getStatusText()
the status as string (for example: Init, Register, CallSetup, CallConnect, CallDisconnect)
|
int |
getVideo()
video state (VIDEO_STATE_...
|
java.lang.String |
getVideodText()
video state as string
|
int |
getVideoHold()
is video on hold state (HOLD_STATE_...
|
java.lang.String |
getVideoHoldText()
hold video state as string
|
long |
getVideoRtprec()
number of received video RTP packets (only if endpoint is in video call)
|
long |
getVideoRtpsent()
number of sent video RTP packets (only if endpoint is in video call)
|
void |
Parse(java.lang.String str,
java.lang.String[] params) |
getNotificationType, getNotificationTypeText, toString
public static final int STATUS_UNKNOWN
public static final int STATUS_NOTREADY
public static final int STATUS_INITIALIZING
public static final int STATUS_READY
public static final int STATUS_OUTBAND
public static final int STATUS_REGISTER
public static final int STATUS_REGISTERED
public static final int STATUS_REGISTERFAILED
public static final int STATUS_UNREGISTER
public static final int STATUS_SUBSCRIBE
public static final int STATUS_MESSAGE
public static final int STATUS_CALL_SETUP
public static final int STATUS_CALL_ROUTED
public static final int STATUS_CALL_PROGRESS
public static final int STATUS_CALL_SESSIONPROGRESS
public static final int STATUS_CALL_RINGING
public static final int STATUS_CALL_CONNECT
public static final int STATUS_CALL_SPEAKING
public static final int STATUS_CALL_MIDCALL
public static final int STATUS_CALL_MUTE
public static final int STATUS_CALL_HOLD
public static final int STATUS_CALL_FINISHING
public static final int STATUS_CALL_FINISHED
public static final int STATUS_DELETABLE
public static final int STATUS_ERROR
public static final int DIRECTION_UNKNOWN
public static final int DIRECTION_OUT
public static final int DIRECTION_IN
public static final int NETWORK_STATE_UNKNOWN
public static final int NETWORK_STATE_OFFLINE
public static final int NETWORK_STATE_ONLINE
public static final int REGISTER_STATE_UNKNOWN
public static final int REGISTER_STATE_NOTNEEDED
public static final int REGISTER_STATE_YES
public static final int REGISTER_STATE_WORKING_YES
public static final int REGISTER_STATE_WORKING_UNKNOWN
public static final int REGISTER_STATE_WORKING_NO
public static final int REGISTER_STATE_UNREGISTERED
public static final int REGISTER_STATE_FAILED
public static final int CALL_STATE_UNKNOWN
public static final int CALL_STATE_NO
public static final int CALL_STATE_CONNECTING
public static final int CALL_STATE_CONNECTED
public static final int MUTE_STATE_NO
public static final int MUTE_STATE_UNKNOWN
public static final int MUTE_STATE_PLAY
public static final int MUTE_STATE_REC
public static final int MUTE_STATE_BOTH
public static final int HOLD_STATE_NO
public static final int HOLD_STATE_UNKNOWN
public static final int HOLD_STATE_SENDONLY
public static final int HOLD_STATE_RECVONLY
public static final int HOLD_STATE_BOTH
public static final int ENCRYPTION_STATE_UNKNOWN
public static final int ENCRYPTION_STATE_NO
public static final int ENCRYPTION_STATE_YES_WEAK
public static final int ENCRYPTION_STATE_YES
public static final int ENCRYPTION_STATE_YES_STRONG
public static final int VIDEO_STATE_UNKNOWN
public static final int VIDEO_STATE_NO
public static final int VIDEO_STATE_INITIALIZED
public static final int VIDEO_STATE_OFFERED
public static final int VIDEO_STATE_RTPREADY
public static final int VIDEO_STATE_STARTED
public static final int VIDEO_STATE_STREAMING
public int getLine()
public java.lang.String getStatusText()
public int getStatus()
public java.lang.String getPeer()
public java.lang.String getLocalname()
public int getEndpointType()
public java.lang.String getPeerDisplayname()
public java.lang.String getCallID()
public int getOnline()
public int getRegistered()
public int getIncall()
public int getMute()
public int getHold()
public int getEncrypted()
public int getVideo()
public java.lang.String getGroup()
public long getRtpsent()
public long getRtprec()
public long getRtploss()
public int getRtplosspercent()
public int getVideoHold()
public long getVideoRtpsent()
public long getVideoRtprec()
public java.lang.String getServerstats()
public java.lang.String getEndpointTypeText()
public java.lang.String getOnlineText()
public java.lang.String getRegisteredText()
public java.lang.String getIncallText()
public java.lang.String getMuteText()
public java.lang.String getHoldText()
public java.lang.String getEncryptedText()
public java.lang.String getVideodText()
public java.lang.String getVideoHoldText()
public void Parse(java.lang.String str, java.lang.String[] params)