aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_dial.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-23 19:10:00 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-23 19:10:00 +0000
commitc67128278918fff0afd79d96f5bc40341bfa7afa (patch)
treebe9670c48cfb98756e83c876494ba105044f6d6c /apps/app_dial.c
parent20fcae28d1ba32ee228c06ef10dab6643fdebbe3 (diff)
Merged revisions 170569 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r170569 | file | 2009-01-23 15:09:18 -0400 (Fri, 23 Jan 2009) | 11 lines 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/branches/1.6.0@170570 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps/app_dial.c')
-rw-r--r--apps/app_dial.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/app_dial.c b/apps/app_dial.c
index c775e5862..a9749506a 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -558,6 +558,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);
+ }
}
}