public static class SIPNotification.CDR 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 |
DISCBY_LOCAL
local endpoint
|
static int |
DISCBY_NOTSET
not set
|
static int |
DISCBY_REMOTE
peer
|
static int |
DISCBY_UNKNOWN
undefined/timeout
|
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 |
getCalled()
called party name (our username in case when we are receiving the call, otherwise the remote username, phone number or URI)
|
java.lang.String |
getCaller()
the caller party name (our username in case when we are initiated the call, otherwise the remote username, displayname, phone number or URI)
|
long |
getConnectTime()
milliseconds elapsed between call initiation and call connect
|
int |
getDiscParty()
the party which was initiated the disconnect (DISCBY_...
|
java.lang.String |
getDiscPartyText()
disconnect party as string
|
java.lang.String |
getDiscReason()
a text about the reason of the call disconnect (SIP disconnect code, CANCEL, BYE or some other error text)
|
long |
getDuration()
milliseconds elapsed between call connect and hangup (0 for not connected calls.
|
int |
getLine()
endpoint line
|
java.lang.String |
getPeer()
other party username, phone number or SIP URI
|
java.lang.String |
getPeerAddress()
ther endpoint address (usually the VoIP server IP or domain name)
|
void |
Parse(java.lang.String str,
java.lang.String[] params) |
getNotificationType, getNotificationTypeText, toString
public static final int DISCBY_NOTSET
public static final int DISCBY_LOCAL
public static final int DISCBY_REMOTE
public static final int DISCBY_UNKNOWN
public int getLine()
public java.lang.String getPeer()
public java.lang.String getCaller()
public java.lang.String getCalled()
public java.lang.String getPeerAddress()
public long getConnectTime()
public long getDuration()
public int getDiscParty()
public java.lang.String getDiscReason()
public java.lang.String getDiscPartyText()
public void Parse(java.lang.String str, java.lang.String[] params)