From: Joshua Colp Date: Fri, 23 Jan 2009 19:09:18 +0000 (+0000) Subject: Merged revisions 170568 via svnmerge from X-Git-Tag: 1.6.2.0-beta1~375 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=665bba38f13c38f27daade9c7a48f035c13d3fee;p=thirdparty%2Fasterisk.git Merged revisions 170568 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r170568 | file | 2009-01-23 15:06:54 -0400 (Fri, 23 Jan 2009) | 4 lines When a call is forwarded stop any active indications. The new channel will provide an indication, if need be, itself. (closes issue #14310) Reported by: RadicAlish ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@170569 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_dial.c b/apps/app_dial.c index 1da4c8b5f3..f4e8aabd65 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -776,6 +776,9 @@ static void do_forward(struct chanlist *o, /* Hangup the original channel now, in case we needed it */ ast_hangup(original); } + if (single) { + ast_indicate(in, -1); + } } }