Make mod_verto clientReady reattached_sessions array send channel IDs rather than the connection ID repeatedly.

This commit is contained in:
davidrpalmer 2020-01-07 15:48:56 +00:00
parent 21229ad18f
commit b1acc3169f
1 changed files with 1 additions and 1 deletions

View File

@ -1256,7 +1256,7 @@ static void attach_calls(jsock_t *jsock)
} }
tech_reattach(tech_pvt, 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); switch_thread_rwlock_unlock(verto_globals.tech_rwlock);