From: aslgithub <63076808+aslgithub@users.noreply.github.com> Date: Mon, 10 May 2021 22:56:36 +0000 (+0100) Subject: [mod_verto] clientReady - reattached_sessions array X-Git-Tag: v1.10.7^2~80 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=fa78235baf7c27cd10ec31cb05c4e988ccead070;p=thirdparty%2Ffreeswitch.git [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 --- diff --git a/src/mod/endpoints/mod_verto/mod_verto.c b/src/mod/endpoints/mod_verto/mod_verto.c index 804f612ff0..32480ac9cc 100644 --- a/src/mod/endpoints/mod_verto/mod_verto.c +++ b/src/mod/endpoints/mod_verto/mod_verto.c @@ -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);