diff options
author | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-10-22 17:13:28 +0000 |
---|---|---|
committer | tilghman <tilghman@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-10-22 17:13:28 +0000 |
commit | 310a2f0a45513c7e67a383519cb4639fb57ab9dd (patch) | |
tree | e101f07f4584f720f2a62586421e3487cd681869 /include/asterisk | |
parent | 896d4b48b520f038ff88c58347a21c66751bd3cc (diff) |
Merged revisions 225360 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
................
r225360 | tilghman | 2009-10-22 12:11:23 -0500 (Thu, 22 Oct 2009) | 11 lines
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/branches/1.6.0@225361 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'include/asterisk')
-rw-r--r-- | include/asterisk/channel.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/include/asterisk/channel.h b/include/asterisk/channel.h index a5f080df8..4c15b482a 100644 --- a/include/asterisk/channel.h +++ b/include/asterisk/channel.h @@ -950,7 +950,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 * * Call the protocol layer, but don't destroy the channel structure * (use this if you are trying to @@ -960,12 +960,13 @@ 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) */ -int ast_softhangup_nolock(struct ast_channel *chan, int cause); + * \param reason an AST_SOFTHANGUP_* reason code + */ +int ast_softhangup_nolock(struct ast_channel *chan, int reason); /*! \brief Check to see if a channel is needing hang up * \param chan channel on which to check for hang up |