|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DtmfDetector
| Field Summary | |
|---|---|
static int |
DEFAULT_INTERDIGIT_INTERVAL
Default interdigit time interval in millisconds. |
static int |
DEFAULT_SIGNAL_LEVEL
Default level of the DTMF tone in decibells. |
| Method Summary | |
|---|---|
void |
flushBuffer()
|
int |
getInterdigitInterval()
The time the system will wait between DTMF digits. |
String |
getMask()
Specifies mask for dtmf sequence. |
int |
getVolume()
Describes the power level of the tone, expressed in dBm0 |
void |
setInterdigitInterval(int interval)
The time the system will wait between DTMF digits. |
void |
setMask(String mask)
Assign mask for DTMF sequence detection. |
void |
setVolume(int level)
Describes the power level of the tone, expressed in dBm0 |
void |
start()
Starts media processing. |
void |
stop()
Terminates media processing. |
| Methods inherited from interface org.mobicents.media.MediaSink |
|---|
connect, disconnect, getBytesReceived, getFormats, getPacketsReceived, isConnected, isStarted, setDsp, setFormats |
| Methods inherited from interface org.mobicents.media.Component |
|---|
getId, getInterface, getName, reset |
| Field Detail |
|---|
static final int DEFAULT_SIGNAL_LEVEL
static final int DEFAULT_INTERDIGIT_INTERVAL
| Method Detail |
|---|
String getMask()
void setMask(String mask)
mask - the regular expression string.void setInterdigitInterval(int interval)
interval - the time interval in millisconds.int getInterdigitInterval()
void setVolume(int level)
level - the value in dBm0int getVolume()
void start()
start in interface MediaSinkvoid stop()
stop in interface MediaSinkvoid flushBuffer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||