diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/asterisk/channel.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index b58880853..1a334411a 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -1458,6 +1458,16 @@ int ast_channel_whisper_feed(struct ast_channel *chan, struct ast_frame *f); */ void ast_channel_whisper_stop(struct ast_channel *chan); + + +/*! + \brief return an english explanation of the code returned thru __ast_request_and_dial's 'outstate' argument + \param reason The integer argument, usually taken from AST_CONTROL_ macros + \return char pointer explaining the code + */ +char *ast_channel_reason2str(int reason); + + #if defined(__cplusplus) || defined(c_plusplus) } #endif |