This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
Functions | |
int | ast_app_getdata (struct ast_channel *c, char *prompt, char *s, int maxlen, int timeout) |
Plays a stream and gets DTMF data from a channel. | |
int | ast_app_getdata_full (struct ast_channel *c, char *prompt, char *s, int maxlen, int timeout, int audiofd, int ctrlfd) |
int | ast_app_getvoice (struct ast_channel *c, char *dest, char *dstfmt, char *prompt, int silence, int maxsec) |
Record voice (after playing prompt if specified), waiting for silence (in ms) up to a given timeout (in s) or '#'. | |
int | ast_app_has_voicemail (const char *mailbox) |
Determine if a given mailbox has any voicemail. | |
int | ast_app_messagecount (const char *mailbox, int *newmsgs, int *oldmsgs) |
Determine number of new/old messages in a mailbox. | |
int | ast_safe_system (const char *s) |
Safely spawn an external program while closingn file descriptors. | |
int | ast_dtmf_stream (struct ast_channel *chan, struct ast_channel *peer, char *digits, int between) |
Send DTMF to chan (optionally entertain peer). | |
int | ast_linear_stream (struct ast_channel *chan, const char *filename, int fd, int allowoverride) |
Stream a filename (or file descriptor) as a generator. | |
int | ast_control_streamfile (struct ast_channel *chan, char *file, char *fwd, char *rev, char *stop, char *pause, int skipms) |
Stream a file with fast forward, pause, reverse. |
|
Plays a stream and gets DTMF data from a channel.
Definition at line 36 of file app.c. References ast_readstring(), ast_streamfile(), ast_pbx::dtimeout, ast_channel::language, ast_channel::pbx, ast_pbx::rtimeout, and s.
|
|
Definition at line 55 of file app.c. References ast_readstring_full(), ast_streamfile(), ast_channel::language, and s.
|
|
Record voice (after playing prompt if specified), waiting for silence (in ms) up to a given timeout (in s) or '#'.
Definition at line 71 of file app.c. References ast_closestream(), ast_dsp_free(), ast_dsp_new(), ast_dsp_silence(), AST_FORMAT_SLINEAR, AST_FRAME_DTMF, AST_FRAME_VOICE, ast_frfree(), ast_log(), ast_read(), ast_set_read_format(), ast_streamfile(), ast_waitfor(), ast_waitstream(), ast_writefile(), ast_channel::language, LOG_NOTICE, LOG_WARNING, ast_channel::name, and ast_channel::readformat.
|
|
Determine if a given mailbox has any voicemail.
Definition at line 147 of file app.c. References ast_config_AST_SPOOL_DIR.
|
|
Determine number of new/old messages in a mailbox.
Definition at line 192 of file app.c. References ast_config_AST_SPOOL_DIR.
|
|
Stream a file with fast forward, pause, reverse.
Definition at line 410 of file app.c. References ast_channel::_state, ast_answer(), AST_STATE_UP, ast_stopstream(), ast_stream_fastforward(), ast_streamfile(), ast_waitfordigit(), ast_waitstream_fr(), ast_channel::language, and ast_channel::stream.
|
|
Send DTMF to chan (optionally entertain peer).
Definition at line 263 of file app.c. References ast_autoservice_start(), ast_autoservice_stop(), AST_FRAME_DTMF, ast_log(), ast_safe_sleep(), ast_waitfor(), ast_write(), and LOG_WARNING.
|
|
Stream a filename (or file descriptor) as a generator.
Definition at line 379 of file app.c. References ast_activate_generator(), ast_config_AST_VAR_DIR, ast_log(), LOG_WARNING, and malloc.
|
|
Safely spawn an external program while closingn file descriptors.
Definition at line 163 of file asterisk.c. References ast_log(), LOG_WARNING, and s.
|