The SIP message routing from IM and Presence to Microsoft Lync is based on the Record-Route header added by Microsoft Lync in the initial request. IM and Presence resolves the hostname in the Record-Route header to an IP address and routes the SIP messages to the Microsoft Lync client.
In addition the transport type on IM and Presence should be the same as the transport type configured on Microsoft Lync for the IM and Presence route.
Procedure
Step 1
Select Cisco Unified CM IM and Presence Administration > System > Service Parameters.
Step 2
Select the IM and Presence server.
Step 3
Select the service Cisco SIP Proxy.
Step 4
Verify that the following parameters are configured correctly:
The Proxy Domain parameter value must define the enterprise top-level domain name (for example, "example.com").
This parameter specifies which URIs are treated as local and handled by this IM and Presence installation. Other SIP requests may be proxied.
Enable the Add Record-Route Header parameter.
Enable the Use Transport in Record-Route Header parameter.
The SIP Route Header Transport Type parameter value must be set to the same type as the transport parameter configured on Microsoft Lync for the Microsoft Lync to IM and Presence route.
Complete the following procedure to configure the CTI connections on IM and Presence.
Before You Begin
Obtain the username and password that you configured for the application user account on the associated Cisco Unified Communications Manager server for the CTI Gateway.
Procedure
Step 1
Select Cisco Unified CM IM and Presence Administration > Application > Microsoft RCC > Settings.
Step 2
Select On from the Application Status menu.
Step 3
Enter the CTI Gateway application username and password.
Tip
The username and password are case-sensitive and must match what is configured on Cisco Unified Communications Manager.
Step 4
Enter a value (in seconds) for the heartbeat interval.
This is the length of time between heartbeat messages sent from IM and Presence to the Cisco Unified Communications Manager nodes to monitor the CTI connections.
Step 5
Enter a value (in seconds) for the session timer.
This is the session timer for the Microsoft Lync sign-in session.
Step 6
Select the type of Microsoft server you are using from the Microsoft Server Type menu.
Note
For Microsoft Lync integration, you must select MOC server OCS.
Step 7
As required, enter the IP address of each Cisco Unified Communications Manager node with which you want to establish a CTI connection.
Note
You can configure a CTI connection with up to eight Cisco Unified Communications Manager nodes. These nodes must all belong to the same Cisco Unified Communications Manager cluster.
Step 8
Select Save.
Important:
If you select MOC server OCS as the Microsoft Server Type, you must install the IM and Presence Lync Remote Call Control Plug-in on the Microsoft Lync client for any users who use more than one line appearance for remote call control. The IM and Presence Lync Remote Call Control Plug-in adds a menu item to the Microsoft Lync client that enables the user to select a line appearance to control.