hp.telephony.media
Interface SignalGeneratorConstants

All Superinterfaces:
SignalConstants
All Known Subinterfaces:
SignalGenerator, SignalGeneratorEvent
All Known Implementing Classes:
AsyncMediaGroup

public interface SignalGeneratorConstants
extends SignalConstants

Defines the Symbols that name the SignalGenerator params, signals and events. Some figures of interest, to be checked : DTMFs should be 40ms long, at least, so p_Length > 40. DTMFs should be 40ms apart, at least, so p_InterSigGap > 40. DTMFs should be detected down to -23dB, so amplitude > 1/256. Be careful DTMFs are generated in 16 bit range, whether compressed in A- ou mu- law, the available p_Amplitude could be 32767 (15 bits unsigned), 2047 (11 bits), 4095 (12). Thus, p_Amplitude > 256.0 might do in all cases...

Since:
OCMP 2.2

Field Summary
static Symbol a_SourceProvided
          Attribute used when a source is already provided and there is no need for a CNG
static Symbol ev_SendSignals
          Completion event from sendSignals()
static Symbol p_Amplitude
          DTMF range, as a positive (unsigned) Double, within 11, 12, or 15 bits
static Symbol p_DtmfGeneratorMode
          DTMF generation mode.
static Symbol p_InterSigGap
          pause duration after each DTMF, as a positive (unsigned) Integer, in millis
static Symbol p_Length
          DTMF duration, as a positive (unsigned) Integer, in millis
 
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

p_InterSigGap

public static final Symbol p_InterSigGap
pause duration after each DTMF, as a positive (unsigned) Integer, in millis


p_Length

public static final Symbol p_Length
DTMF duration, as a positive (unsigned) Integer, in millis


p_Amplitude

public static final Symbol p_Amplitude
DTMF range, as a positive (unsigned) Double, within 11, 12, or 15 bits


ev_SendSignals

public static final Symbol ev_SendSignals
Completion event from sendSignals()


a_SourceProvided

public static final Symbol a_SourceProvided
Attribute used when a source is already provided and there is no need for a CNG


p_DtmfGeneratorMode

public static final Symbol p_DtmfGeneratorMode
DTMF generation mode. Specifies which mode is used to generate the DTMF