aboutsummaryrefslogtreecommitdiffstats
path: root/include/asterisk/channel.h
diff options
context:
space:
mode:
authortilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-22 17:11:23 +0000
committertilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b>2009-10-22 17:11:23 +0000
commit3c27a56e3e3bc6f78cece807461fabf03617b092 (patch)
treea018cee78d59e9e11a9ba1c66afdae26ffd8b369 /include/asterisk/channel.h
parentd7a3a1035d6552d5ef8c30289814efec1c2b0d5f (diff)
Merged revisions 225105 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r225105 | tilghman | 2009-10-21 11:02:12 -0500 (Wed, 21 Oct 2009) | 4 lines Fix documentation for ast_softhangup() and correct the misuse thereof. (closes issue #16103) Reported by: majorbloodnok ........ git-svn-id: http://svn.digium.com/svn/asterisk/trunk@225360 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk/channel.h')
-rw-r--r--include/asterisk/channel.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h
index 1edd0d883..bade468a8 100644
--- a/include/asterisk/channel.h
+++ b/include/asterisk/channel.h
@@ -1257,7 +1257,7 @@ int ast_hangup(struct ast_channel *chan);
* \brief Softly hangup up a channel
*
* \param chan channel to be soft-hung-up
- * \param cause Ast hangupcause for hangup
+ * \param reason an AST_SOFTHANGUP_* reason code
*
* \details
* Call the protocol layer, but don't destroy the channel structure
@@ -1268,14 +1268,14 @@ int ast_hangup(struct ast_channel *chan);
*
* \return Returns 0 regardless
*/
-int ast_softhangup(struct ast_channel *chan, int cause);
+int ast_softhangup(struct ast_channel *chan, int reason);
/*!
* \brief Softly hangup up a channel (no channel lock)
* \param chan channel to be soft-hung-up
- * \param cause Ast hangupcause for hangup (see cause.h)
+ * \param reason an AST_SOFTHANGUP_* reason code
*/
-int ast_softhangup_nolock(struct ast_channel *chan, int cause);
+int ast_softhangup_nolock(struct ast_channel *chan, int reason);
/*!
* \brief Set the source of the hangup in this channel and it's bridge