diff options
author | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-10 20:53:43 +0000 |
---|---|---|
committer | murf <murf@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-08-10 20:53:43 +0000 |
commit | b7a054bff609d63d314dad402126c3a7b1cd257d (patch) | |
tree | 5c5aecc2496840f630e6439def7f3d08f38aa2bf /include | |
parent | d5c1d94491b46bf7314f9076159e1e2170d96234 (diff) |
From a user complaint on #asterisk, I have forced pbx_spool to explain what reason codes mean, when they are logged
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@79099 f38db490-d61c-443f-a65b-d21fe96a405b
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 d54b30709..063d325ef 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -1365,6 +1365,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 |