diff options
author | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-06-20 20:17:04 +0000 |
---|---|---|
committer | Tilghman Lesher <tilghman@meg.abyt.es> | 2008-06-20 20:17:04 +0000 |
commit | bb03680941462b8e28c31e0219b8d5ebeaa9e3b8 (patch) | |
tree | 1dc8e287002320446fae62d26cff39a8bfa62bb7 /channels | |
parent | a2333afed6f950b29d9ec5590d081de0a2bb3c8c (diff) |
Merged revisions 124315 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r124315 | tilghman | 2008-06-20 15:16:02 -0500 (Fri, 20 Jun 2008) | 8 lines
When using a Local channel, started by a call file, with a destination of an
AGI script, the AGI script does not always get notified of a hangup if the
underlying channel hangs up early.
(closes issue #11833)
Reported by: IgorG
Patches:
local_hangup-v1.diff uploaded by IgorG (license 20)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@124316 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_local.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/channels/chan_local.c b/channels/chan_local.c index d53184462..aade7b2c2 100644 --- a/channels/chan_local.c +++ b/channels/chan_local.c @@ -574,6 +574,9 @@ static int local_hangup(struct ast_channel *ast) } else { p->owner = NULL; ast_module_user_remove(p->u_owner); + if (p->chan) { + ast_queue_hangup(p->chan); + } } ast->tech_pvt = NULL; |