diff options
author | David M. Lee <dlee@digium.com> | 2013-07-03 17:58:45 +0000 |
---|---|---|
committer | David M. Lee <dlee@digium.com> | 2013-07-03 17:58:45 +0000 |
commit | a75fd32212c35b41143442bd757387fad636177a (patch) | |
tree | 461033acf36f4596d8fc9800a1195e12207b3ea2 /include/asterisk/file.h | |
parent | c4adaf91067559dd5aa90577e181693abade0602 (diff) |
ARI - channel recording support
This patch is the first step in adding recording support to the
Asterisk REST Interface.
Recordings are stored in /var/spool/recording. Since recordings may be
destructive (overwriting existing files), the API rejects attempts to
escape the recording directory (avoiding issues if someone attempts to
record to ../../lib/sounds/greeting, for example).
(closes issue ASTERISK-21594)
(closes issue ASTERISK-21581)
Review: https://reviewboard.asterisk.org/r/2612/
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@393550 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include/asterisk/file.h')
-rw-r--r-- | include/asterisk/file.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/asterisk/file.h b/include/asterisk/file.h index 844b43429..372c0f7ed 100644 --- a/include/asterisk/file.h +++ b/include/asterisk/file.h @@ -64,8 +64,8 @@ enum ast_waitstream_fr_cb_values { */ typedef void (ast_waitstream_fr_cb)(struct ast_channel *chan, long ms, enum ast_waitstream_fr_cb_values val); -/*! - * \brief Streams a file +/*! + * \brief Streams a file * \param c channel to stream the file to * \param filename the name of the file you wish to stream, minus the extension * \param preflang the preferred language you wish to have the file streamed to you in @@ -86,12 +86,12 @@ int ast_streamfile(struct ast_channel *c, const char *filename, const char *pref */ int ast_stream_and_wait(struct ast_channel *chan, const char *file, const char *digits); -/*! - * \brief Stops a stream +/*! + * \brief Stops a stream * * \param c The channel you wish to stop playback on * - * Stop playback of a stream + * Stop playback of a stream * * \retval 0 always * |