# Skype for Business Example Configuration

## Introduction

The Skype for Business Example Configuration provides you with a step by step Skype for Business Configuration using TCP with ProSBC systems, using the Web Portal configuration tool. Complete general installation configuration steps, before you begin configuring your specific scenario. Used Protocols: SIP/UDP for ITSP SIP Trunk, SIP/TCP for S4B Front End Server

## Skype for Business Example Environment

<figure><img src="https://docs.telcobridges.com/w/images/thumb/d/d0/Skype_Environment.png/800px-Skype_Environment.png" alt=""><figcaption></figcaption></figure>

## Configuring Skype for Business Server 2015

This procedure describes how to configure ProSBC as an IP /PSTN Gateway in Skype for Business.

### Adding ProSBC in to S4B Topology

1\. On the server where Topology Builder is installed, start the Skype for Business Server 2015 Topology Builder (Windows Start menu > search for Skype for Business Server Topology Builder), as shown below:\
\
\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/f/fa/S4B_Topology_1.png" alt=""><figcaption></figcaption></figure>

2\. Run Topology Builder. The Following is displayed,\
\
\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/9/93/S4B_Topology_2.png" alt=""><figcaption></figcaption></figure>

3\. Select the Download Topology from existing deployment option, and then click OK; you are prompted to save the downloaded topology. Enter a name for the topology file and then click Save.\
\
\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/e/ec/S4B_Topology_3.png" alt=""><figcaption></figcaption></figure>

The Topology Builder screen with the downloaded topology is displayed:\
\
\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/f/fb/S4B_Topology_4.png" alt=""><figcaption></figcaption></figure>

4\. Under the Shared Components node, right-click to PSTN gateways node, and then from the menu, choose New IP/PSTN Gateway\
\
\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/a/a1/S4B_Topology_5.png" alt=""><figcaption></figcaption></figure>

5\. Enter the Fully Qualified Domain Name (FQDN) of the ProSBC (e.g., prosbc.telcoway.local). Click Next\
\
\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/7/73/S4B_Topology_6.png" alt=""><figcaption></figcaption></figure>

6\. Define the listening mode of the Ip address of your new PSTN Gateway, click Next.\
\
\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/4/45/S4B_Topology_7.png" alt=""><figcaption></figcaption></figure>

7\. Define a root trunk for the PSTN gateway. A trunk is a logical connection between the Mediation Server and a gateway uniquely identified by the following combination: Mediation Server FQDN, Mediation Server listening port (TLS or TCP), gateway IP and FQDN, and gateway listening port.\
\
\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/e/ea/S4B_Topology_8.png" alt=""><figcaption></figcaption></figure>

* In the 'Listening Port for IP/PSTN Gateway' field, enter the listening port that the ProSBC will use for SIP messages from the Mediation Server that will be associated with the root trunk of the PSTN gateway (e.g., 5060). This parameter is later configured in the SIP Transport Server.
* In the 'SIP Transport Protocol' field, select the transport type (TCP) that the trunk uses. This parameter is later configured in the SIP Transport Server.
* In the 'Associated Mediation Server' field, select the Mediation Server pool to associate with the root trunk of this PSTN gateway.
* In the 'Associated Mediation Server Port' field, enter the listening port that the Mediation Server will use for SIP messages from the ProSBC. This parameter is later configured in the S4B NAP settings.
* Click Finish.\ <br>

8\. The ProSBC added as a PSTN Gateway, and a trunk is created as shown below:<br>

<figure><img src="https://docs.telcobridges.com/w/images/c/c4/S4B_Topology_9.png" alt=""><figcaption></figcaption></figure>

9\. Publish the Topology; In the main tree, select the root node Skype for Business Server, and then from the Action menu, choose Publish Topology, as shown below:<br>

<figure><img src="https://docs.telcobridges.com/w/images/d/d7/S4B_Topology_10.png" alt=""><figcaption></figcaption></figure>

\
In the new window click Next; the Topology Builder starts to publish your topology, as shown below:<br>

<figure><img src="https://docs.telcobridges.com/w/images/f/f7/S4B_Topology_12.png" alt=""><figcaption></figcaption></figure>

10\. Wait until the publishing topology process completes successfully, and click Finish as shown below:\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/e/ee/S4B_Topology_11.png" alt=""><figcaption></figcaption></figure>

### Configuring the "Route" on Skype for Business Server 2015

The procedure below describes how to configure a "Route" on the Skype for Business Server 2015 and to associate it with the ProSBC PSTN Gateway.

1\. Start the Microsoft Skype for Business Server 2015 Control Panel (Start > search for Microsoft Skype for Business Server Control Panel), as shown below:<br>

<figure><img src="https://docs.telcobridges.com/w/images/7/77/S4B_Route_1.png" alt=""><figcaption></figcaption></figure>

\
2\. Enter your login credentials:<br>

<figure><img src="https://docs.telcobridges.com/w/images/2/23/S4B_Route_2.png" alt=""><figcaption></figcaption></figure>

3\. In the left navigation pane, select Voice Routing<br>

<figure><img src="https://docs.telcobridges.com/w/images/2/2d/S4B_Route_3.png" alt=""><figcaption></figcaption></figure>

\
4\. In the Voice Routing page, select the Route tab.<br>

<figure><img src="https://docs.telcobridges.com/w/images/8/87/S4B_Route_4.png" alt=""><figcaption></figcaption></figure>

\
5\. You can edit an existing route or add a new route.\
\
A - Editing an existing route

* Click one of the existing route
* Go to Associated trunks, and then click Add

<figure><img src="https://docs.telcobridges.com/w/images/2/23/S4B_Route_5.png" alt=""><figcaption></figcaption></figure>

* Select newly added trunk from the list (prosbc.telcoway.local) and then click OK<br>

<figure><img src="https://docs.telcobridges.com/w/images/e/ed/S4B_Route_5_1.png" alt=""><figcaption></figcaption></figure>

* Click OK (located on the top of the New Voice Route page); the Edited Voice Route (Uncommitted) is displayed:<br>

<figure><img src="https://docs.telcobridges.com/w/images/2/25/S4B_Route_5_2.png" alt=""><figcaption></figcaption></figure>

* From the Commit drop-down list, choose to Commit all,

B - Adding a new route

* Click New; the New Voice Route page appears:\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/e/e7/S4B_Route_5_3.png" alt=""><figcaption></figcaption></figure>

* In the ‘Name’ field enter a name for this route.
* In the 'Starting digits for numbers that you want to allow' field, enter the starting digits you want this route to handle (e.g., \* to match all numbers), and then click Add
* Click OK (located on the top of the New Voice Route page); the New Voice Route (Uncommitted) is displayed:<br>

<figure><img src="https://docs.telcobridges.com/w/images/6/63/S4B_Route_5_4.png" alt=""><figcaption></figcaption></figure>

* From the Commit drop-down list, choose to Commit all.

6\. Associate the route with the ProSBC Trunk that you created:<br>

<figure><img src="https://docs.telcobridges.com/w/images/1/16/S4B_Route_6.png" alt=""><figcaption></figcaption></figure>

\
7\. Associate a PSTN Usage to this route: Under the 'Associated PSTN Usages' group, click Select and then add the associated PSTN Usage\ <br>

<figure><img src="https://docs.telcobridges.com/w/images/2/26/S4B_Route_7.png" alt=""><figcaption></figcaption></figure>

\
8\. Go to Voice Routing –> Trunk Configuration in Skype for Business Control Panel and set Refer Support option to None<br>

<figure><img src="https://docs.telcobridges.com/w/images/e/e3/S4B_Route_8.png" alt=""><figcaption></figcaption></figure>

\ <br>

## Configuring ProSBC for Skype for Business Server 2015

This procedure describes how to configure Skype For Business in ProSBC to route calls to external ITSP.\
\
1\. On the ProSBC, need to add a new SIP Transport Server for TCP Connection

```
  Go to SIP -> Click to Configured SIP -> Transport Servers -> Create New Transport Server
```

<figure><img src="https://docs.telcobridges.com/w/images/f/fd/S4B_FreeSBC_1.png" alt=""><figcaption></figcaption></figure>

* Give a Name for this transport server
* Set Port Type to TCP
* Set the listening transport server Port. It must be the same as configured on Skype For Business IP/PSTN Gateway (In this documentation section 7)
* Set the IP Interface for transport server listening on.
* Click to Save button\ <br>

2\. Add a NAP for Skype for Business Server Go to NAPs -> Create New NAP<br>

<figure><img src="https://docs.telcobridges.com/w/images/c/cd/S4B_FreeSBC_2.png" alt=""><figcaption></figcaption></figure>

* Give a Name for this NAP
* Click to Create button

<figure><img src="https://docs.telcobridges.com/w/images/9/9b/S4B_FreeSBC_2_1.png" alt=""><figcaption></figcaption></figure>

* Select SIP Transport Server for this NAP. It must be the same SIP Transport Server we created for Skype for Business before (Section 1)
* Move the selected SIP Transport Server to Current section using << button

<figure><img src="https://docs.telcobridges.com/w/images/d/d1/S4B_FreeSBC_2_2.png" alt=""><figcaption></figcaption></figure>

* Set Skype for Business Mediation Server FQDN address in the Proxy Address Check the following link for DNS configuration [v3.1: DNS configuration](https://docs.prosbc.com/configuration-details/configuration-by-web-portal-category/ip-network-settings/dns-configuration)
* Set Skype for Business Mediation Server Port in the Proxy Port

<figure><img src="https://docs.telcobridges.com/w/images/0/04/S4B_FreeSBC_2_3.png" alt=""><figcaption></figcaption></figure>

* Select the correct Port range for this NAP
* Move the selected Port range to Current section using << button.
* Click to Save button\ <br>

3\. Add routes for Skype for Business Server

You need to add 2 routes for Skype for Business Server. One for Incoming traffic from Skype for Business Server and other for outgoing traffic to Skype for Business Server.

1\. For Incoming traffic from Skype for Business Server

```
        Go to Routes -> Create New Static Route
```

<figure><img src="https://docs.telcobridges.com/w/images/1/1f/S4B_FreeSBC_3.png" alt=""><figcaption></figcaption></figure>

* Give a Name for this route
* Select incoming NAP. Select the NAP we created before for Skype for Business
* Select outgoing NAP from Remapped NAP
* Click to Create button\ <br>

2\. For Incoming traffic to Skype for Business Server

```
        Go to Routes -> Create New Static Route 

```

<figure><img src="https://docs.telcobridges.com/w/images/f/fd/S4B_FreeSBC_3_1.png" alt=""><figcaption></figcaption></figure>

* Give a Name for this route
* Select incoming NAP.
* Select outgoing NAP from Remapped NAP. Select the NAP we created before for Skype for Business
* Click to Create button\ <br>

## Activating the Configuration

Changes made to the configuration of the ProSBC units are stored in the OAM\&P Configuration and Logging database. In order for changes to be used by the system, they must first be activated. This is done at the system level and accessed from the Navigation panel.

Check the following link for activating the configuration;

[Toolpack:Activating\_the\_Configuration\_D](https://docs.prosbc.com/configuration-details/configuration-by-web-portal-category/system-settings/activating-the-configuration)

## SBC Use Cases

[SBC Use Cases](https://docs.prosbc.com/use-cases/interoperability-examples)
