Adtran T1/PRI Gateways



Overview

The following guide should work for all Adtran TA900 series T1/PRI Gateways such as
  • TA908, TA916, TA924
For this example we will be configuring a TA916

Information gathering

You will need to retrieve the following information from Clearly IP Trunking portal for the location you want to connect the device to.
  • SIP Credentials
    • Username - SIP Username
    • Password - SIP Password
       
Review this wiki on how to get the above information here
You will also need a public IP address and gateway address from an ISP to assign to the ATA's interface that the SIP trunk will be using.

Connect to the ATA on its default network

Power up the ATA 
  • The default IP Address of the TA900 series ATA's is 10.10.10.1/24 there is a DHCP server enabled by default.  Connect to the ATA's Ethernet port to obtain an IP Address or assign your device a static ip address on the same 10.10.10.0/24 network.  Note: If you are connecting to a TA900 e-series ATA with 3 network interfaces connect to the GI 0/1 interface.

Logging In

Navigate through your web browser to the default IP address of 10.10.10.1 on the same network where the ATA is connected.
  • Log into the web GUI.  Default Username of "admin" password of "password"

Create a Codec List

Navigate to Voice >System Setup > Codec Lists
Codec List Name - Name your Codec List (In the below example Default is used)
New User Default - check to enable as a default codec
Codec Choices - Add G.711 uLaw and any other choices you need
Click on Apply to create the Codec List

2023-04-27_13h47_39

Configure the SIP Trunk

Navigate to Voice > Trunk > Trunk Accounts
  • Trunk Name - Name your SIP trunk (This name descriptive for the Adtran in the example below ClearlyIP is used) 
  • Trunk Type - Choose type SIP   
  • click on Add - This will open the trunk configuration 
2023-04-27_10h17_47

SIP Server Settings

  • SIP Server Address - Enter us.clearlyip.com
2023-04-27_10h49_08

SIP Registrar Settings
  • SIP Registrar Address - choose host and enter us.clearlyip.com
  • Registration Expire Time - set to 300            
  • Default Authentication - choose Set 
  •             User - Enter SIP Username from SIP Credentials
  •             Password - Enter SIP Password from SIP Credentials  
  • Apply at the bottom of the page, and click save on the top to save the configuration 
2023-04-27_11h09_03
Registration Settings
  • Click on Add Registry Entry - This will open a dialogue box
  • Start Value - Enter Enter SIP Username from SIP Credentials
  • Under Authentication Click on the Set Radio button
    • User - Enter SIP Username from SIP Credentials
    • Password - Enter SIP Password from SIP Credentials
2023-12-04_13h48_58

Configure the SIP Trunk Group
Navigate to Voice > Trunk > Trunk Accounts
  • Group Name - name your SIP trunk (This name descriptive for the Adtran in the example below ClearlyIP is used)   
  • click on Add - this will open the trunk configuration 
2023-04-27_11h46_52

  • On the next page select Add Members 
2023-04-27_11h55_18

  • Add the SIP Trunks you created in the previous steps
    • Choose the SIP Trunk 
    • Click on Add Selected Trunks 
2023-04-27_11h57_53

Select outbound Call Templates that will be used for this trunk group.  Apply and Save
2023-04-27_11h52_41

Permission Template

  • Click on Configure Templates
2023-04-27_15h32_04
Template - add the "$" wild card
Costs  - add a cost number of "25"
Click on Add
2023-04-27_15h30_48

Configure a PRI Trunk

Configuring a PRI Trunk takes place in 4 parts Configuring the T1 interface, configuring the PRI, configuring a PRI Trunk Accont, and configuring a PRI Trunk group

Configure the T1 interface

  • Navigate to System > Physical Interfaces > t1 0/2
2023-04-27_12h14_22

This will take you to the "T1 0/2" interface configuration page.
Basic Configuration  
  • Description - Enter a description 
  • Enable - choose Enable
  • Click on Apply        
 2023-04-27_12h19_07

Configured DS0 Connections
  • Connect To - Choose PRI in the drop-down menu. 
  • DS0 Range  - Specify the appropriate DS0 using the drop-down boxes. Note: DS0 24 is automatically configured because it is the D-channel for the PRI. 
  • Click on Add to go to the ‘PRI Configuration’ page. 
2023-04-27_12h31_24

PRI Configuration

  • Description -  Enter an optional description
  • Switch Type - Configure the appropriate switch type to be used (We will use ISDN 2)
  • Protocol Emulation - Set to Network
  • Click on Apply and Save
2023-04-27_12h59_46

Configuring the PRI Trunk Account

Navigate to Voice > Trunk > Trunk Accounts
  • Trunk Name - name your PRI trunk (This name descriptive for the Adtran in the example below PRI is used) 
  • Trunk Type - choose type ISDN  
  • click on Add - this will open the trunk configuration 
2023-04-27_12h06_32

Trunk Account Information

  • Reject External - Unchecked
  • ISDN Interface - Select the appropriate ISDN interface from the drop-down menu
2023-04-27_14h11_17

Voip Settings

  • Codec Group - Select the Appropriate Codec Group from the Drop-down menu
  • Click on Apply and Save
2023-04-27_14h20_48

Configuring the PRI Trunk Group

Navigate to Voice > Trunk > Trunk Accounts
  • Group Name - name your SIP trunk (This name descriptive for the Adtran in the example below PRI is used)   
  • click on Add - this will open the trunk configuration 
2023-04-27_14h24_33
  • On the next page select Add Members 
2023-04-27_11h55_18
  • Select the PRI Trunk
  • Click on Selected Trunks
2023-04-27_14h27_39

Permission Template

  • Click on Configure Templates
2023-04-27_15h20_41

Template - add the "$" wild card
Costs  - add a lower number than the SIP Trunk "5"
Click on Add
2023-04-27_15h27_10

Configuring a T1 Trunk

Configure a T1 port on the TA 900 Series ATA for a T1 to be connected to a PBX.   Configuring the T1 interface takes place in 4 parts, configuring the T1 interface, configuring the RBS, configuring a PRI Trunk Account, and configuring a PRI Trunk group

Configure the T1 interface

  • Navigate to System > Physical Interfaces > t1 0/2
2023-04-27_12h14_22

This will take you to the "T1 0/2" interface configuration page.
Basic Configuration  
  • Description - Enter a description 
  • Enable - choose Enable
  • FDL - choose ANSI
  • Click on Apply        
 2023-04-27_15h51_48


Configured DS0 Connections
  • Connect To - choose Reserve for RBS Trunks
  • DS0 Range  - Specify the appropriate DS0 using the drop-down boxes.
  • Click on Add to go to the ‘PRI Configuration’ page. 
2023-04-27_15h57_19
Note: This will create a specific TDM group for each DSO selected in the range. If this is not the desired behavior, changes will need to be made via the Command Line Interface

RBS Trunk Account Configuration 

Navigate to Voice > Trunk > Trunk Accounts
  • Trunk Name - name your T1 trunk (This name descriptive for the Adtran in the example below RBS T1 to PBX is used) 
  • Trunk Type - choose type T1 - RBS
  • Supervision - E&M Wink
  • Role - Network
  • click on Add - this will open the trunk configuration 
2023-04-27_16h13_51
Trunk Account Information
  • Reject External - Unchecked
  • DID - Select If DTMF digits are needing to be sent to the CPE when an inbound call is made
  • DID Digits - If Direct Inward Dialing is enabled, you need to specify the number of digits to be sent to the CPE on an inbound call
  • Resource Selection - The way that a DS0 is allocated for a call can be configured to be ‘Linear’ or ‘Circular’. With ‘Linear’ the lowest available DS0 is used. With ‘Circular’, the next DS0 in line is used. 
  • Click on Assign DS0s
2023-04-27_16h20_03
Check all of the DS0's to add to the Trunk Account 
Click on Add DS0s
2023-04-27_16h34_55

Configuring the T1 Trunk Group

Navigate to Voice > Trunk > Trunk Accounts
  • Group Name - name your SIP trunk (This name descriptive for the Adtran in the example below RBS T1 to PBX is used)   
  • click on Add - this will open the trunk configuration 
2023-04-27_16h48_27

  • On the next page select Add Members 
2023-04-27_16h51_33
  • Select the PRI Trunk
  • Click on Selected Trunks
2023-04-27_16h53_08

Permission Template
  • Click on Configure Templates
2023-04-27_16h54_29

  • Template - add the "$" wild card
  • Costs  - add a lower number than the SIP Trunk "5"
  • Click on Add
2023-04-27_15h27_10

Network - Changing the IP Address

Change The IP Address and default gateway on the ATA to the IP address given to you from the ISP provider  
Warning: if you are connecting straight to the ISP you will want to take steps to secure your ATA which will be covered later in the documentation

Default Route - Change this first so you do not lose network connectivity until you are ready to connect to the ISP

Navigate to Data > Default Gateway

  • Default Gateway - Enter the IP of the default gateway
  • Click on Modify
2023-04-27_17h05_20
Change IP Address for eth 0/1
Navigate to System > Physical Interfaces > eth 0/1 (or gi 0/1 if wanted in the TA 900 e series)
2023-04-27_16h57_01
IP Settings
IP Address - Enter the IP Address from the ISP
Subnet Mask - Enter the Subnet mask of the ISP network
2023-04-27_17h11_04
Set Media-Gateway
IP Address Type - Primary
Click on Apply and Save 
2023-04-27_17h20_42
Note: if this is an ATA with only one network interface (non e series) you will need to connect to the ISP and navigate to the new IP address or you can connect by assigning your device an IP address on the same network

Secure your ATA

Change your passwords

In order to change the password of the admin user you must either use the cli interface with SSH or you will need to download the configuration, change the password and save the configuration, then upload the configuration.  This can be done in Utilities > Configuration

Disable Unnecessary Services 

Navigate to System > IP Services 

  • Disable HHTP Server
  • Disable Telnet Server

2023-05-10_13h54_15

Add Firewall Security Zones and ACL's

Add a Security Zone

 Navigate to Data > Security Zones 

  • Click Add a Security Zone
2023-05-10_14h01_04

  • Name: Add a name for your security zone

2023-05-10_14h08_57

Add a Policy to the Zone for SIP Traffic
  • Click Add Policy Zone to 'Public'

2023-05-10_16h50_09

  • Choose policy type allow in the dropdown

2023-05-17_11h49_51

  • Policy Description: Enter a Description such as  "Allow SIP Trunks"
  • Destination Security Zone: In the Drop Down choose Public
  • Click on Apply (This will create an extended ACL that will be configured later)

2023-05-10_17h06_57

Add a second policy the Zone for Accessing the Adtran
  • Click Add Policy Zone to 'Public'
  • Choose policy type allow in the dropdown
  • Policy Description - Enter a Description such as  "Access Traffic"
  • Destination Security Zone - In the Drop Down choose Self Bound
  • Click on Apply (This will create an extended ACL that will be configured later)
2023-05-16_10h12_07

Configure Extended ACLs for the Policys

Navigate to Data > Security Policy > Public

Add Traffic Selectors to the SIP Traffic Security Policy

  • Click on Sip Traffic

2023-05-17_12h11_06
  • Scroll down and click on Add New Traffic Selector
2023-05-17_12h14_08
  • Protocol - Choose UDP in the drop down
  • Destination Ports - Check Specified and Choose Range in the drop down
  • Enter 10000 to 20000 (for RTP traffic)
  • Click on Apply
2023-05-16_09h12_49

Add 6 Traffic Selectors for Clearly IP SIP registration servers which are:
1.us-east.clearlyip.com 
2.us-east.clearlyip.com 
1.us-central.clearlyip.com
2.us-central.clearlyip.com
1.ca-east.clearlyip.com 
2.ca-east.clearlyip.com
  • Click on Add New Traffic Selector
  • Protocol - Choose UDP in the drop down
  • Source Host/Network - Choose Hostname 
  • Hostname - Enter 01.ca-east.clearlyip.com
  • Source Ports - Choose Specified
  • Choose Equal To in the drop down 
  • Enter 5060
  • Click on Apply
2023-05-16_09h10_41
After adding all of them your SIP Traffic Policy should look like the below Example:
2023-05-17_12h41_55

Add Traffic Selectors to the Access Traffic Security Policy

  • Click on Access Traffic
2023-05-17_12h44_53
  • Scroll down and click on Add New Traffic Selector
2023-05-17_12h14_08

Create a Selector for Ping
  • Protocol - Choose icmp in the drop down 
  • leave the rest set to Any
  • Click Apply
2023-05-17_12h48_23
Create a Selector for HTTPS
  • Click on Add New Traffic Selector
  • Protocol - Choose TCP in the drop down
  • Destination Ports -  Choose Well Known
  • Choose 443 -  https from the dropdown
  • Click Apply
2023-05-17_12h52_26
Note: if you want to secure this to specific IP addresses you can create a separate traffic selector for each IP address that you want to allow and fill in the Source Host /Network section with the ip or hostname you want to allow.
2023-05-17_12h58_12

Other Traffic Selectors you may want to enable temporarily or for specific IP addresses may include Well Known Destination ports for SSH or WWW
2023-05-17_13h02_16

Enable the Firewall

Once you are certain the Security Policies have the access you want allowed you can enable the firewall and assign the policy to an interface. 
Note:  All traffic that is not listed in the security policies will be blocked and you may need to use a console session to disable the firewall if you are locked out
Navigate to Data > Firewall > Firewall/ACLs 
Depending on your Adran type you may see Firewall mode or just an enable option
  • Check Enable and Apply or  All Traffic and Apply
2023-05-17_13h08_51 2023-05-17_13h08_18
Set the Security policy on the ethernet interface
Navigate to Data > Firewall > Security Policies 
  • choose the Security Zone from the dropdown   
2023-12-04_14h09_38

Save your configuration.
 



     RSS of this page