FreeSBC:SIP Trunking:Example

From TBwiki
Revision as of 00:57, 1 February 2018 by Serdar Civici (Talk | contribs)
Jump to: navigation, search

Contents

Applies to version: v3.0

Introduction

The SIP Trunking Example Configuration provides you with a step by step SIP trunking Configuration of FreeSbc systems, using the Web Portal configuration tool. Complete general installation configuration steps, before you begin configuring your specific scenario.

SIP Trunking Example

Sip trunking sample 1.png

Prerequisites

FreeSbc devices must be installed as described in their respective installation guides.

IP Network Configuration

Virtual Port Configuration for Wide Area Network

1. Select IP Interfaces from the navigation panel

Create Voip Interface Tsbc 0.png



2. Click the Virtual Ports tab.

  • Click Create New Virtual Port

SIP Trunking VP Create.png

3. Configure the virtual port.

  • Enter a name for the virtual port
  • Select the host(s) to which the virtual port is assigned
  • Select a physical port to which the virtual port is assigned
  • Click Create

SIP Trunking VP WAN.png

4. Create a VLAN that uses this virtual port

  • Click Create new Host VLAN

SIP Trunking Vlan WAN.png

5. Configure the new VLAN

  • Enter a name for the VLAN
  • If the port is to be used untagged, make sure Untagged is checked.
  • If the port is to be used with a 802.1Q tag, uncheck Untagged and enter a VLAN ID.
  • Click Create

SIP Trunking Vlan WAN Interface 1.png

OR

SIP Trunking Vlan WAN Interface 2.png

Virtual Port Configuration for Local Area Network

1. Select IP Interfaces from the navigation panel

Create Voip Interface Tsbc 0.png



2. 2. Click the Virtual Ports tab.

  • Click Create New Virtual Port

SIP Trunking VP Create LAN.png

3. Configure the virtual port.

  • Enter a name for the virtual port
  • Select the host(s) to which the virtual port is assigned
  • Select a physical port to which the virtual port is assigned
  • Click Create

SIP Trunking VP LAN.png

4. Create a VLAN that uses this virtual port

  • Click Create new Host VLAN

SIP Trunking Vlan LAN.png

5. Configure the new VLAN

  • Enter a name for the VLAN
  • If the port is to be used untagged, make sure Untagged is checked.
  • If the port is to be used with a 802.1Q tag, uncheck Untagged and enter a VLAN ID.
  • Click Create

SIP Trunking Vlan LAN Interface 1.png

OR

SIP Trunking Vlan LAN Interface 2.png

Configuring IP Interface for Wide Area Network

1. Select IP Interfaces from the navigation panel:

Create IP Interface Tsbc 0.png



2. Click the IP Interfaces tab.

  • Click Create New IP Interface

Create IP if WAN 1.png



3. Configure the IP interface:

  • Enter a name for the interface
  • Select 1 or more services to use for the IP interface (RTP and SIP).
  • Select the Host VLAN from which IP packets will exit.
  • Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)
  • Enter an IP address
  • Enter a Netmask
  • Enter a gateway address
  • Click Save


Create IPif WAN 1.png



Configuring IP Interface for Local Area Network

1. Select IP Interfaces from the navigation panel:

Create IP Interface Tsbc 0.png

2. Click the IP Interfaces tab.

  • Click Create New IP Interface

Create IPif LAN.png

3. Configure the IP interface:

  • Enter a name for the interface
  • Select 1 or more services to use for the IP interface (RTP and SIP).
  • Select the Host VLAN from which IP packets will exit.
  • Indicate whether or not to use DHCP to automatically get an IP address for this port. (selecting this option removes the need to enter and IP address, Netmask, and Gateway)
  • Enter an IP address
  • Enter a Netmask
  • Enter a gateway address
  • Click Save

Create IP if LAN 1.png

SIP Stack Configuration

You must configure SIP signaling for your system. The first step in doing so is to create a SIP stack:

1- Click SIP in the navigation panel

SIP NavigationMenu.png


2- Click Create New Sip

Create New SIP.png

3- Create the new SIP stack:

  • Verify that the box labeled Enabled is checked
  • Enter a name for the stack
  • Click Create

SIP Trunking SIP Stack.png

SIP Transport Server Configuration for Wide Area Network

1- Click SIP in the navigation panel

SIP NavigationMenu.png


2- Select a SIP stack for which you wish to create a transport server

SIP Config List.png

3- Click Create New Transport Server

WAN SIP TransportServer.png


4- Create the new SIP transport server:

  • Enter a name for the server
  • Select an appropriate port type
  • Select an appropriate host IP interface
  • Click Create

WAN SIP TransportServer1.png

SIP Transport Server Configuration for Local Area Network

1- Click SIP in the navigation panel

SIP NavigationMenu.png


2- Select a SIP stack for which you wish to create a transport server

SIP Config List.png

3- Click Create New Transport Server

WAN SIP TransportServer.png


4- Create the new SIP transport server:

  • Enter a name for the server
  • Select an appropriate port type
  • Select an appropriate host IP interface
  • Click Create

LAN SIP TransportServer1.png

SIP NAP

A Network Access Point or NAP represents the entry point to another network or destination peer (e.g. SIP proxy,SIP trunk, etc)

SIP NAP Configuration for Wide Area Network

To create a new NAP:

1- Click NAPs in the navigation panel

NAP NavigationMenu.png


2- Click Create New NAP

Create New NAP SIP.png


3- Create the new NAP:

  • Enter a name for the NAP
  • Click Create

SIP Trunk NAP Create.png


4- Verify that the NAP was successfully created message appears

Create New NAP SIP2.png

5- Associate a SIP transport server with the new NAP:

  • Select a SIP Transport Server from the Available list
  • Click "<<" to associate the WAN_SIP_TS with the NAP

SIP Trunk NAP Create 1.png

6- Enter SIP Trunk proxy address:

SIP Trunk NAP Create 2.png

7- Associate a Port range with the new NAP:

  • Select a port range from the Available list
  • Click "<<" to associate WAN_Vlan:0 Port range with the NAP

SIP Trunk NAP Create 3.png

8- Configure settings for the following parameter groups as required:

  • Registration Parameters
  • Authentication Parameters
  • Network Address Translation
  • SIP-I Parameters
  • Advanced Parameters
  • Click Save

SIP Trunk NAP Create 4.png

SIP NAP Configuration for Local Area Network

To create a new NAP:

1- Click NAPs in the navigation panel

NAP NavigationMenu.png


2- Click Create New NAP

Create New NAP SIP.png


3- Create the new NAP:

  • Enter a name for the NAP
  • Click Create

SIP Server NAP Create.png


4- Verify that the NAP was successfully created message appears

Create New NAP SIP2.png

5- Associate a SIP transport server with the new NAP:

  • Select a SIP Transport Server from the Available list
  • Click "<<" to associate the LAN_SIP_TS with the NAP

SIP Server NAP Create 1.png

6- Enter SIP Server proxy address:

SIP Server NAP Create 2.png

7- Associate a Port range with the new NAP:

  • Select a port range from the Available list
  • Click "<<" to associate LAN_Vlan:0 Port range with the NAP

SIP Server NAP Create 3.png

8- Configure settings for the following parameter groups as required:

  • Registration Parameters
  • Authentication Parameters
  • Network Address Translation
  • SIP-I Parameters
  • Advanced Parameters
  • Click Save

SIP Server NAP Create 4.png

Access Control List

FreeSBC will automaticaly create Access Control List for each NAP you created.

SIP Access Control List 1.png


If you double click one of the created ACL, you will see FreeSBC only accept the calls if source IP is match.In this sample; the calls from 192.168.1.10 will aceppted only.


SIP Access Control List 2.png

Call Route

You must set up call routing for your system. Call routing refers to the ability to route calls based on criteria such as origin, destination, time of day, service provider rates, and more.


Route Configuration for SIP Trunk to SIP Server

1- Click Routes in the navigation panel

CreateCallRoute 0.png


2- Click Create New Static Route

CreateCallRoute 1.png


3- Create the new route:

  • Enter a RoutesetName for the route
  • Select SIP_TRUNK_NAP, to match calls from Trunk NAP
  • Select SIP_SERVER_NAP
  • Click Create

Route Trunk to Server.png


4- Verify that the "Route was successfully created" message appears, and that the new route is listed in the Routeset list

Route Trunk to Server 1.png

Route Configuration for SIP Server to SIP Trunk

1- Click Routes in the navigation panel

CreateCallRoute 0.png


2- Click Create New Static Route

CreateCallRoute 1.png


3- Create the new route:

  • Enter a RoutesetName for the route
  • Select SIP_SERVER_NAP, to match calls from Trunk NAP
  • Select SIP_TRUNK_NAP
  • Click Create

Route Server to Trunk.png


4- Verify that the "Route was successfully created" message appears, and that the new route is listed in the Routeset list

Route Server to Trunk 1.png

Personal tools