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:
Mark Spencer
2004-11-28 21:28:30 +00:00
parent 1406e38d8f
commit e95fa2a065
6 changed files with 821 additions and 149 deletions

View File

@@ -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;
}