mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@225360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user