From 7080914d217b7df7e122747778870a9fb05f943d Mon Sep 17 00:00:00 2001 From: Joshua Colp Date: Tue, 5 May 2009 17:48:41 +0000 Subject: [PATCH] Merged revisions 192430 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r192430 | file | 2009-05-05 14:46:51 -0300 (Tue, 05 May 2009) | 12 lines Merged revisions 192429 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r192429 | file | 2009-05-05 14:43:30 -0300 (Tue, 05 May 2009) | 5 lines Fix a bug where the followme application would continue trying numbers after the caller hung up. (closes issue #13624) Reported by: sgenyuk ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@192431 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_followme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_followme.c b/apps/app_followme.c index cb0e781d99..baef9e2daa 100644 --- a/apps/app_followme.c +++ b/apps/app_followme.c @@ -850,7 +850,7 @@ static void findmeexec(struct fm_args *tpargs) if (winner) break; - if (!caller) { + if (!caller || ast_check_hangup(caller)) { tpargs->status = 1; ast_free(findme_user_list); return;