From 8079f53c015b4932fc7ae9b42b0e7a516667b74f Mon Sep 17 00:00:00 2001 From: "Kevin P. Fleming" Date: Mon, 11 Jul 2005 20:40:02 +0000 Subject: don't hangup the channel when a RECEIVE TEXT command times out (bug #4607) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@6082 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- res/res_agi.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/res/res_agi.c b/res/res_agi.c index 611b92cf4..df1d7a6a0 100755 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -413,11 +413,10 @@ static int handle_recvtext(struct ast_channel *chan, AGI *agi, int argc, char *a if (buf) { fdprintf(agi->fd, "200 result=1 (%s)\n", buf); free(buf); - return RESULT_SUCCESS; } else { fdprintf(agi->fd, "200 result=-1\n"); - return RESULT_FAILURE; } + return RESULT_SUCCESS; } static int handle_tddmode(struct ast_channel *chan, AGI *agi, int argc, char *argv[]) -- cgit v1.2.3