Great! That is exactly what i need.You may check you the answer in this thread that was for a very similar query, using the Live Chat plugin:
https://www.3cx.com/community/threads/can-live-chat-recognize-authenticated-users.80084/post-368562
I hope this helps.
Founded in 2005, when VoIP was an emerging technology, 3CX has gone on to establish itself as a global leader in business communications.