|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
The Symbols used by the SignalDetector Resource and SignalDetectorEvent objects.
The Symbols that name DTMF, CNG and CED signals are inherited from SignalConstants.
| Field Summary | |
static Symbol |
a_Buffering
Attribute to request support for buffering, required to support pattern matching. |
static Symbol |
a_BufferSize
Requests capability for specific size of Signal Buffer. |
static Symbol |
a_DiscardOldest
Requests capability to automatically discard oldest signals when buffer fills. |
static Symbol |
a_PatternCount
Requests support for the Pattern detection features. |
static Symbol |
ev_FlushBuffer
FlushBuffer completion event. |
static Symbol |
ev_Overflow
The SignalDetector signal buffer has overflowed. |
static Symbol[] |
ev_Pattern
Array of pattern Symbols, indicating a pattern matched event. |
static Symbol |
ev_RetrieveSignals
Completion event for retrieveSignals. |
static Symbol |
ev_SignalDetected
A single Signal has been detected. |
static Symbol |
p_Buffering
Enable/disable buffering of signals. |
static Symbol |
p_BufferSize
Size of the signal buffer. |
static Symbol |
p_DiscardOldest
Boolean that indicates whether the oldest signals are discarded when the signal buffer overflows. |
static Symbol |
p_DtmfDetectorMode
DTMF generation mode. |
static Symbol |
p_Duration
Maximum time duration for retrieving signals in milliseconds. |
static Symbol |
p_EnabledEvents
An array of SignalGenerator event Symbols, indicating which events are generated and delivered to the application. |
static Symbol |
p_Filter
Enable/disable pattern filtering. |
static Symbol |
p_InitialTimeout
Maximum time limit for first signal. |
static Symbol |
p_InterSigTimeout
Maximum time limit between consecutive signals. |
static Symbol |
p_Mode
Enable/disable the signal detector. |
static Symbol[] |
p_Pattern
Each p_Pattern[i] defines a pattern to be matched. |
static Symbol |
p_PatternCount
Number of pattern definitions supported by this SignalDetector resource. |
static Symbol |
q_Duration
Complete because total duration timeout (p_Duration) exceeded. |
static Symbol |
q_InitialTimeout
Complete because initial signal timeout (p_InitialTimeout) exceeded. |
static Symbol |
q_InterSigTimeout
Complete because inter signal timeout (p_InterSigTimeout) exceeded. |
static Symbol |
q_NumSignals
Complete because requested number of signals detected. |
static Symbol[] |
q_Pattern
The array of Pattern Symbols which appear as qualifiers. |
static Symbol |
rtca_DetectFaxCallingTone
RTC Action to cause the CNG to be recognized from the media (the usual default behaviour). |
static Symbol |
rtca_EvalBuffer
RTC Action to cause the current buffer to be parsed again according to the last retrieveSignals, play or record RTC. |
static Symbol |
rtca_FlushBuffer
RTC Action to cause the buffer to be flushed. |
static Symbol |
rtca_IgnoreFaxCallingTone
RTC Action to cause the CNG 1100Hz frequency not to be analyzed in the media. |
static Symbol |
rtca_PassSignalsThru
RTC Action to cause the DTMFs to remain in the media (behaviour needed for testing of fax operations). |
static Symbol |
rtca_Stop
RTC Action to cause the current operation to stop. |
static Symbol |
rtca_TruncateSignals
RTC Action to cause the DTMFs to be removed from the media (the usual default behaviour). |
static Symbol |
rtcc_FlushBuffer
Buffer has been flushed. |
static Symbol[] |
rtcc_Pattern
The rtcc_Pattern[i] is triggered when
the corresponding ev_Pattern[i] event was issued. |
static Symbol |
rtcc_RetrieveSignals
Completion event ev_RetrieveSignals was issued. |
static Symbol |
rtcc_SignalDetected
Some signal was detected. |
static Symbol |
v_Detecting
value for p_Mode. |
static Symbol |
v_Idle
value for p_Mode. |
| Fields inherited from interface hp.telephony.media.SignalConstants |
p_SymbolChar, v_CED, v_CNG, v_DTMF0, v_DTMF1, v_DTMF2, v_DTMF3, v_DTMF4, v_DTMF5, v_DTMF6, v_DTMF7, v_DTMF8, v_DTMF9, v_DTMFA, v_DTMFB, v_DTMFC, v_DTMFD, v_DTMFHash, v_DtmfInBand, v_DtmfInBandOutBand, v_DtmfNone, v_DtmfOutBand, v_DTMFStar |
| Field Detail |
public static final Symbol rtca_PassSignalsThru
public static final Symbol rtca_TruncateSignals
public static final Symbol rtca_IgnoreFaxCallingTone
public static final Symbol rtca_DetectFaxCallingTone
public static final Symbol a_Buffering
Value is a Boolean indicating if Buffering is required.
Default value: false
public static final Symbol a_BufferSize
Value is the Integer number of signals to buffer.
Default value: is implementation dependent, but is at least 35.
public static final Symbol a_DiscardOldest
Default value: vendor specific.
public static final Symbol a_PatternCount
Value is the Integer number of patterns supported.
Default value: implementation dependant, but at least 32.
p_Pattern,
p_PatternCountpublic static final Symbol ev_FlushBuffer
getSignalBuffer returns
the signals that were discarded or null
if that information is not available.
public static final Symbol ev_Overflow
onSignalDetectorEvent().
getSignalBuffer returns
the signal that has been discarded or null
if that information is not available.
public static final Symbol[] ev_Pattern
onSignalDetectorEvent().
The EventID indicates which of the patterns was matched.
getSignalBuffer returns
the signals that matched the pattern.
SignalDetectorEvent.getPatternIndex()public static final Symbol ev_RetrieveSignals
getSignalBuffer returns
the retrieved signals.
public static final Symbol ev_SignalDetected
getSignalBuffer()[0] returns
the signal that has been detected or null
if that information is not available (has been flushed or p_Buffering
is set to true).
public static final Symbol p_Buffering
valid values: true and false.
true enables buffering,
false disables buffering.
Default value: true.
Pattern matching requires that this parameter be true.
public static final Symbol p_BufferSize
a_BufferSizepublic static final Symbol p_DiscardOldest
Valid values: true and false.
Default value: false.
public static final Symbol p_EnabledEvents
Value is an array of non-transactional event Symbols. Valid event Symbols are:
ev_Overflowev_Pattern[i]ev_SignalDetectedConfigSpec or by
setParameters .
Note:
This parameter controls the generation of events.
The events cannot be delivered unless a ResourceEventListener
is added using
addListener.
public static final Symbol p_Filter
Value of this parameter is an Array of ev_Pattern[i] Symbols. When a Pattern in the Array is matched, the matched signals are removed from the signal buffer.
public static final Symbol p_Duration
retrieveSignals
after this time limit.
Valid values: an int [0, 100000] milliseconds or FOREVER.
Default value: FOREVER
public static final Symbol p_InitialTimeout
retrieveSignals
if the first signal is not detected within this many milliseconds.
Valid values: an Integer [0, 100000] or FOREVER which indicates
no limit.
Default value: FOREVER.
public static final Symbol p_InterSigTimeout
retrieveSignals if
another signal is not detected within this many milliseconds
after detecting the previous signal.
Valid values: an Integer [0, 100000] or FOREVER which indicates
no limit.
Default value: FOREVER.
public static final Symbol p_Mode
v_Idle disables the signal detector
while keeping it allocated.
Setting mode to v_Active enable the signal detector.
Caution: setting this value may reset p_Pattern
Valid values: v_Idle or v_Detecting.
Default value: v_Detecting
public static final Symbol v_Idle
public static final Symbol v_Detecting
public static final Symbol p_DtmfDetectorMode
public static final Symbol[] p_Pattern
For each p_Pattern[i], the valid value is a pattern String
These parameters may be set in setParameters,
or the optargs argument of
retrieveSignals.
public static final Symbol p_PatternCount
This is a read-only parameter. The value is implementation dependent.
a_PatternCountpublic static final Symbol[] q_Pattern
q_Pattern[i] is the qualifier in ev_RetrieveSignals when
retrieveSignals terminates because that pattern was matched.
The actual signals that matched the pattern are available
using getSignalBuffer.
public static final Symbol q_Duration
public static final Symbol q_InitialTimeout
public static final Symbol q_InterSigTimeout
public static final Symbol q_NumSignals
public static final Symbol rtca_FlushBuffer
public static final Symbol rtca_EvalBuffer
public static final Symbol rtca_Stop
public static final Symbol rtcc_SignalDetected
public static final Symbol rtcc_FlushBuffer
public static final Symbol rtcc_RetrieveSignals
public static final Symbol[] rtcc_Pattern
rtcc_Pattern[i] is triggered when
the corresponding ev_Pattern[i] event was issued.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||