]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
FS-4903: add back running fifo_callers queries not queued
authorMichael Jerris <mike@jerris.com>
Mon, 21 Jan 2013 02:42:03 +0000 (21:42 -0500)
committerMichael Jerris <mike@jerris.com>
Mon, 21 Jan 2013 02:42:03 +0000 (21:42 -0500)
src/mod/applications/mod_fifo/mod_fifo.c

index cef4d78be86494593cb27cb1a9997051ea130def..41af0b1a168ce8545b94da10b77aaf7a7fdf6aa1 100644 (file)
@@ -2252,7 +2252,7 @@ static void fifo_caller_add(fifo_node_t *node, switch_core_session_t *session)
                                                 switch_str_nil(switch_channel_get_variable(channel, "caller_id_number")),
                                                 switch_epoch_time_now(NULL));
 
-       fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_FALSE);
+       fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_TRUE);
 }
 
 static void fifo_caller_del(const char *uuid)
@@ -2265,7 +2265,7 @@ static void fifo_caller_del(const char *uuid)
                sql = switch_mprintf("delete from fifo_callers");
        }
 
-       fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_FALSE);
+       fifo_execute_sql_queued(&sql, SWITCH_TRUE, SWITCH_TRUE);
 
 }