summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorSteve Murphy <murf@digium.com>2007-08-10 21:03:06 +0000
committerSteve Murphy <murf@digium.com>2007-08-10 21:03:06 +0000
commit526d1f39a286d96878f7d93ab4d65191582d488a (patch)
tree840731f195d04156927db8b87fdab53985d09e2f /include
parent047dbef44619be5779bd42b000d38be26764217d (diff)
Merged revisions 79099 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r79099 | murf | 2007-08-10 14:53:43 -0600 (Fri, 10 Aug 2007) | 1 line From a user complaint on #asterisk, I have forced pbx_spool to explain what reason codes mean, when they are logged ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@79100 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'include')
-rw-r--r--include/asterisk/channel.h10
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