From: Anthony Minessale Date: Wed, 5 Sep 2012 16:12:06 +0000 (-0500) Subject: let callers delete themselves on reload X-Git-Tag: v1.2.3^2~90^2~4^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8ec031e7c915f6bf131c88957dc32397fab6d65d;p=thirdparty%2Ffreeswitch.git let callers delete themselves on reload --- diff --git a/src/mod/applications/mod_fifo/mod_fifo.c b/src/mod/applications/mod_fifo/mod_fifo.c index 15c6d124f9..2ef5c7fca9 100644 --- a/src/mod/applications/mod_fifo/mod_fifo.c +++ b/src/mod/applications/mod_fifo/mod_fifo.c @@ -2247,7 +2247,7 @@ static void fifo_caller_del(const char *uuid) if (uuid) { sql = switch_mprintf("delete from fifo_callers where uuid='%q'", uuid); } else { - sql = switch_mprintf("delete from fifo_callers", uuid); + sql = switch_mprintf("delete from fifo_callers"); } fifo_execute_sql(sql, globals.sql_mutex); @@ -4251,7 +4251,6 @@ static switch_status_t load_config(int reload, int del_all) } } switch_mutex_unlock(globals.mutex); - fifo_caller_del(NULL); }