Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

How to login using the userid ?

We are not able to login to CTI server using the Java code , while the same time i am able to login to CTI server using userid throgh CISCO Desktop Agent.

Please send us the samle code..

Many Thanks in Advance.

2 REPLIES

Re: How to login using the userid ?

When you install JTAPI, you get two sample tools.. makecall and jtrace. Can you run those?

Community Member

Re: How to login using the userid ?

We have configured Login using CTI.LoginName also using ICM.

We are able to login using the AgentID (numeric) but not able to login using the LoginName (alphanumeric).

Following API worked for AgentID login -

Using CTIOS_AGENTID

m_ctiAgent.SetValue(CTIOS_AGENTID, sAgentID);

m_ctiAgent.SetValue(CTIOS_AGENTPASSWORD, sPassword);

m_ctiAgent.SetValue(CTIOS_AGENTINSTRUMENT, sInstrument);

m_ctiAgent.SetValue(CTIOS_PERIPHERALID, Integer.parseInt( sPeripheralID ) );

m_ctiAgent.SetValue(CTIOS_AUTOLOGIN, 1 );

m_ctiSession.SetAgent( m_ctiAgent );

To login using LoginName (alphanumeric) we tried following API but none worked -

m_ctiAgent.SetValue(CTIOS_ LOGINNAME, sAgentName);

m_ctiAgent.SetValue(CTIOS_AGENTPASSWORD, sPassword);

m_ctiAgent.SetValue(CTIOS_AGENTINSTRUMENT, sInstrument);

m_ctiAgent.SetValue(CTIOS_PERIPHERALID, Integer.parseInt( sPeripheralID ) );

m_ctiAgent.SetValue(CTIOS_AUTOLOGIN, 1 );

m_ctiSession.SetAgent( m_ctiAgent );

If you have any clue , why the login using LoginName (alphanumeric) is not working , it would be great help to us.

Many Thanks in Advance.

Regards

Deepak

138
Views
0
Helpful
2
Replies
CreatePlease to create content