mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-04 19:31:56 +00:00
[mod_verto] clientReady - reattached_sessions array
Make mod_verto clientReady reattached_sessions array send channel IDs that have been reattached, rather than the same connection ID repeatedly. Co-authored-by: davidp <davidp@cyfas.co.uk>
This commit is contained in:
@@ -1320,7 +1320,7 @@ static void attach_calls(jsock_t *jsock)
|
||||
}
|
||||
|
||||
tech_reattach(tech_pvt, jsock);
|
||||
cJSON_AddItemToArray(reattached_sessions, cJSON_CreateString(jsock->uuid_str));
|
||||
cJSON_AddItemToArray(reattached_sessions, cJSON_CreateString(switch_core_session_get_uuid(tech_pvt->session)));
|
||||
}
|
||||
}
|
||||
switch_thread_rwlock_unlock(verto_globals.tech_rwlock);
|
||||
|
||||
Reference in New Issue
Block a user