aboutsummaryrefslogtreecommitdiffstats
path: root/apps/app_followme.c
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-05 17:46:51 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-05-05 17:46:51 +0000
commitb2b61331d3c2cf0e1a1dc39dda20c63e868dec63 (patch)
treef895f1d5a028b7d0a57196ae20fc029f5d265862 /apps/app_followme.c
parent9835b1edc68239dc8f12fda48977bf3d85761526 (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: http://svn.digium.com/svn/asterisk/trunk@192430 f38db490-d61c-443f-a65b-d21fe96a405b
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;