public static class SIPNotification.AI extends SIPNotification
SIPNotification.Account, SIPNotification.AI, SIPNotification.Answer, SIPNotification.APIResult, SIPNotification.BLF, SIPNotification.Block, SIPNotification.CDR, SIPNotification.Chat, SIPNotification.ChatComposing, SIPNotification.ChatReport, SIPNotification.Credit, SIPNotification.DTMF, SIPNotification.Event, SIPNotification.Group, SIPNotification.INFO, SIPNotification.LicKey, SIPNotification.Line, SIPNotification.Log, SIPNotification.Media, 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 |
STATUS_CONNECTED
websocket connected
|
static int |
STATUS_CONNECTING
websocket connecting
|
static int |
STATUS_DISCONNECTED
stopped
|
static int |
STATUS_ERROR
error
|
static int |
STATUS_INIT
ctor - startup
|
static int |
STATUS_NOTSET
not set yet.
|
static int |
STATUS_RECEIVED
first audio or text received
|
static int |
STATUS_SENDRECV
first audio or text send and received
|
static int |
STATUS_SENT
first audio or text sent
|
static int |
STATUS_SETUP
setup cmd sent
|
static int |
STATUS_TRANSFER
call transfer
|
static int |
STATUS_UNKNOWN
unknown.
|
line, NOTIFICATION_ACCOUNT, NOTIFICATION_AI, NOTIFICATION_ALL, NOTIFICATION_ANSWER, NOTIFICATION_APIRESULT, 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_LICKEY, NOTIFICATION_LINE, NOTIFICATION_LOG, NOTIFICATION_MEDIA, 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_string, notification_type, NOTIFICATION_USSD, NOTIFICATION_VAD, NOTIFICATION_VIDEO, NOTIFICATION_VREC| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCallID()
SIP Call-ID
|
int |
getLine()
endpoint line
|
java.lang.String |
getPeer()
peer username or phone number
|
int |
getStatAudioRec()
statistics: received audio packets from AI
|
int |
getStatAudioSent()
statistics: sent audio packets to AI
|
int |
getStatTxtRec()
statistics: received text messages from AI
|
int |
getStatTxtSent()
statistics: sent text messages to AI
|
int |
getStatus()
the status as int (STATUS_...
|
java.lang.String |
getStatusText()
the status as string
|
java.lang.String |
isTransferred()
returns the transfer target phone number or username if the call was transferred.
|
void |
Parse(java.lang.String str,
java.lang.String[] params) |
getNotificationType, getNotificationTypeText, toStringpublic static final int STATUS_NOTSET
public static final int STATUS_INIT
public static final int STATUS_CONNECTING
public static final int STATUS_CONNECTED
public static final int STATUS_SETUP
public static final int STATUS_SENT
public static final int STATUS_RECEIVED
public static final int STATUS_SENDRECV
public static final int STATUS_TRANSFER
public static final int STATUS_DISCONNECTED
public static final int STATUS_ERROR
public static final int STATUS_UNKNOWN
public int getLine()
public java.lang.String getCallID()
public java.lang.String getPeer()
public int getStatus()
public java.lang.String getStatusText()
public int getStatAudioSent()
public int getStatAudioRec()
public int getStatTxtSent()
public int getStatTxtRec()
public java.lang.String isTransferred()
public void Parse(java.lang.String str,
java.lang.String[] params)