webphone
Class SIPNotification.RTPT

java.lang.Object
  extended by webphone.SIPNotification
      extended by webphone.SIPNotification.RTPT
Enclosing class:
SIPNotification

public static class SIPNotification.RTPT
extends SIPNotification

RTPT notification.
Triggered by: ED-137 RTP extra header changes
Event: SIPNotificationListener.RTPT
Fields: RTPT,line,PTT-Type,SQU,PTT-ID,SCT,VF,extensionwords


Nested Class Summary
 
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
 
Field Summary
static int PTT_OFF
          not speaking
static int PTT_ON
          ON (normal speaking)
static int PTT_ON_COUPLING
          Coupling ON
static int PTT_ON_EMERGENCY
          Emergency ON
static int PTT_ON_PRIORITY
          Priority ON
static int PTT_UNKNOWN
          unrecognized
 
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
 java.lang.String getExtension()
          the whole 32 bit words as int converted to string.
 int getID()
          PTT-ID: (4 bits: b4-7)
 int getLine()
          endpoint line
 boolean getSCT()
          (1 bit: b8): simultaneous transmission
 boolean getSQU()
          SQU: (1 bit: b3)
 int getType()
          (3 bits: b0-2) ptt off/on types (PTT_...
 java.lang.String getTypeText()
          type as string
 boolean getVF()
          (1 bit : b31) Visibility Flag marker bit.
 
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

PTT_UNKNOWN

public static final int PTT_UNKNOWN
unrecognized

See Also:
Constant Field Values

PTT_OFF

public static final int PTT_OFF
not speaking

See Also:
Constant Field Values

PTT_ON

public static final int PTT_ON
ON (normal speaking)

See Also:
Constant Field Values

PTT_ON_COUPLING

public static final int PTT_ON_COUPLING
Coupling ON

See Also:
Constant Field Values

PTT_ON_PRIORITY

public static final int PTT_ON_PRIORITY
Priority ON

See Also:
Constant Field Values

PTT_ON_EMERGENCY

public static final int PTT_ON_EMERGENCY
Emergency ON

See Also:
Constant Field Values
Method Detail

getLine

public int getLine()
endpoint line


getType

public int getType()
(3 bits: b0-2) ptt off/on types (PTT_... constant)


getTypeText

public java.lang.String getTypeText()
type as string


getSQU

public boolean getSQU()
SQU: (1 bit: b3)


getID

public int getID()
PTT-ID: (4 bits: b4-7)


getSCT

public boolean getSCT()
(1 bit: b8): simultaneous transmission


getVF

public boolean getVF()
(1 bit : b31) Visibility Flag marker bit. Set to 1 when the peer received an RTP packet from us


getExtension

public java.lang.String getExtension()
the whole 32 bit words as int converted to string. If there are more then one then separated by semicolon (;)