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);