mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-14 08:05:37 +00:00
FS-10772 - [mod_callcenter] commit 404c69698ed7a4ff215cf2d430b6a1721c693eb1 added an invalid WHERE syntax, fixed.
This commit is contained in:
parent
298a468edf
commit
32954c1b91
@ -1912,7 +1912,7 @@ static void *SWITCH_THREAD_FUNC outbound_agent_thread_run(switch_thread_t *threa
|
||||
} else if (!bridged && !switch_channel_up(agent_channel)) {
|
||||
switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(member_session), SWITCH_LOG_DEBUG, "Failed to bridge, agent %s has no session\n", h->agent_name);
|
||||
/* Put back member on Waiting state, previous Trying */
|
||||
sql = switch_mprintf("UPDATE members SET state = 'Waiting' WHERE uuid = '%q', system = '%q'", h->member_uuid, globals.core_uuid);
|
||||
sql = switch_mprintf("UPDATE members SET state = 'Waiting' WHERE uuid = '%q' AND system = '%q'", h->member_uuid, globals.core_uuid);
|
||||
cc_execute_sql(NULL, sql, NULL);
|
||||
switch_safe_free(sql);
|
||||
} else {
|
||||
|
Loading…
x
Reference in New Issue
Block a user