aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-02 17:11:09 +0000
committerfile <file@f38db490-d61c-443f-a65b-d21fe96a405b>2009-12-02 17:11:09 +0000
commitb1dc291e5a638e6ba33fad7ffeb642770fda18d8 (patch)
tree2af500c61a6882ae2da102c27a27a93e3faa09b5
parent442644ff1582233ae10d3d94e91456cf124c3200 (diff)
Merged revisions 232356 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk ................ r232356 | file | 2009-12-02 13:06:54 -0400 (Wed, 02 Dec 2009) | 12 lines 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: http://svn.digium.com/svn/asterisk/branches/1.6.2@232359 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_amd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/app_amd.c b/apps/app_amd.c
index 56fa10fd2..b37f913ae 100644
--- a/apps/app_amd.c
+++ b/apps/app_amd.c
@@ -264,6 +264,7 @@ static void isAnsweringMachine(struct ast_channel *chan, void *data)
ast_verb(3, "AMD: Channel [%s]. HANGUP\n", chan->name);
ast_debug(1, "Got hangup\n");
strcpy(amdStatus, "HANGUP");
+ res = 1;
break;
}