What is the Cisco Developer Network?
The Cisco Developer Network is a technology partner and developer program. Members can leverage Cisco technologies to develop compelling business solutions to meet customer needs .
We appeal t o a broad partner base made of ISVs, IHVs, Systems Integrators, and channel resellers.The CDN value proposition offers:
- A broad ecosystem of third party products for customers to choose from, with business relevance and Cisco compatibility
- Accelerated development and time to market for Technology Partners through technical, marketing and sales resources
- Extension of Cisco products to address new, dynamic market needs and adjacencies.
- A resource for Channel Partners and sales to accelerate revenue, and drive product pull-through
Building in-house enterprise solutions?
Our Support-only Membership offers similar benefits such as access to technologies and subject matter experts.
RE: CTIOS Client Heartbeats Value
In the future, please post CTIOS technology specific questions in the appropriate forum for CTIOS here http://developer.cisco.com/web/ctios/community
You asked if the heartbeat is specified in seconds or milliseconds.
Per the CTIOS Developer Guide here http://developer.cisco.com/web/ctios/documentation
see page 322 for the session.connect method. Heartbeats on the client side are specified in seconds (not milliseconds).
You should configure the default heartbeat value on the CTIOS Server (which confusingly is expressed in milliseconds). See the CTIOS System Manager Guide
http://www.cisco.com/en/US/partner/docs/voice_ip_comm/cust_contact/contact_center/ctios/ctios9_0/installation/guide/UCCE_BK_C3D5EC47_00_cti-os-system-manager-guide.html See the connections registry section
Here's a description of how the Heartbeat works on the CTIOS Client and Server.
The CTIOS Connection Layer provides, in addition to basic communication facilities, fault tolerance to the CIL by automatically detecting and recovering from a variety of network failures. The Connection layer uses a heartbeat-by-exception mechanism, sending heartbeats only when the connection has been silent for some period of time, to detect network-level failures.
On the CTIOS Server side:
The heartbeating mechanism uses the HeartbeatIntervalMs and HeartbeatRetrys values from the Registry together to determine when a connection is stale and should be closed. The interval serves as a timeout and the retrys is the number of attempts that have timed out before closing the socket.
Example with an interval of 5000ms and 3 retrys:
• After 5000ms (5sec Total time), if the server has not heard from the client it sends a heartbeat request and increments the retry count to 1.
• After 5000ms (10sec Total time), if the server has not heard from the clent it sends a heartbeat request and increments the retry count to 2.
• After 5000ms (15sec Total time), if the server has not heard from the client it sends a heartbeat request and increments the retry count to 3.
• After 5000ms (20sec Total time), if the server still has not heard from client, the connection is reported failed and the socket is closed.
To disable heartbeating, set the HeartbeatIntervalMs value to 0.
A Retry value of 0 will cause the connection to timeout after the interval without sending any heartbeat.
On the CTIOS Client Side:
Client side also uses the heartbeat-by-exception mechanism. So it works exactly the same as the server. If the client has not heard from the server in the time specified, it will send a heartbeat request and increments the retry count. When the retry count exceeds the MaxHeartBeat, which has a default value of 3, the connection is reported failed and the socket is closed.
The two values that are used by the client are the Heartbeat and the MaxHeartBeat. These two values can be specified in the Connection Profile on the CTIOS Server if using Connection Profiles. If not using Connection Profiles, you can set the heartbeat time value when the CIL Session.Connect() method is called. The client can specify the heartbeat time, expressed in seconds in the Arguments array passed to the Connect() method. This is an optional argument. If not set, the default heartbeats are configurable on CTI OS server.
- Marketing Velocity Series: Influencing the 2014 Revenue Marketing Roadmap Webcast
- Power Hour Webinar: Cisco UC Sandbox – Supporting Connected Innovation Webinar