java.lang.Objectwebphone.SIPNotification
webphone.SIPNotification.INFO
public static class SIPNotification.INFO
INFO notification.
Triggered by: incoming/outgoing INFO or DTMF messages
Event: SIPNotificationListener.onINFO
Fields: INFO,type,line,peername,text
Field Summary | |
---|---|
static int | INFO_ERROR
Outgoing DTMF (API_Dtmf) or INFO (API_Info) message failed |
static int | INFO_OK
Outgoing DTMF (API_Dtmf) or INFO (API_Info) was sent successfully |
static int | INFO_REC
Incoming INFO message received |
static int | INFO_UNKNOWN
unrecognized |
static int | INFO_WARNING
Outgoing DTMF failover from SIP INFO to RFC 2833 or In-Band on answer timeout or error response |
Method Summary | |
---|---|
int | getLine()
endpoint line |
java.lang.String | getPeer()
other party username |
java.lang.String | getText()
INFO message body when type is REC or any additional info if type us ERROR, WARNING or OK. |
int | getType()
INFO_... |
java.lang.String | getTypeText()
type as string |
Methods inherited from class webphone.SIPNotification |
---|
getNotificationType, toString |
Field Detail |
---|
public static final int INFO_UNKNOWN
public static final int INFO_ERROR
public static final int INFO_WARNING
public static final int INFO_OK
public static final int INFO_REC
Method Detail |
---|
public int getLine()
public int getType()
public java.lang.String getTypeText()
public java.lang.String getPeer()
public java.lang.String getText()