]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 192430 via svnmerge from
authorJoshua Colp <jcolp@digium.com>
Tue, 5 May 2009 17:50:23 +0000 (17:50 +0000)
committerJoshua Colp <jcolp@digium.com>
Tue, 5 May 2009 17:50:23 +0000 (17:50 +0000)
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.1@192432 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_followme.c

index 5e85b4ef91026bc1260241ead210fbb680336f5b..cacfed90098ddc351473850384ee1d4f20169a2c 100644 (file)
@@ -848,7 +848,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;