" manual_calls_out_count integer not null default 0,\n"
" manual_calls_in_count integer not null default 0,\n"
" manual_calls_out_total_count integer not null default 0,\n"
" manual_calls_in_total_count integer not null default 0\n"
" manual_calls_in_total_count integer not null default 0,\n"
" ring_count integer not null default 0\n"
");\n";
...
...
@@ -3269,11 +3276,12 @@ static switch_status_t load_config(int reload, int del_all)
gotodone;
}
switch_cache_db_test_reactive(dbh,"delete from fifo_outbound where static = 1 or taking_calls < 0 or manual_calls_in_total_count < 0","drop table fifo_outbound",outbound_sql);
switch_cache_db_test_reactive(dbh,"delete from fifo_outbound where static = 1 or taking_calls < 0 or ring_count < 0",
"drop table fifo_outbound",outbound_sql);
switch_cache_db_test_reactive(dbh,"delete from fifo_bridge","drop table fifo_bridge",bridge_sql);
switch_cache_db_release_db_handle(&dbh);
fifo_execute_sql("update fifo_outbound set use_count=0,outbound_call_count=0,outbound_fail_count=0",globals.sql_mutex);
fifo_execute_sql("update fifo_outbound set ring_count=0,use_count=0,outbound_call_count=0,outbound_fail_count=0",globals.sql_mutex);