summaryrefslogtreecommitdiff
path: root/res
diff options
context:
space:
mode:
authorMark Spencer <markster@digium.com>2005-03-26 05:33:48 +0000
committerMark Spencer <markster@digium.com>2005-03-26 05:33:48 +0000
commite6e2e59b4dceaf4d54093d6440033aba7eb72d01 (patch)
tree3554c76d66ca7084e341167af13ff3230de6bc84 /res
parentc4f66c2c33eaeca356dc47bcd64c39d859588078 (diff)
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
Diffstat (limited to 'res')
-rwxr-xr-xres/res_agi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/res_agi.c b/res/res_agi.c
index 2bbfdd919..a5537d4c7 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);