aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-23 19:10:43 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-01-23 19:10:43 +0000
commit97ff2cfd910806577744697da47a411ae7ec29c8 (patch)
treec85855b5a79d87c6e98de3cb40e3bf9e44b6cf45 /apps
parent1c5a6ef3233fa9bf85bcbfe031b62cdfa22d80ba (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.1@170571 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-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 39c4bd1e2..2e0b5f4c8 100644
--- a/apps/app_dial.c
+++ b/apps/app_dial.c
@@ -568,6 +568,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);
+ }
}
}