projects
/
asterisk/asterisk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
974ecf7
)
Don't die when a file is missing (bug #3212)
author
Mark Spencer
<markster@digium.com>
Fri, 31 Dec 2004 21:52:56 +0000
(21:52 +0000)
committer
Mark Spencer
<markster@digium.com>
Fri, 31 Dec 2004 21:52:56 +0000
(21:52 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4623
65c4cc65
-6c06-0410-ace0-
fbb531ad65f3
res/res_agi.c
patch
|
blob
|
history
diff --git
a/res/res_agi.c
b/res/res_agi.c
index
807b3a3
..
5cbc138
100755
(executable)
--- 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);