|
||||||||||
| 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 |
activate()
Starts media processing. |
void |
deactivate()
Terminates media processing. |
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 |
| Methods inherited from interface org.mobicents.media.MediaSink |
|---|
getBytesReceived, getPacketsReceived, isStarted, perform |
| Methods inherited from interface org.mobicents.media.Component |
|---|
clearEndpoint, getEndpoint, getId, getName, reset, setEndpoint |
| 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 activate()
activate in interface Componentvoid deactivate()
deactivate in interface Componentvoid flushBuffer()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||