This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Defines | |
#define | DSP_FEATURE_SILENCE_SUPPRESS (1 << 0) |
#define | DSP_FEATURE_BUSY_DETECT (1 << 1) |
#define | DSP_FEATURE_CALL_PROGRESS (1 << 2) |
#define | DSP_FEATURE_DTMF_DETECT (1 << 3) |
#define | DSP_FEATURE_FAX_DETECT (1 << 4) |
#define | DSP_DIGITMODE_DTMF 0 /* Detect DTMF digits */ |
#define | DSP_DIGITMODE_MF 1 /* Detect MF digits */ |
#define | DSP_DIGITMODE_NOQUELCH (1 << 8) /* Do not quelch DTMF from in-band */ |
#define | DSP_DIGITMODE_MUTECONF (1 << 9) /* Mute conference */ |
#define | DSP_DIGITMODE_MUTEMAX (1 << 10) /* Delay audio by a frame to try to extra quelch */ |
#define | DSP_DIGITMODE_RELAXDTMF (1 << 11) /* "Radio" mode (relaxed DTMF) */ |
Functions | |
ast_dsp * | ast_dsp_new (void) |
void | ast_dsp_free (struct ast_dsp *dsp) |
void | ast_dsp_set_threshold (struct ast_dsp *dsp, int threshold) |
void | ast_dsp_set_busy_count (struct ast_dsp *dsp, int cadences) |
int | ast_dsp_call_progress (struct ast_dsp *dsp, struct ast_frame *inf) |
int | ast_dsp_set_call_progress_zone (struct ast_dsp *dsp, char *zone) |
ast_frame * | ast_dsp_process (struct ast_channel *chan, struct ast_dsp *dsp, struct ast_frame *inf) |
int | ast_dsp_silence (struct ast_dsp *dsp, struct ast_frame *f, int *totalsilence) |
int | ast_dsp_busydetect (struct ast_dsp *dsp) |
int | ast_dsp_digitdetect (struct ast_dsp *dsp, struct ast_frame *f) |
void | ast_dsp_reset (struct ast_dsp *dsp) |
void | ast_dsp_digitreset (struct ast_dsp *dsp) |
void | ast_dsp_set_features (struct ast_dsp *dsp, int features) |
int | ast_dsp_getdigits (struct ast_dsp *dsp, char *buf, int max) |
int | ast_dsp_digitmode (struct ast_dsp *dsp, int digitmode) |
|
Definition at line 23 of file dsp.h. Referenced by ast_dsp_digitmode(). |
|
Definition at line 24 of file dsp.h. Referenced by ast_dsp_digitmode(), ast_dsp_digitreset(), ast_dsp_getdigits(), and ast_dsp_process(). |
|
Definition at line 27 of file dsp.h. Referenced by ast_dsp_digitmode(), and ast_dsp_process(). |
|
Definition at line 28 of file dsp.h. Referenced by ast_dsp_digitmode(), and ast_dsp_process(). |
|
|
|
|
|
Definition at line 18 of file dsp.h. Referenced by ast_dsp_process(). |
|
Definition at line 19 of file dsp.h. Referenced by ast_dsp_process(). |
|
Definition at line 20 of file dsp.h. Referenced by ast_dsp_process(). |
|
|
|
Definition at line 17 of file dsp.h. Referenced by ast_dsp_new(), and ast_dsp_process(). |
|
Referenced by ast_dsp_process(). |
|
Definition at line 1215 of file dsp.c. References AST_FORMAT_SLINEAR, AST_FRAME_VOICE, ast_log(), ast_frame::data, ast_frame::datalen, ast_frame::frametype, LOG_WARNING, and ast_frame::subclass.
|
|
Definition at line 1049 of file dsp.c. References AST_FORMAT_SLINEAR, AST_FRAME_VOICE, ast_log(), ast_frame::data, ast_frame::datalen, ast_frame::frametype, LOG_WARNING, s, and ast_frame::subclass.
|
|
Definition at line 1716 of file dsp.c. References ast_dsp::digitmode, DSP_DIGITMODE_DTMF, DSP_DIGITMODE_MF, DSP_DIGITMODE_MUTECONF, DSP_DIGITMODE_MUTEMAX, and ast_dsp::td.
|
|
Definition at line 1655 of file dsp.c. References ast_dsp::digitmode, DSP_DIGITMODE_MF, ast_dsp::td, and ast_dsp::thinkdigit.
|
|
Definition at line 1636 of file dsp.c. References free. Referenced by ast_app_getvoice().
|
|
Definition at line 1087 of file dsp.c. References ast_dsp::digitmode, DSP_DIGITMODE_MF, and ast_dsp::td.
|
|
Definition at line 1614 of file dsp.c. References ast_dsp::busycount, DEFAULT_THRESHOLD, DSP_FEATURE_SILENCE_SUPPRESS, DSP_HISTORY, ast_dsp::features, malloc, ast_dsp::td, and ast_dsp::threshold. Referenced by ast_app_getvoice().
|
|
Definition at line 1408 of file dsp.c. References ast_channel::_softhangup, AST_ALAW, AST_CONTROL_ANSWER, AST_CONTROL_BUSY, AST_CONTROL_CONGESTION, AST_CONTROL_RINGING, ast_dsp_busydetect(), AST_FORMAT_ALAW, AST_FORMAT_SLINEAR, AST_FORMAT_ULAW, AST_FRAME_CONTROL, AST_FRAME_DTMF, AST_FRAME_NULL, AST_FRAME_VOICE, ast_frfree(), ast_log(), AST_MULAW, ast_queue_frame(), AST_SOFTHANGUP_DEV, ast_frame::data, ast_frame::datalen, ast_dsp::digitmode, DSP_DIGITMODE_MF, DSP_DIGITMODE_MUTECONF, DSP_DIGITMODE_MUTEMAX, DSP_FEATURE_BUSY_DETECT, DSP_FEATURE_CALL_PROGRESS, DSP_FEATURE_DTMF_DETECT, DSP_FEATURE_SILENCE_SUPPRESS, ast_dsp::f, ast_dsp::features, FIX_INF, ast_frame::frametype, LOG_DEBUG, LOG_WARNING, ast_channel::name, ast_frame::subclass, ast_dsp::td, and ast_dsp::thinkdigit.
|
|
Definition at line 1704 of file dsp.c. References ast_dsp::freqs, ast_dsp::gsamps, ast_dsp::historicnoise, ast_dsp::historicsilence, ast_dsp::totalsilence, goertzel_state_t::v2, and goertzel_state_t::v3.
|
|
Definition at line 1646 of file dsp.c. References ast_dsp::busycount, and DSP_HISTORY.
|
|
Definition at line 1732 of file dsp.c. References ast_dsp::progmode.
|
|
Definition at line 1631 of file dsp.c. References ast_dsp::features.
|
|
Definition at line 1641 of file dsp.c. References ast_dsp::threshold.
|
|
Definition at line 1390 of file dsp.c. References AST_FORMAT_SLINEAR, AST_FRAME_VOICE, ast_log(), ast_frame::data, ast_frame::datalen, ast_frame::frametype, LOG_WARNING, s, and ast_frame::subclass. Referenced by ast_app_getvoice().
|