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
This commit is contained in:
Mark Spencer
2005-03-26 05:33:48 +00:00
parent c4f66c2c33
commit e6e2e59b4d

View File

@@ -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);