mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-16 06:18:35 +00:00
tweak on last commit
This commit is contained in:
1 parent
072bf5ad14
commit
84c2d80964
1 file changed
+2
-2
@@ -1060,8 +1060,8 @@ static void core_event_handler(switch_event_t *event)
|
|||||||
new_sql() = switch_mprintf("delete from channels where uuid='%q' and hostname='%q'",
|
new_sql() = switch_mprintf("delete from channels where uuid='%q' and hostname='%q'",
|
||||||
uuid, switch_core_get_variable("hostname"));
|
uuid, switch_core_get_variable("hostname"));
|
||||||
if (switch_true(sig)) {
|
if (switch_true(sig)) {
|
||||||
new_sql() = switch_mprintf("delete from calls where caller_uuid='%q' and hostname='%q'",
|
new_sql() = switch_mprintf("delete from calls where (caller_uuid='%q' || callee_uuid='%q') and hostname='%q'",
|
||||||
uuid, switch_core_get_variable("hostname"));
|
uuid, uuid, switch_core_get_variable("hostname"));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user