Query for campaign logged in as

We are building a CRM for a client who uses this dialer.
The CRM receives leads via web portal connections with lead vendors that are inserted to the CRM.
These leads are manually dialed, no lead lists are loaded up to the dialer.

Additionaly, there are agents on this dialer working on different campaigns.

So, what we want to do is distribute the CRM leads based on who is here today (attendance - we don’t want to give a lead to someone who is absent) AND what campaign they are currently logged into (we don’t want to give these leads to people who are working on other campaigns).

I know how to query who is logged in.

I need to know what table and field to query to find out what campaign they are logged into.

Thanks!