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

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

CTIOS Client Heartbeats Value

We developped a VB.Net CTI bar with CTIOS 8.5

During connection we do not specify the "Heartbeats" parameter :

Dim arguments As New Arguments

Call arguments.SetValue("CtiOsA", "HOST1")

Call arguments.SetValue("PortA", 42028)

Call arguments.SetValue("CtiOsB", "HOST2")

Call arguments.SetValue("PortB", 42028)

m_Session.Connect(arguments)

The default value is selected (see log): 5 seconds

10/14/13 14:19:25.359 4076 iexplore Thd(4492)  CCtiOsSession::Connect: Critical!!! Missing CTIOS_HEARTBEAT keyword. Using default value [5]

10/14/13 14:19:25.359 4076 iexplore Thd(4492) CCtiOsSession::Connect: Missing CTIOS_MAXHEARTBEATS keyword. Using default value [3]

But sometimes our CTI client disconnects because it lacks too many Heartbeats (see log):

10/14/13 15:29:43.746 4076 iexplore Thd(5836) CCtiOsSession::OnEvent( eOnMissingHeartbeat ), EnablementMask = ffffffff

10/14/13 15:29:43.746 4076 iexplore Thd(5836) CCtiOsSession::OnEvent, (MsgID:eOnMissingHeartbeat EvtTime:17383746 HBIntv:5000 MissedHBs:1)

10/14/13 15:29:43.746 4076 iexplore Thd(5836) CCtiOsSession::OnMissingHeartbeat()

10/14/13 15:29:43.746 4076 iexplore Thd(5836)     EventTime ---------[17383746]

10/14/13 15:29:43.746 4076 iexplore Thd(5836)     MissedHeartbeats --[1]

10/14/13 15:29:43.746 4076 iexplore Thd(5836)     HeartbeatInterval -[5000]

10/14/13 15:29:48.760 4076 iexplore Thd(5836) CCtiOsSession::OnEvent( eOnMissingHeartbeat ), EnablementMask = ffffffff

10/14/13 15:29:48.760 4076 iexplore Thd(5836) CCtiOsSession::OnEvent, (MsgID:eOnMissingHeartbeat EvtTime:17388760 HBIntv:5000 MissedHBs:2)

10/14/13 15:29:48.760 4076 iexplore Thd(5836)  CCtiOsSession::OnMissingHeartbeat()

10/14/13 15:29:48.760 4076 iexplore Thd(5836)     EventTime ---------[17388760]

10/14/13 15:29:48.760 4076 iexplore Thd(5836)     MissedHeartbeats --[2]

10/14/13 15:29:48.760 4076 iexplore Thd(5836)     HeartbeatInterval -[5000]

10/14/13 15:29:53.773 4076 iexplore Thd(4432) CCilConnection(0CB86CF8)::WatchdogThread, FAILED all heartbeat retry attempts, closing connection

I think we need to specify a more appropriate value for CTIOS_HEARTBEAT.

Please, In the following command, in which unit is specify the heartbeat ?

Call arguments.SetValue("heartbeat ", 100)

Is it 100 second or 100 milliseconds ?

What value is used by the Cisco Desktop Agent (we do not encounter disconnection issue with the Agent Desktop ) ?

Does Desktop Agent use the values ​​of the registry key? 

[HKEY_LOCAL_MACHINE\SOFTWARE\Cisco Systems\CTI Desktop\CtiOs]

"Heartbeat"=dword:00000005

"MaxHeartbeats"=dword:00000003

"CAType"=dword:00000001

"HandShakeTime"=dword:00000005

Thank you for your help.

Fabien

Everyone's tags (4)
6 REPLIES
New Member

CTIOS Client Heartbeats Value

As per SRND, it is 200 milliseconds 1 way

The PG-to-CC path has a maximum one-way latency of 200 ms to

perform as designed. Meeting or exceeding these latency requirements is particularly important in an

environment using Unified CCE post-routing and/or translation routes

New Member

CTIOS Client Heartbeats Value

Sorry but I'm not sure to understand:

Do you mean that the Agent desktop Heartbeat is 200 ms ?

CTIOS Client Heartbeats Value

Dear ,

the number of milliseconds between the heartbeat from ctios server to its client is 60000 miliseconds.

reference:http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/ctios/ctios9_0/installation/guide/UCCE_BK_C3D5EC47_00_cti-os-system-manager-guide_chapter_01000.html

Regards,

Shalid K.C

Rate if the post is helpful

New Member

CTIOS Client Heartbeats Value

Hi,

Thank you, but it seems to me that this setting concerns the heartbeat asked by the server to the client.

My question concerns heartbeat asked by the client to the server (client side setting).

Regards,

Fabien

Cisco Employee

CTIOS Client Heartbeats Value

The heartbeating mechanism uses the MaxHeartbeats and Heartbeat values together to determine when a client must send heartbeat requests to the server and when the client must connect to the other server.

MaxHeartbeats is the max number of missed heartbeats before failover.(Default = 3)

Heartbeat is the time interval between consecutive heartbeats. (Default = 5)

This is how the heartbeating mechanism works on the CTI OS client:

• After 5 seconds, if the client does not receive a response from the server, it sends a heartbeat request 1.

• After 5 seconds, if the client does not receive a response from the server, it sends a heartbeat request 2.

• After another 5 seconds, if the client does not receive a response from the server, it sends a heartbeat request 3.

• After yet another 5 seconds, if the client does not receive any response from the server, it connects to an alternative server.

Please have a look at the “Defining Connection Profiles” section in Page 109

http://www.cisco.com/en/US/docs/voice_ip_comm/cust_contact/contact_center/ctios/ctios7_5/install/guide/cti75smg.pdf

If you want to know more about the Custom CIL for CTIOS, I would suggest you to post in developers.cisco.com

Regards,

Senthil

New Member

CTIOS Client Heartbeats Value

Thank you,

The heartbeating mechanism is clear for me, my aim is to find the good heartbeat value.

Do you think that Cisco client use the registry value ?

I've read the section of th "CTI OS System Manager's Guide" documentation but it's seems there is not connection profil in my registry.

Thank you for the suggestion to post my question on the developers.cisco.com  forum : I will try it !

Regards,

Fabien

612
Views
0
Helpful
6
Replies
CreatePlease login to create content