enturylink usiness sip trunking onfiguration guide for

28
CenturyLink Business SIP Trunking Configuration Guide For ShoreTel Voice Switch with ShoreTel 14.2 With Adtran SBC Copyright © 2015 by tekVizion PVS, Inc. All Rights Reserved. Confidential Information The information contained in this document is confidential and proprietary to tekVizion PVS, Inc. Its purpose is to communicate the overall strategy of an Interoperability Test Plan used by tekVizion Labs. This document is the property of, and is proprietary to tekVizion. It is not to be disclosed in whole or in part without the express written authorization of tekVizion, shall not be duplicated or used, in whole or in part, for any purpose other than to evaluate the proposed scope of testing under contemplation. TEKVIZION, TEKVIZION PVS, AND TEKVIZION LABS ARE TRADEMARKS OF TEKVIZION PVS, INC. FAST FORWARD IS A SERVICE MARK OF TEKVIZION. IN -15050

Upload: others

Post on 26-Feb-2022

13 views

Category:

Documents


0 download

TRANSCRIPT

CenturyLink Business

SIP Trunking Configuration Guide

For

ShoreTel Voice Switch with ShoreTel 14.2

With

Adtran SBC

Copyright © 2015 by tekVizion PVS, Inc. All Rights Reserved. Confidential Information The information contained in this document is confidential and proprietary to tekVizion PVS, Inc. Its purpose is to communicate the overall strategy of an Interoperability Test Plan used by tekVizion Labs. This document is the property of, and is proprietary to tekVizion. It is not to be disclosed in whole or in part without the express written authorization of tekVizion, shall not be duplicated or used, in whole or in part, for any purpose other than to evaluate the proposed scope of testing under contemplation. TEKVIZION, TEKVIZION PVS, AND TEKVIZION LABS ARE TRADEMARKS OF TEKVIZION PVS, INC. FAST FORWARD IS A SERVICE MARK OF TEKVIZION.

IN -15050

Property of tekVizion Labs, Inc. Version 1.1

Page 2

Table of Contents 1 Audience ................................................................................................................................................ 3

1.1 Introduction ..................................................................................................................................... 3 1.1.1 tekVizion Labs ......................................................................................................................... 3

2 SIP Trunking Network Components ...................................................................................................... 4 3 Hardware Components .......................................................................................................................... 5 4 Software Requirements ......................................................................................................................... 5 5 Features ................................................................................................................................................. 6

5.1 SIP Registration Method ................................................................................................................. 6 5.2 Features Supported ........................................................................................................................ 6 5.3 Features not supported .................................................................................................................. 6

6 Caveats and Limitations......................................................................................................................... 7 7 Configuration .......................................................................................................................................... 8

7.1 Configuration Checklist ................................................................................................................... 8 7.2 IP Address Worksheet .................................................................................................................... 8 7.3 Logging into ShoreTel Director ....................................................................................................... 9 7.4 Create Site ...................................................................................................................................... 9 7.5 SIP Trunk Configuration ............................................................................................................... 11

7.5.1 Create SIP Profile .................................................................................................................. 11 7.5.2 Add Trunk Group ................................................................................................................... 12 7.5.3 Digit Translation Table ............................................................ Error! Bookmark not defined. 7.5.4 Create Individual Trunks ....................................................................................................... 14

7.6 Users Configuration ...................................................................................................................... 14 7.6.1 User Group ............................................................................................................................ 16 7.6.2 Class of Service..................................................................................................................... 17 7.6.3 Individual Users ..................................................................................................................... 19

Property of tekVizion Labs, Inc. Version 1.1

Page 3

1 Audience This document is intended for the SIP Trunk customer’s technical staff and Value Added Reseller (VAR) having installation and operational responsibilities.

1.1 Introduction

This Configuration Guide describes configuration steps for CenturyLink IQ_SIP SIP Trunking to ShoreTel Voice Switch with ShoreTel 14.2 software. SIP Trunking using both ShoreGear 90 Hardware and ShoreTel’s Virtual Trunk Siwtch is described in this Guide.

1.1.1 tekVizion Labs tekVizion LabsTM is an independent testing and verification facility offered by tekVizion PVS, Inc. (“tekVizion”). tekVizion Labs offers several types of testing services including:

Remote Testing – provides secure, remote access to certain products in tekVizion Labs for pre-Verification and ad hoc testing

Verification Testing – Verification of interoperability performed on-site at tekVizion Labs between two products or in a multi-vendor configuration (“solution Verification”)

Product Assessment – independent assessment and verification of product functionality, interface usability, assessment of differentiating features as well as suggestions for added functionality, stress and performance testing, etc.

tekVizion is a systems integrator specifically dedicated to the telecommunications industry. Our core services include consulting/solution design, interoperability/Verification testing, integration, custom software development and solution support services. Our services helps service providers achieve a smooth transition to packet-voice networks, speeding delivery of integrated services. While we have expertise covering a wide range of technologies, we have extensive experience surrounding our FastForward>> practice areas which include: SIP Trunking, Packet Voice, Service Delivery, and Integrated Services. The tekVizion team brings together experience from the leading service providers and vendors in telecom. Our unique expertise includes legacy switching services and platforms, and unparalleled product knowledge, interoperability and integration experience on a vast array of VoIP and other next-generation products. We rely on this combined experience to do what we do best: help our clients advance the rollout of services that excite customers and result in new revenues for the bottom line. tekVizion leverages this real-world, multi-vendor integration and test experience and proven processes to offer services to vendors, network operators, enhanced service providers, large enterprises and other professional services firms. tekVizion’s headquarters, along with a state-of-the-art test lab and Executive Briefing Center, is located in the Telecom Corridor® in Plano, Texas. (For more information on tekVizion and its practice areas, please visit tekVizion Labs’s web site at www.tekVizionlabs.com.)

Property of tekVizion Labs, Inc. Version 1.1

Page 4

2 SIP Trunking Network Components

The network for the SIP Trunk reference configuration is illustrated below and is representative of a ShoreTel 14.2 configuration.

10.65.3.0/24

PSTN

CenturyLink Business VoIPCustomer Premise

SIP SIP

ShoreTel Voice Switch 9010.65.3.4

ShoreTel Server10.65.3.2

ShoreTel 485gDID:303-633-5744

10.65.3.127

ShoreTel 265DID: 303-633-5747

10.65.3.126

Fax/AnalogDID:303-633-5748

Adtran TA908e (3rd Gen eSBC)

LAN IP: 10.64.3.144WAN IP: 192.65.79.153

ShoreTel 560DID:303-633-5750

10.65.3.115

Total Access 900e

Century Link IQ_SIPNetwork

ShoreTel virtual Trunk Switch10.64.3.234

Figure 1 - SIP Trunk Lab Reference Network The lab network consists of the following components:

ShoreTel Server running Windows Server 2008.

ShoreTel Voice Switch 90 or ShoreTel virtual Trunk Switch

Various MGCP and SIP phones on the local LAN

Adtran TA908e, 3rd Gen eSBC as the demarcation point between customer’s LAN network and IQ_SIP WAN network.

Property of tekVizion Labs, Inc. Version 1.1

Page 5

3 Hardware Components ShoreTel Server

ShoreTel Voice Switch 90

ShoreTel virtual Trunk Switch running on ESXi 5.1

Analog fax machine

ShoreTel 560/485g/265 IP phones

Adtran TA908e (3rd Gen eSBC)

4 Software Requirements ShoreTel 14.2 Build 19.44.7901.0

Windows Server 2008 R2 SP1

Adtran AOS R10.9.6.E

Property of tekVizion Labs, Inc. Version 1.1

Page 6

5 Features

5.1 SIP Registration Method This test used a Static Registration Method between the ShoreTel PBX and IQ_SIP.

5.2 Features Supported

Basic calls with G711Ulaw

Call Hold and Resume

MOH-Music On Hold

Call Transfer

Call Forwarding

Three-Way Calling

DTMF RFC 2833

Calling Party Number Presentation

Calling Party Number Restricted

Hunt Group

Group Pickup

Call Park/un-park

Simul Ring

Call Forward – “FindMe”

Operator Assisted

Call Recording

Auto-Attendant

Conference Calls

Bridge Call Appearances (BCA)

Work Group

Office Anywhere External

Silent Monitor / Barge-In / Whisper Page

5.3 Features not supported See individual ITSP testplans.

Property of tekVizion Labs, Inc. Version 1.1

Page 7

6 Caveats and Limitations Music on Hold –

o With ShoreGear90, PBX sends media state as “sendonly”, IQ_SIP responds with “inactive” resulting in no MoH for PSTN callers.

Only G711 Pass through fax is supported. T.38 Fax calls were not successful. For T.38 Outbound

from ShoreTel, neither side initiates negotiation to T.38. For T.38 Inbound to ShoreTel, T.38 handshake is observed, but data transmission rate is not negotiated correctly.

Property of tekVizion Labs, Inc. Version 1.1

Page 8

7 Configuration

7.1 Configuration Checklist

In this section we present an overview of the steps that are required to configure ShoreTel PBX for SIP Trunking to IQ_SIP.

Table 1 – PBX Configuration Steps

Step Description Reference

Step 1 Log into ShoreTel Director Section 7.3

Step 2 Create Sites Section 7.4

Step 3 SIP Trunk configuration on ShoreGear 90 Section 7.5

Step 4 SIP Trunk configuration on virtual Trunk Switch Section 7.6

Step 5 Create User Section 7.7

Step 6 Sample Adtran Configuration Section 7.8

7.2 IP Address Worksheet The specific values listed in the table below and in subsequent sections are used in the lab configuration described in this document, and are for illustrative purposes only. The customer must obtain and use the values for your deployment.

Table 2-IP Address Worksheet

Component MSO Lab Value Customer Value

ShoreTel

ShoreTel Server 10.65.3.2 Unique to every deployment

ShoreTel Voice Switch 90 10.65.3.4 Unique to every deployment

ShoreTel virtual Trunk Switch 10.64.3.234 Unique to every deployment

IQ_SIP

LAN IP Address 10.64.3.144 Unique to every deployment

Property of tekVizion Labs, Inc. Version 1.1

Page 9

7.3 Logging into ShoreTel Director Note: The following sub sections are common to hardware based and virtual Trunk Switch. Section 7.5 is specific to ShoreGear 90 and Section 7.6 is specific to virtual Trunk Switch. From the Windows Server running on ShoreTel Server, locate the application ShoreTel Director and click on it. An IE window appears for login. Input proper username and associated password and then Login.

Figure 2 - ShoreTel Director

7.4 Create Custom Codec Lists and Site

7.4.1 Custom Codec Lists

Navigate to Call Control -> Codec Lists, Click on New button 1. Set Name: CenturyLink G729 codec list 2. Click on G729/8000 under Choose Codecs 3. Click on Add button, the selected codec should added under Codec List Members 4. Click on G729/8000 under Codec List Members and click on Move up ^ button 5. Click on Save

The final saved page should be as follows:

Property of tekVizion Labs, Inc. Version 1.1

Page 10

Figure 3: Create Custom Codec List

7.4.2 Site Navigate to Sites, select United States of America from drop-down menu and click Go.

1. Set Name: Headquarters. 2. Set Local Area Code: 303 is used in this test. 3. Set Bandwidth for Intra-Site Calls: Newly created Codec List CenturyLink which contains only

G729 codecs is given in this example. 4. Set Bandwidth for inter-Site Calls: Codec List CenturyLink is selected from the drop-down

menu. 5. Set Bandwidth for FAX and Modem Calls: default Codec List Fax Codecs – Low Bandwidth

Passthrough is selected from the drop-down menu. 6. Leave all other fields as default and click Save.

Property of tekVizion Labs, Inc. Version 1.1

Page 11

Figure 4 – Sites

7.5 SIP Trunk Configuration on ShoreGear 90 This section describes the ShoreTel configuration necessary to support connectivity to IQ_SIP’s SIP Trunking service.

7.5.1 Create SIP Profile SIP Profile is critical for SIP Trunking deployment. The default System Parameters were used to create the SIP Profile for this test.

Navigate to Trunks > SIP Profiles > New.

Figure 5 - SIP Profile

Property of tekVizion Labs, Inc. Version 1.1

Page 12

1. Set Name: CenturyLink. 2. Set User Agent: .* 3. Check Enable. 4. Leave all other fields as default. 5. Click Save.

Figure 6 - SIP Profile Cont.

7.5.2 Add Trunk Group Navigate to Trunks > Trunk Groups. Select Headquarters under site and SIP under type, then click Go.

1. Set Name: CenturyLinkTG. 2. Set Enable SIP Info for G711 DTMF Signaling: Un-checked. 3. Set Profile: SIP Profile CenturyLink created in previous step is selected from drop-down. 4. Set Digest Authentication: None is selected from drop-down. 5. Set Number of Digits from CO: 10 is used in this setup. 6. Set DNIS/DID: Checked. 7. Set Extension: UnChecked. 8. Set Outbound: Checked. 9. Set Access Code: 9 is used in this example. 10. Set Local Area Code: 303 is used in this setup. 11. Set Billing Telephone Number: Pilot number +13036335745 is used in this example. 12. Set Dial 7 digits for Local Area Code: Un-checked.

Property of tekVizion Labs, Inc. Version 1.1

Page 13

13. Leave all other fields as default and click Save.

Figure 7 - Trunk Groups

Property of tekVizion Labs, Inc. Version 1.1

Page 14

7.5.3 Create Individual Trunks Navigate to Trunks > Individual Trunks, Select Headquarters as Site and CenturyLinkTG as trunk group, click Go.

1. Set Name: IQ_SIP SIP trunk is used in this setup. 2. Set Switch: Shoregear 90 is selected. 3. Set IP Address: 10.65.3.144 which is the LAN IP Address of Adtran TA908e in this lab test. Please

contact IQ_SIP for your deployment. 4. Set Number of Trunks: 4 is given in this setup. 5. Click Save.

Figure 8 - Individual Trunks

7.6 SIP Trunk configuration on virtual Trunk Switch

Navigate to Trunks > Trunk Groups. Select Headquarters under site and SIP under type, then click Go.

1. Set Name: CenturyLink-vTG. 2. Set Enable SIP Info for G711 DTMF Signaling: Un-checked. 3. Set Profile: SIP Profile CenturyLink created in previous step is selected from drop-down. 4. Set Digest Authentication: None is selected from drop-down. 5. Set Number of Digits from CO: 10 is used in this setup. 6. Set DNIS/DID: Checked. 7. Set Extension: UnChecked. 8. Set Outbound: Checked. 9. Set Access Code: 9 is used in this example. 10. Set Local Area Code: 303 is used in this setup. 11. Set Billing Telephone Number: Pilot number +13036335745 is used in this example. 12. Set Dial 7 digits for Local Area Code: Un-checked. 13. Leave all other fields as default and click Save.

Property of tekVizion Labs, Inc. Version 1.1

Page 15

Figure 9 virtual Trunk Groups

7.6.1 Create Individual virtual Trunks Navigate to Trunks > Individual Trunks, Select Headquarters as Site and CenturyLink-vTG as trunk group, click Go.

6. Set Name: IQ_SIP SIP virtual trunk is used in this setup. 7. Set Switch: HQ-vTS-01 is selected. 8. Set IP Address: 10.64.3.144 which is the LAN IP Address of Adtran TA908e in this lab test. Please

contact IQ_SIP for your deployment.

Property of tekVizion Labs, Inc. Version 1.1

Page 16

9. Set Number of Trunks: 4 is given in this setup. 10. Click Save.

Figure 10 Individual virtual Trunks

7.7 Users Configuration

7.7.1 User Group Navigate to Users > User Groups > Add new The default Executives User Group is used for this test.

1. Set Name: Executives. 2. COS – Telephony: Fully Featured. 3. COS – Call Permissions: No Restrictions. 4. COS – Voice Mail: Medium Mail Box. 5. Send Caller ID as Caller’s Emergency Service Identification (CESID): Checked. 6. Send DID as Caller’s Emergency Service Identification (CESID): Checked. 7. Account Code Collection: Disabled. 8. Outgoing Trunk Groups (Access Code): CenturyLinkTG checked. 9. Music on Hold: Set to <ShoreTel> which is using File Based Music on Hold.

Property of tekVizion Labs, Inc. Version 1.1

Page 17

Figure 11 - User Group

Note: To use virtual Trunk Switch, have a check mark for CenturyLink-vTG in the above screen shot.

7.7.2 Class of Service Navigate to Users > Class of Service > Fully Featured. 1. Name: Fully Featured. 2. Set Max. Parties in Make Me Conference: 6 is set in this test. 3. Allow Call Pickup: Checked. 4. Allow Trunk-to-Trunk Transfer: Checked. 5. Allow Extension Reassignment: Checked. 6. Allow Recording of Own Calls: Checked. 7. Show Call History / Call Details: Checked. 8. Whisper Paging – Allow Initiation: Checked. 9. Whisper Paging – Accept: All is selected for this test. 10. Barge In – Allow Initiation: Checked. 11. Barge In – Accept: All is selected for the test. 12. Silent Monitor/Silent Coach Other’s Calls – Allow Initiation: Checked. 13. Silent Monitor/Silent Coach Other’s Calls – Accept: All is selected for this test. 14. Allow External Call Forwarding and Find Me Destinations: Checked. 15. Allow External Assignment: Checked. 16. Allow Additional Phones to Ring Simultaneously and to Move Calls: Checked. 17. Scope: All Calls is selected for the test. 18. Leave all other fields as default.

Property of tekVizion Labs, Inc. Version 1.1

Page 18

Figure 12 - Class of Service - Fully Featured

Property of tekVizion Labs, Inc. Version 1.1

Page 19

7.7.3 Individual Users Navigate to Users > Individual Users, select Headquarters as Site and then click Go.

1. Set First Name: CTL is used in this example. 2. Set Last Name: User1 is used in this test 3. Set Number: 144 is assigned to this user. 4. Set License Type: select Extension and Mailbox from drop-down. 5. Set Access License: Personal is selected for this test. 6. Set Caller ID: +13036335744 is assigned for this user, this DID was provided by IQ_SIP. 7. Set User Group: Previous configured User Group ExecutivesVirt is assigned

8. Set Primary Phone Port: Check IP Phones and select proper phone with MAC address. 9. Set Mailbox Server: server Headquarters is selected. 10. You can navigate to Personal Option and configure the phone buttons.

Figure 13 - Create User

Note: The screen shot above shows CTL User1 configured to user virtual Trunk Switch which was assigned to User Group: ExecutivesVirt

7.8 Sample Adtran TA908e (3rd Generation) eSBC configuration The configuration listed below is purely for illustration and reference purposes only. CenturyLink will provide a preconfigured eSBC and customer is not required/authorized to make any changes to it.

Property of tekVizion Labs, Inc. Version 1.1

Page 20

The following configuration has been used for ITSP Certification. The configuration has been altered where appropriate to protect secure elements. ! ! ! ADTRAN, Inc. OS version R10.9.6.E ! Boot ROM version R10.9.0 ! Platform: Total Access 908e (3rd Gen), part number 1243908F2 ! Serial number LBADTN1323AK744 ! ! hostname "TA908e3rdGenCTL" enable password encrypted 20285a622dddae815790edc67de5ba02a34b ! license key esbc-trial ! clock timezone -6-Central-Time ! ip subnet-zero ip classless ip routing no ipv6 unicast-routing ! ! domain-proxy name-server 205.171.3.65 ! ! no auto-config auto-config authname adtran encrypted password 23253f143cba17e90d7b16d61c9b89691d63 ! event-history on event-history priority debug no logging forwarding no logging console no logging email ! service password-encryption ! username "admin" password encrypted "414924cc10ed546e1fd03de59c00a79337ee" username "root" password encrypted "1c1489d070c831b270077af7485d29c9883c" ! ! ip firewall ip firewall stealth no ip firewall alg msn no ip firewall alg mszone no ip firewall alg h323 ! ! ! ! ! ! !

Property of tekVizion Labs, Inc. Version 1.1

Page 21

! no dot11ap access-point-control ! ! ! ! ! ! ip dhcp database local ip dhcp excluded-address 192.168.1.1 192.168.1.99 ! ip dhcp pool "PHONES" network 192.168.10.0 255.255.255.0 dns-server 205.171.3.65 205.171.2.65 netbios-node-type h-node default-router 192.168.10.1 option 66 ascii 65.115.22.141 option 42 ip 192.168.10.1 option 160 ascii http://xsp.itf.centurylink.com/dms/polytemplate option 157 ascii VLAN-A=10; ! ip dhcp pool "DATA" network 192.168.1.0 255.255.255.0 dns-server 192.168.1.253 192.168.1.252 netbios-node-type h-node default-router 192.168.1.1 ! ! ! ! ! ! ! ip crypto ffe ! ! ! ! qos map ONEFLEX 10 match precedence 5 priority percent 90 qos map ONEFLEX 20 match precedence 3 bandwidth percent 5 ! qos map RESETIPPREC 10 match precedence 1 match precedence 2 match precedence 3 match precedence 4 match precedence 5 match precedence 6 match precedence 7 set precedence 0 !

Property of tekVizion Labs, Inc. Version 1.1

Page 22

! ! ! interface eth 0/1 encapsulation 802.1q no shutdown ! interface eth 0/1.1 vlan-id 1 native ip address 192.168.1.1 255.255.255.0 ip access-policy DATA-LAN media-gateway ip primary no shutdown interface eth 0/1.10 vlan-id 10 ip address 192.168.10.1 255.255.255.0 ip access-policy VOICE-LAN media-gateway ip primary no shutdown ! interface eth 0/2 description NOT USED shutdown ! ! ! interface gigabit-eth 0/1 description GigE WAN to CenturyLink speed 1000 ip address X.X.X.X. 255.255.255.0 media-gateway ip primary traffic-shape rate 10000000 max-reserved-bandwidth 100 no shutdown no lldp send-and-receive ! ! ! ! interface t1 0/1 shutdown ! interface t1 0/2 shutdown ! interface t1 0/3 shutdown ! interface t1 0/4 shutdown ! ! interface fxs 0/1 no shutdown !

Property of tekVizion Labs, Inc. Version 1.1

Page 23

interface fxs 0/2 no shutdown ! interface fxs 0/3 no shutdown ! interface fxs 0/4 no shutdown ! interface fxs 0/5 no shutdown ! interface fxs 0/6 no shutdown ! interface fxs 0/7 no shutdown ! interface fxs 0/8 no shutdown ! ! interface fxo 0/0 no shutdown ! ! ! ! ! ! ! ! ip access-list standard CTLADMIN permit 207.225.133.0 0.0.0.255 permit 155.70.23.0 0.0.0.255 permit 155.70.39.0 0.0.0.255 permit 155.70.59.0 0.0.0.255 permit 155.70.141.0 0.0.0.255 permit 199.168.32.0 0.0.0.255 permit 199.168.33.0 0.0.0.255 permit 204.147.87.96 0.0.0.31 permit host 65.114.76.241 permit 192.168.1.0 0.0.0.255 ! ! ip access-list extended DATA-SUBNET permit ip 192.168.1.0 0.0.0.255 any ! ip access-list extended LOCAL permit ip 192.168.10.0 0.0.0.255 192.168.1.0 0.0.0.255 permit ip 192.168.1.0 0.0.0.255 192.168.10.0 0.0.0.255 ! ip access-list extended VOICE-SUBNET permit ip 192.168.10.0 0.0.0.255 any !

Property of tekVizion Labs, Inc. Version 1.1

Page 24

ip access-list extended VoIP-Signaling permit udp 198.36.149.0 0.0.0.255 any eq 5060 permit udp 67.14.0.0 0.0.255.255 any eq 5060 permit udp 198.36.141.0 0.0.0.255 any eq 5060 permit udp host 216.206.66.90 any eq 5100 permit udp host 10.65.3.4 any eq 5060 ! ! ! ! ip policy-class DATA-LAN allow list DATA-SUBNET self allow list LOCAL ! ip policy-class ONEFLEX allow list VoIP-Signaling self allow list CTLADMIN self ! ip policy-class VOICE-LAN allow list VOICE-SUBNET self allow list LOCAL ! ! ! ip route 0.0.0.0 0.0.0.0 X.X.X.X ip route 10.65.3.0 255.255.255.0 10.64.1.1 ! no tftp server no tftp server overwrite http server http secure-server no snmp agent no ip ftp server no ip scp server ip sntp server ip sntp server send-unsynced ! ! ! ! ! ! ! ! sip sip udp 5060 no sip tcp ! ! ! voice feature-mode network voice transfer-mode local voice forward-mode network ! !

Property of tekVizion Labs, Inc. Version 1.1

Page 25

! ! ! ! ! ! ! ! ! ! voice codec-list G711 codec g711ulaw codec g729 ! voice codec-list G729only codec g729 ! voice codec-list G711only codec g711ulaw ! voice codec-list FAXonly codec g711ulaw ! voice codec-list G711G729 codec g711ulaw codec g729 ! ! voice ani-list ALLANI ani $ ! voice ani-list FAXNumbers ani 3036335748 ! voice trunk-list PBX_TRUNKS trunk T10 trunk T20 ! voice trunk-list PROVIDER_TRUNKS trunk T01 trunk T02 ! ! voice trunk T01 type sip match dnis "*661" substitute "*61*" match dnis "*663" substitute "*63*" match dnis "*667" substitute "*67*" match dnis "*221" substitute "*21*" match dnis "*222" substitute "#21" match dnis "*440" substitute "#40" match dnis "*441" substitute "#41" match dnis "*776" substitute "#76" match dnis "*777" substitute "#77" match dnis "*443" substitute "#43" sip-server primary 216.206.66.90 udp 5100

Property of tekVizion Labs, Inc. Version 1.1

Page 26

domain "voip.centurylink.com" hmr Trunk1_Outbound out register XXXXX auth-name " XXXXX " password encrypted " XXXXX " trust-domain codec-list G711 both grammar from host domain grammar p-asserted-identity host domain grammar to host domain authentication username " XXXXX " password encrypted " XXXXX " transfer-mode network ! voice trunk T02 type sip sip-server primary 216.206.66.90 udp 5100 domain "voip.centurylink.com" hmr Trunk1_Outbound out trust-domain codec-list FAXonly both grammar from host domain grammar p-asserted-identity host domain grammar to host domain authentication username " XXXXX " password encrypted " XXXXX " transfer-mode network ! voice trunk T10 type sip sip-server primary 10.65.3.4 trust-domain codec-list G711G729 both grammar from host local transfer-mode network ! voice trunk T20 type sip sip-server primary 10.65.3.4 trust-domain codec-list FAXonly both grammar from host local transfer-mode network ! ! voice grouped-trunk CUSTOMER_SIP trunk T10 accept $ cost 0 ! ! voice grouped-trunk IQ_SIP resource-selection circular trunk T01 accept NXX-NXX-XXXX cost 0 accept 1-NXX-NXX-XXXX cost 0 accept 011-$ cost 0 accept 411 cost 0 accept 611 cost 0 accept 911 cost 0 accept *$ cost 0 accept $ cost 0 deny list FAXNumbers

Property of tekVizion Labs, Inc. Version 1.1

Page 27

permit list ALLANI !deny all other trunks !deny all other ani ! ! voice grouped-trunk CUSTOMER_SIP_FAX trunk T20 accept 3036335748 cost 0 ! ! voice grouped-trunk IQ_SIP_FAX resource-selection circular trunk T02 accept NXX-NXX-XXXX cost 0 accept 1-NXX-NXX-XXXX cost 0 accept 011-$ cost 0 accept 411 cost 0 accept 611 cost 0 accept 911 cost 0 accept *$ cost 0 accept $ cost 0 permit list FAXNumbers !deny all other trunks !deny all other ani ! ! ! ! ! ! ! ! ! sip privacy ! ! ! ! ! ! ! ! ! ! ! ! ! ! sip qos dscp 24 ! sip hmr MyPolicy in ! ! ! ip rtp symmetric-filter

Property of tekVizion Labs, Inc. Version 1.1

Page 28

ip rtp media-anchoring ip rtp media-anchoring qos dscp 40 ! ! hmr policy Trunk1_Outbound rule-set Add_PAI_Trunk1 10 ! ! hmr rule-set Add_PAI_Trunk1 message-rule Initialize_Variables message-type request 10 set private-variable Add_PAI new-value false 10 message-rule Remove_Existing_PAI message-type any 15 remove header p-asserted-identity position all 10 message-rule Check_For_PAI_Candidates message-type request 20 set private-variable Add_PAI header sip-req-uri position first match-value "/^INVITE /" new-value true 10 message-rule Add_PAI_If_Needed message-type request 30 match private-variable Add_PAI match-value true add header p-asserted-identity position first new-value /<sip:%public.Privacy_Prefix_2%@voip.centurylink.com>/ 10 ! ! hmr set public-variable Privacy_Prefix_2 new-value " XXXXX " ! ! line con 0 login local-userlist ! line telnet 0 4 login local-userlist no shutdown line ssh 0 4 login local-userlist no shutdown ! sntp server 205.171.202.25 ! ! ! ! end