diff options
author | Joshua Colp <jcolp@digium.com> | 2017-02-22 14:32:23 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2017-02-22 14:32:23 +0000 |
commit | f58aefba5be6ab8ada6899ff50c6148830032814 (patch) | |
tree | d500fe189bd2326f8d058b513961008838048734 /include/asterisk/stream.h | |
parent | 8f248f7a1cc8452eb455a338ddc9bae593310ee7 (diff) |
core: Show streams in "core show channel".
The "core show channel" CLI command will now output the streams
present on the channel with their details.
ASTERISK-26811
Change-Id: I9c95b57aa09415005f0677a1949a0feb07e4987a
Diffstat (limited to 'include/asterisk/stream.h')
-rw-r--r-- | include/asterisk/stream.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/include/asterisk/stream.h b/include/asterisk/stream.h index edb00b9eb..48ee88322 100644 --- a/include/asterisk/stream.h +++ b/include/asterisk/stream.h @@ -191,6 +191,17 @@ enum ast_stream_state ast_stream_get_state(const struct ast_stream *stream); void ast_stream_set_state(struct ast_stream *stream, enum ast_stream_state state); /*! + * \brief Convert the state of a stream into a string + * + * \param state The stream state + * + * \return The state of the stream in string format + * + * \since 15 + */ +const char *ast_stream_state2str(enum ast_stream_state state); + +/*! * \brief Get the position of the stream in the topology * * \param stream The media stream |