need help with Java TServer library 5.0

Hi there,

has anybody developed using tha java TServer 5.0 api?

How do you implemente an agent login into a queue? Normally to make and answer calls through TServer I would use ts.RegisterAddress, but that doesn’t log the user into any queue. I found a function that is ts.AgentLogin but I dunno which parameters I need to provide

AgentLogin

public int AgentLogin(

String queue,

String dn,

int agent_type,

String agent_id,

String passwd,

int workmode,

TKVList reasons,

TKVList extensions)

what is agent_type? what is workmode? do I still need to call ts.registerAddres before or no? Any help greatly appreciated.

Thanks,

A.

The information you have to provide for AgentLogin depends on the PBX that you are using?

regards.