java.lang.Objectwebphone.SIPNotification
webphone.SIPNotification.Vrec
public static class SIPNotification.Vrec
VREC notification.
Triggered by: call record state
Event: SIPNotificationListener.onVrec
Fields: VREC,line,stage,type,path,reason,source
| Nested Class Summary |
|---|
| Field Summary | |
|---|---|
static int |
SOURCE_AUTO
auto started |
static int |
SOURCE_SIPREC
SIPREC initiated |
static int |
SOURCE_UNKNOWN
unrecognizable |
static int |
SOURCE_USER
user initiated |
static int |
STAGE_DISABLED
disabled |
static int |
STAGE_FAILED
failed to save |
static int |
STAGE_INIT
call record begin |
static int |
STAGE_SAVED
save success |
static int |
STAGE_SAVED_WAV
partial success: unable to convert to the requested format (such as mp3 or gsm) but saved as wave |
static int |
STAGE_SAVING
save begin |
static int |
STAGE_UNKNWON
unrecognizable |
static int |
TYPE_FILE
local file |
static int |
TYPE_FTP
ftp |
static int |
TYPE_HTTP
http/https |
static int |
TYPE_SERVER
voip server or gateway side |
static int |
TYPE_SIPREC
SIPREC protocol |
static int |
TYPE_UNKNOWN
unknown. |
| Method Summary | |
|---|---|
java.lang.String |
getCallID()
returns the SIP Call-ID of the call session |
int |
getLine()
endpoint line: channel number (note: with stage 3 and 4 it will always report -1 or -2 means default/not specified) |
java.lang.String |
getPath()
upload path/file |
java.lang.String |
getReason()
failure reason if any |
int |
getSource()
who initiated |
java.lang.String |
getSourceText()
who initiated as string |
int |
getStatus()
stage (STAGE_...) |
java.lang.String |
getStatusText()
stage as string |
int |
getType()
upload method (TYPE_...) |
java.lang.String |
getTypeText()
upload method as string |
| Methods inherited from class webphone.SIPNotification |
|---|
getNotificationType, getNotificationTypeText, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int STAGE_DISABLED
public static final int STAGE_INIT
public static final int STAGE_SAVING
public static final int STAGE_SAVED
public static final int STAGE_SAVED_WAV
public static final int STAGE_FAILED
public static final int STAGE_UNKNWON
public static final int TYPE_UNKNOWN
public static final int TYPE_FILE
public static final int TYPE_FTP
public static final int TYPE_HTTP
public static final int TYPE_SERVER
public static final int TYPE_SIPREC
public static final int SOURCE_USER
public static final int SOURCE_SIPREC
public static final int SOURCE_AUTO
public static final int SOURCE_UNKNOWN
| Method Detail |
|---|
public int getLine()
public int getStatus()
public java.lang.String getStatusText()
public int getType()
public java.lang.String getTypeText()
public java.lang.String getPath()
public java.lang.String getReason()
public int getSource()
public java.lang.String getSourceText()
public java.lang.String getCallID()