diff options
author | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-31 21:52:56 +0000 |
---|---|---|
committer | markster <markster@f38db490-d61c-443f-a65b-d21fe96a405b> | 2004-12-31 21:52:56 +0000 |
commit | d2cad8a85e55745730a9cdf7019c4d9f01f4469b (patch) | |
tree | fa47b703f2ced85f45937d6b791c251473b96d60 /res/res_agi.c | |
parent | 2db4e9334c6cce27ebbd272ffa4fbc7423d6be28 (diff) |
Don't die when a file is missing (bug #3212)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@4623 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'res/res_agi.c')
-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 807b3a336..5cbc138f0 100755 --- a/res/res_agi.c +++ b/res/res_agi.c @@ -433,8 +433,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); |