From: Mark Spencer Date: Sat, 26 Mar 2005 05:33:48 +0000 (+0000) Subject: Make sure AGI continues even when files aren't there (bug #3862) X-Git-Tag: 1.2.0-beta1~1005 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=e6e2e59b4dceaf4d54093d6440033aba7eb72d01;p=thirdparty%2Fasterisk.git Make sure AGI continues even when files aren't there (bug #3862) git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@5263 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/res/res_agi.c b/res/res_agi.c index 2bbfdd9191..a5537d4c78 100755 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -510,7 +510,7 @@ static int handle_getoption(struct ast_channel *chan, AGI *agi, int argc, char * if(!fs){ fdprintf(agi->fd, "200 result=%d endpos=%ld\n", 0, sample_offset); ast_log(LOG_WARNING, "Unable to open %s\n", argv[2]); - return RESULT_FAILURE; + return RESULT_SUCCESS; } if (option_verbose > 2) ast_verbose(VERBOSE_PREFIX_3 "Playing '%s' (escape_digits=%s) (timeout %d)\n", argv[2], edigits, timeout);