mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-12 15:45:18 +00:00
Add ability to store voicemail in ODBC database
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@4349 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -588,13 +588,13 @@ static int alsa_write(struct ast_channel *chan, struct ast_frame *f)
|
||||
} else {
|
||||
if (res == -ESTRPIPE) {
|
||||
ast_log(LOG_ERROR, "You've got some big problems\n");
|
||||
}
|
||||
if (res > 0)
|
||||
res = 0;
|
||||
} else if (res < 0)
|
||||
ast_log(LOG_NOTICE, "Error %d on write\n", res);
|
||||
}
|
||||
}
|
||||
ast_mutex_unlock(&alsalock);
|
||||
|
||||
if (res > 0)
|
||||
res = 0;
|
||||
return res;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user