diff options
Diffstat (limited to 'cdr/cdr_sqlite.c')
-rw-r--r-- | cdr/cdr_sqlite.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cdr/cdr_sqlite.c b/cdr/cdr_sqlite.c index bcc50aa0e..bd232b450 100644 --- a/cdr/cdr_sqlite.c +++ b/cdr/cdr_sqlite.c @@ -30,6 +30,8 @@ * * Creates the database and table on-the-fly * \ingroup cdr_drivers + * + * \note This module has been marked deprecated in favor for cdr_sqlite3_custom */ /*** MODULEINFO @@ -180,6 +182,9 @@ static int load_module(void) char fn[PATH_MAX]; int res; + ast_log(LOG_WARNING, "This module has been marked deprecated in favor of " + "using cdr_sqlite3_custom. (May be removed after Asterisk 1.6)\n"); + /* is the database there? */ snprintf(fn, sizeof(fn), "%s/cdr.db", ast_config_AST_LOG_DIR); db = sqlite_open(fn, AST_FILE_MODE, &zErr); |