Merged revisions 232355 via svnmerge from
[asterisk/asterisk.git] / apps / app_amd.c
index bb656cc..30f6da0 100644 (file)
@@ -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;
                }