Merge 74f6850861a83a67fa6b290d74ccb0a550f521bf into 3b58ebc5f309708bde0ad26eef73e606144792f6

This commit is contained in:
Jovany Leandro G.C 2025-01-21 00:17:21 +00:00 committed by GitHub
commit 68bcd5a43d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -954,7 +954,7 @@ SWITCH_STANDARD_APP(eavesdrop_function)
switch_cache_db_handle_t *db = NULL;
char *errmsg = NULL;
struct e_data e_data = { {0} };
char *sql = switch_mprintf("select uuid from channels where uuid != '%q'", switch_core_session_get_uuid(session));
char *sql = switch_mprintf("select uuid from channels where uuid != '%q' order by created_epoch desc", switch_core_session_get_uuid(session));
const char *file = NULL;
int x = 0;
char buf[2] = "";