Skip to content

Commit 5de8ddd

Browse files
committed
call_center: Check "cc_calls" against the "realtime" DB URL
Per documentation: "To be more specific, the only runtime table we have so far is the "cc_calls" table." (cherry picked from commit 69ad46c)
1 parent 65fc660 commit 5de8ddd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/call_center/cc_db.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ int init_cc_db(const str *db_url)
267267
return -1;
268268
}
269269

270-
if(db_check_table_version(&cc_dbf, cc_db_handle,
270+
if(db_check_table_version(&cc_rt_dbf, cc_db_handle,
271271
&cc_calls_table_name, CC_CALLS_TABLE_VERSION) < 0) {
272272
LM_ERR("error during CALLS table version check.\n");
273273
return -1;

0 commit comments

Comments
 (0)