[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:
parent
f289721147
commit
fa78235baf
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue