Posts Tagged ‘csta’

Lync-Openfire CSTA Plugin

CSTA Plugin Configuration

 

 

This post will go through the steps required to set up Remote Call Control between a Lync Server, and telephony plugins sitting on an Openfire server.

 

This uses our “CSTA Plugin” for Openfire.

 

 

1. Static Route

 

The first step is to configure a Static Route on the Lync server which goes to the Openfire server. This is done from the Lync Server Management Shell.

 

First, you need to define the route as a variable:

$1= New-CsStaticRoute -TCPRoute -Destination <ip of openfire server> -Port <csta sip port> -MatchUri <fqdn of the openfire server>

 

Now you need to add this variable as a Route:

Set-CsStaticRoutingConfiguration -Identity global -Route @{Add=$1}

 

The “$1″ represents the variable name used above.

 

You can run the below command to check the routes:

Get-CsStaticRoutingConfiguration

 

This will return all identities and routes configured for them.

 

 

2. Trusted Application

 

The next step is to configure the Openfire server as a Trusted Application Server.

 

Once again, this is done from the Lync Server Management Shell.

 

You first need to create a Trusted Application Pool:

New-CsTrustedApplicationPool -Identity <ip of openfire server> -Registrar <fqdn of lync server> -ComputerFqdn <ip of openfire server> -Site <site name> -TreatAsAuthenticated $true -ThrottleAsServer $true

 

Now that the pool is made, the Trusted Application must be set with this pool:

New-CsTrustedApplication -ApplicationId <any ID> -TrustedApplicationPoolFqdn <ip of openfire server> -Port <csta sip port> -EnableTcp

Set-CsTrustedApplicationPool -Identity <ip of openfire server> -OutboundOnly $True

 

Now that everything is set, you must enable the topology:

Enable-CsTopology

 

 

3. Topology Builder

 

After configuring Openfire as a Trusted Application Server, you need to make a change to it in the Topology Builder.

 

To do this, run the Lync Server Topology Builder.

 

When prompted, select “Download Topology from existing deployment”.

1. Topology Builder - Download existing

 

 

This will begin to download the topology.

 

When asked where to download the topology, you can select any location and file name, but do not change the format.

2. Topology Builder - Save location

 

Once chosen, select “Save”.

 

This will load you current deployment. Collapse the left side menu to find the folder “Trusted application servers”, which should have the just created Trusted Application Server listed.

3. Topology Builder - Trusted Application Servers

 

Right click the listing and select “Edit Properties…”.

4. Topology Builder - Edit Proprties

 

Here you need check the box “Limit service usage to selected IP addresses” and enter the IP of the Openfire Server in the field under “Primary IP address: *”.

5. Topology Builder - Primary IP

 

Once done select OK.

 

Now you need to publish back the Topology with the changes.

 

In the Topology Builder, click the “Action” menu and select “Publish Topology…”.

6. Toploogy Builder - Publish Topology

 

Click “Next” and and it will publish the topology with the changes made. It may be a good idea to save this somewhere as a backup.

 

 

4. Control Panel

 

Now that you have made the changes required to the backend Topology, you need to edit the users to allow Remote Call Control.

 

First, run the Lync Server Control Panel.

 

When this loads, log in and click the “Users” tab on the left hand side.

 

This displays all users configured for Lync.

 

Select a user and make the following changes:

> Telephony – Change this to “Remote call control

> Line URI - This is an arbitrary number in the form “tel:<number>

> Line Server URI – This is in the form “sip:<user>@<fqdn of openfire server>

 

1. Control Panel - User Changes

 

 

Once done, select Commit at the top of the window.

 

 

5. Openfire Server

 

On the Openfire side, you will need to add the CSTA plugin. This can be done in one of two ways, like any other plugin.

1. On the Openfire Admin Console go to the Plugins tab and add the plugin from there.

2. Stop the Openfire server, move the plugin into the plugins directory, and start the Openfire server back up.
Once done, the CSTA configuration page will appear in the Admin Console under the tab “Unify”.

 

If you are using any of our other telephony plugins (e.g. Etrali or Cisco), it will appear alongside those, otherwise it would be in the Unify tab on it’s own.

1. Openfire Server - Unify:CSTA tabs

 

Click on the CSTA tab to view the CSTA Properties page, where you can configure the settings for you setup.

2. Openfire Server - CSTA Offline

 

Here you need to change the listening point to match your setup.

 

The format required for this field is:

SIP://<ip of openfire server>:<sip csta port>/TCP

 

Other than this, the other settings can be left as they are.

 

Once the change is made, click “Save Properties” and then restart the MAS.

 

When you go back to the page it should be green and say “Service is starting: Awaiting RCC User Logon”.

 

This means that the plugin has started is waiting for a user to log on.

3. Openfire Server - CSTA Waiting login

 

 

6. Lync Client

 

Now you are done with the Openfire side, you are ready to log on to the Lync Client.

 

Log on as normal, and once done go to the Options menu, and to the “Phones” tab.

 

Here you need to check the box “Enable integration with your phone system”.

1. Lync Client - Enable integration

 

 

Then click the “Advanced” button and ensure that “Automatic Configuration” is checked.

2. Lync Client - Advanced

 

Log out and back in to the client, and the change will take effect.

 

Check the Openfire Admin Console now and you’ll see that “Service is starting: Awaiting RCC User Logon” has changed to “Service is online”.

3. Lync Client - CSTA Online

 

In addition, if you go to the “CSTA Users” menu on the left side, you’ll see the user logged in, the system he is using, and his “Device Name”.

4. Lync Client - CSTA Users

 

If the device name is listed, with the correct “tel:#” configured in the Control Panel, then the user will be able to dial out using their configured system.

 

 

OUR BLOG

on July 5, 2018

We have started using medium for our blogging. Please click here to see our latest posts.

on February 9, 2015

BaseX Blog Introduction This 'Blurt/Blog' details my experiences of a recent

on December 4, 2013

iCosts - The Legal Costs Calculator - Demo http://youtu.be/P5pSAZzKi08

on December 4, 2013

Lync XMPP + Video - Demo http://youtu.be/aWpaxFGDwXY

Contact Us

9th Floor Capital House
40-42 Weston Street
London
SE1 3QD

sales@gltd.net 0207 100 1499 Follow us Like us

Specialists in integrated and flexible communications

Copyright © 2013 Globility Limited. All rights reserved.