cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
174
Views
0
Helpful
0
Comments
cdnadmin
Level 11
Level 11
This document was generated from CDN thread

Created by: Voiceops SSC on 20-01-2010 03:51:39 PM
We are currently working on intergrating CTI with out inhouse application. Every thing works fine except for one little item:
 
Our agents login. log out, ready and not ready from within our app.
If a user kills the application by using task manager, the CTI session stays active and when the agent tries to log back in it tells him/her that he/she is already logged on.  The only way to kill it is to reset the phone.
 
Thanks

Subject: RE: New Message from Voiceops SSC in Computer Telephony Integration Object
Replied by: David Lender on 20-01-2010 10:59:29 PM
An agent must logout and disconnect the session in order not to keep the
agent logged in when the client application ends or fails.  This is why
the sample applications always prompt the user to go to not ready state
and logout before terminating the application.

Subject: RE: New Message from Voiceops SSC in Computer Telephony Integration Object
Replied by: Voiceops SSC on 21-01-2010 03:42:19 PM
Of course that's how it works but that's not exactly what I'm asking. 
My apologies, maybe I didn't worded it correctly.
 
We added CTIOS objects to our inhouse application so the agents, in order to login,out, ready, not ready, need to login to our application first.  Having said that, if the application happens to crash the session (the agent) will remain active (logged in).
A similar things happens when using the CTIOS client.  If an agent is logged in and the PC crashes, the session remains active and since we have disable duplicate logins it will not allow the agent to login. it will display a message box that says "Agent with ID <xx> is already logged
in. To use Agent ID <xx> please logout first or contact an Administrator for help."
To get around that we have to reset the phone.
 
I there a way to kill a CTIOS session automatically if there's no activity for a certain time?
 
thanks

Subject: RE: New Message from Voiceops SSC in Computer Telephony Integration Object
Replied by: David Lender on 21-01-2010 04:33:29 PM
Correct.  There is no workaround.

Subject: RE: New Message from Voiceops SSC in Computer Telephony Integration Object
Replied by: Voiceops SSC on 25-01-2010 09:58:43 PM
We decided to do a phone reset using the phones' xml object <CiscoIPPhoneExecute>.
We'll add this to the agents' AD login scripts so when they restart it resets the phone.
 
 
dim URI
dim KeyToExecute
Dim user
Dim pass
dim auth
Dim arrKeys(6)


user = "*************"
pass = "*************"
phoneip = "1.2.3.4"
auth = user & pass

arrKeys(0)="Key:Settings"
arrKeys(1)="Key:KeyPadStar"
arrKeys(2)="Key:KeyPadStar"
arrKeys(3)="Key:KeyPadPound"
arrKeys(4)="Key:KeyPadStar"
arrKeys(5)="Key:KeyPadStar"

For i = 0 to 5
URI = arrKeys(i)
KeyToExecute = ("""") & URI & ("""")
action = "<CiscoIPPhoneExecute><ExecuteItem URL=" & KeyToExecute & "/>" & "</CiscoIPPhoneExecute>"
action = "XML=" & Escape(action)
url = "http://" & phoneip & "/CGI/Execute"

Call HTTPPost(url, action, auth)

Next
Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community:

Quick Links