From: Russell Bryant Date: Tue, 10 Aug 2010 17:47:13 +0000 (+0000) Subject: Merged revisions 281566 via svnmerge from X-Git-Tag: 1.6.2.12-rc1~22 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=08bae3a8f3ccaf95e9e7d20ec4489321fdc1495d;p=thirdparty%2Fasterisk.git Merged revisions 281566 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r281566 | russell | 2010-08-10 12:45:45 -0500 (Tue, 10 Aug 2010) | 8 lines Reset visible indication after answer. (closes issue #17641) Reported by: klaus3000 Patches: ast1.6.2.9-app_dial-visible_indication.patch.txt uploaded by klaus3000 (license 65) Tested by: schmidts ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.2@281567 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_dial.c b/apps/app_dial.c index f5309f5edc..f2735a63e3 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -2247,8 +2247,9 @@ static int dial_exec_full(struct ast_channel *chan, void *data, struct ast_flags sentringing = 0; ast_indicate(chan, -1); } - /* Be sure no generators are left on it */ + /* Be sure no generators are left on it and reset the visible indication */ ast_deactivate_generator(chan); + chan->visible_indication = 0; /* Make sure channels are compatible */ res = ast_channel_make_compatible(chan, peer); if (res < 0) {