diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-03 18:19:05 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2005-01-03 18:19:05 +0000 |
commit | 287a76ef78a0047866f803cd1eb0e95efe20e54e (patch) | |
tree | b5473b70e919bb3a21bd5969c96035c976ea3f8d /res | |
parent | 757e74da509f4d30936c856970dfeaf7ac80ec4d (diff) |
don't exit AGI when file not found to stream (bug #3212)
git-svn-id: http://svn.digium.com/svn/asterisk/branches/v1-0@4648 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res')
-rwxr-xr-x | res/res_agi.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/res/res_agi.c b/res/res_agi.c index 7325d781b..dac64bc48 100755 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -432,8 +432,7 @@ static int handle_streamfile(struct ast_channel *chan, AGI *agi, int argc, char fs = ast_openstream(chan, argv[2], chan->language); 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; } ast_seekstream(fs, 0, SEEK_END); max_length = ast_tellstream(fs); |