From 0711778aabbc8f72431de51b0ab37f7d70a1192e Mon Sep 17 00:00:00 2001 From: file Date: Fri, 23 Jan 2009 19:09:18 +0000 Subject: 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: http://svn.digium.com/svn/asterisk/trunk@170569 f38db490-d61c-443f-a65b-d21fe96a405b --- apps/app_dial.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'apps/app_dial.c') diff --git a/apps/app_dial.c b/apps/app_dial.c index 1da4c8b5f..f4e8aabd6 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); + } } } -- cgit v1.2.3