diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-10-22 17:11:23 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2009-10-22 17:11:23 +0000 |
commit | 496282194caafbfe404ebe83f5cc9c4c617df3f2 (patch) | |
tree | a018cee78d59e9e11a9ba1c66afdae26ffd8b369 /main | |
parent | 1174a6161274ee600f77089bff5f87a98f57bf4f (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: https://origsvn.digium.com/svn/asterisk/trunk@225360 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'main')
-rw-r--r-- | main/pbx.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/main/pbx.c b/main/pbx.c index 58e689e54..6125b1758 100644 --- a/main/pbx.c +++ b/main/pbx.c @@ -4764,7 +4764,7 @@ static enum ast_pbx_result __ast_pbx_run(struct ast_channel *c, } if (!args || !args->no_hangup_chan) { - ast_softhangup(c, c->hangupcause ? c->hangupcause : AST_CAUSE_NORMAL_CLEARING); + ast_softhangup(c, AST_SOFTHANGUP_APPUNLOAD); } if ((!args || !args->no_hangup_chan) && |