https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r37571 | kpfleming | 2006-07-13 16:22:11 -0500 (Thu, 13 Jul 2006) | 2 lines
don't fail/abort if the message category sound file cannot be played, just generate a warning message and continue message playback
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@37572
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
if (!ast_strlen_zero(category))
res = ast_play_and_wait(chan, category);
+ if (res) {
+ ast_log(LOG_WARNING, "No sound file for category '%s' was found.\n", category);
+ res = 0;
+ }
+
return res;
}