This post describes the process of where to get the AgentID for a call. Please see more below.
'DEVICETYPE' in the table tbilllogX indicates the type of the device processing the call.

We can see that DEVICETYPE 2 stands for Agent. In that condition, DEVICENO stands for Agent ID.
For example, the below call’s agentID is 25069.
