webphone
Class SIPNotification.USSD
java.lang.Object
webphone.SIPNotification
webphone.SIPNotification.USSD
- Enclosing class:
- SIPNotification
public static class SIPNotification.USSD
- extends SIPNotification
USSD notification.
Triggered by: incoming USSD messages or report about success/failure about the outgoing USSD messages sent by API_SendUSSD.
Event: SIPNotificationListener.onUSSD
Fields: USSD,line,status,text
| Nested classes/interfaces inherited from class webphone.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 |
| Fields inherited from class webphone.SIPNotification |
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_USSD, NOTIFICATION_VAD, NOTIFICATION_VIDEO, NOTIFICATION_VREC |
|
Method Summary |
int |
getLine()
endpoint line |
int |
getStatus()
USSD_... |
java.lang.String |
getStatusText()
status as string |
java.lang.String |
getText()
received USDD string (if status is 2) otherwise it might contain an error (if status is 0) |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
USSD_UNKNOWN
public static final int USSD_UNKNOWN
- unrecognized
- See Also:
- Constant Field Values
USSD_FAILED
public static final int USSD_FAILED
- send failed
- See Also:
- Constant Field Values
USSD_SENT
public static final int USSD_SENT
- send succeeded
- See Also:
- Constant Field Values
USSD_RECEIVED
public static final int USSD_RECEIVED
- received
- See Also:
- Constant Field Values
getLine
public int getLine()
- endpoint line
getStatus
public int getStatus()
- USSD_... constant
getStatusText
public java.lang.String getStatusText()
- status as string
getText
public java.lang.String getText()
- received USDD string (if status is 2) otherwise it might contain an error (if status is 0)