diff options
author | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-02 17:04:52 +0000 |
---|---|---|
committer | file <file@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-12-02 17:04:52 +0000 |
commit | 092d35a911e06b27f3e2be9506dc27418923e26a (patch) | |
tree | 641bfc407381bb92b87c97507bb7d24ec6d03667 /apps | |
parent | d79688de2d65b485df2df3a89670dab076d95652 (diff) |
Fix a bug where if you hung up very quickly after calling AMD it would overwrite the AMDSTATUS of HANGUP with TOOLONG.
(closes issue #16239)
Reported by: CGMChris
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@232355 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'apps')
-rw-r--r-- | apps/app_amd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_amd.c b/apps/app_amd.c index 52f474048..3fab6c999 100644 --- a/apps/app_amd.c +++ b/apps/app_amd.c @@ -209,6 +209,7 @@ static void isAnsweringMachine(struct ast_channel *chan, void *data) if (option_debug) ast_log(LOG_DEBUG, "Got hangup\n"); strcpy(amdStatus, "HANGUP"); + res = 1; break; } |