diff options
author | Joshua Colp <jcolp@digium.com> | 2009-12-02 17:06:54 +0000 |
---|---|---|
committer | Joshua Colp <jcolp@digium.com> | 2009-12-02 17:06:54 +0000 |
commit | f050ba6b38877c1b1bfe919eaf22594939792e46 (patch) | |
tree | dc74a4112ebfbbe34a7ea2b54efd7b31840a40fd /apps/app_amd.c | |
parent | edf6605ae743005984a228a6101640c6d592f48e (diff) |
Merged revisions 232355 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4
........
r232355 | file | 2009-12-02 13:04:52 -0400 (Wed, 02 Dec 2009) | 5 lines
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: https://origsvn.digium.com/svn/asterisk/trunk@232356 65c4cc65-6c06-0410-ace0-fbb531ad65f3
Diffstat (limited to 'apps/app_amd.c')
-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 bb656cc39..30f6da058 100644 --- a/apps/app_amd.c +++ b/apps/app_amd.c @@ -264,6 +264,7 @@ static void isAnsweringMachine(struct ast_channel *chan, const char *data) ast_verb(3, "AMD: Channel [%s]. HANGUP\n", chan->name); ast_debug(1, "Got hangup\n"); strcpy(amdStatus, "HANGUP"); + res = 1; break; } |