[asterisk-commits] tilghman: branch 1.6.0 r124317 - in /branches/1.6.0: ./ channels/chan_local.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri Jun 20 15:18:08 CDT 2008


Author: tilghman
Date: Fri Jun 20 15:18:08 2008
New Revision: 124317

URL: http://svn.digium.com/view/asterisk?view=rev&rev=124317
Log:
Merged revisions 124316 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
r124316 | tilghman | 2008-06-20 15:17:04 -0500 (Fri, 20 Jun 2008) | 16 lines

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)

........

................

Modified:
    branches/1.6.0/   (props changed)
    branches/1.6.0/channels/chan_local.c

Propchange: branches/1.6.0/
------------------------------------------------------------------------------
Binary property 'trunk-merged' - no diff available.

Modified: branches/1.6.0/channels/chan_local.c
URL: http://svn.digium.com/view/asterisk/branches/1.6.0/channels/chan_local.c?view=diff&rev=124317&r1=124316&r2=124317
==============================================================================
--- branches/1.6.0/channels/chan_local.c (original)
+++ branches/1.6.0/channels/chan_local.c Fri Jun 20 15:18:08 2008
@@ -546,6 +546,9 @@
 	} else {
 		p->owner = NULL;
 		ast_module_user_remove(p->u_owner);
+		if (p->chan) {
+			ast_queue_hangup(p->chan);
+		}
 	}
 	
 	ast->tech_pvt = NULL;




More information about the asterisk-commits mailing list