@ -77,12 +77,12 @@ index 801b682..4ec7b83 100644
#define STORE_SQL_FMT_CAT "INSERT INTO %s (dir, msgnum, recording, context, callerid, " \
- "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id, category) " \
- "VALUES (?,?,?,?,?,?,?,?,?,?,?,?)"
+ "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id, call id, category) " \
+ "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id, call _ id, category) " \
+ "VALUES (?,?,?,?,?,?,?,?,?,?,?,?,?)"
#define STORE_SQL_FMT "INSERT INTO %s (dir, msgnum, recording, context, callerid, "\
- "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id) "\
- "VALUES (?,?,?,?,?,?,?,?,?,?,?)"
+ "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id, call id) "\
+ "origtime, duration, mailboxuser, mailboxcontext, flag, msg_id, call _ id) "\
+ "VALUES (?,?,?,?,?,?,?,?,?,?,?,?)"
static SQLHSTMT odbc_insert_data_cb(struct odbc_obj *obj, void *vdata)