summaryrefslogtreecommitdiff
path: root/apps/app_followme.c
diff options
context:
space:
mode:
authorJoshua Colp <jcolp@digium.com>2009-05-05 17:46:51 +0000
committerJoshua Colp <jcolp@digium.com>2009-05-05 17:46:51 +0000
commit1ed5422fa93941d5f41b3a50144090c06dc17ef1 (patch)
treef895f1d5a028b7d0a57196ae20fc029f5d265862 /apps/app_followme.c
parent965b0f328e1004e635744f47ca0cdda1554012c2 (diff)
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/trunk@192430 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_followme.c')
-rw-r--r--apps/app_followme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_followme.c b/apps/app_followme.c
index 457545661..d27aa36d8 100644
--- a/apps/app_followme.c
+++ b/apps/app_followme.c
@@ -887,7 +887,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;