Académique Documents
Professionnel Documents
Culture Documents
May 2005
70
Module 5: Agenda
BroadWorks Network Server
Brief review of Network Server
Redundancy
Overview and implementation
SIP/MGCP Overview
SIP redirect message
Network Elements
Hosting and resource network elements
Advanced Feature
Configurable policy precedence
71
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
71
Module Objectives
At the end of this module, you will be able to:
Explain the Network Server SIP Redirection function Explain the Network Server Media Server Selection function Understand Policies, Policy Instances and Profiles Understand the difference between Public and Private policies Understand Network Server call processing flow Explain the function of Public and Private policies
72
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
72
73
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
73
Network Server
Network Devices
SIP
CLI
NS1
Telne t/SSH
NS2
Web Browser
HTTP
/SSL
SIP
AS1
74
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
SIP
AS1
Centralized Routing
E.164 and URL supported transaction-based system. Enterprise voice VPN services. Policy-based routing. Acts as SIP redirect server: 302 Moved Temporarily. Translations and routing.
Management
Multi-location enterprise portal. Self-service and private dial plan management.
Location Register
SyncAPI maps user or group addresses to owning Application Server.
SIMPLE Support
Supports Windows Messenger communications.
74
DB
DB
ttR
EP ttR
ttR EP
EP ttR
EP
DB
DB
DB
75
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
Redundancy
Network Servers are deployed in an N+1 configuration for redundancy. Network Server provides IP interface redundancy.
Scalability
Network Servers are independent of one another. Each Network Server has its own image of the data and can be used to add new data.
Data Replication
Network Server is delivered with the commercial database, TimesTen. When a change occurs in a server, data is automatically replicated to the other Network Server databases. Replication ensures consistency between servers.
Load Balancing
Load balancing ensures distributed usage of the Network Servers in a configuration and also permits Network Servers to operate in failover mode. Load balancing between Network Servers is performed through route list management; Application Servers use a pre-defined route list or a DNS-returned route list.
75
Enterprise administrator
76
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
Levels of Access
System provider Accesses and manages all Network Server information. Performs system maintenance and management, maintains system and subscriber security, and monitors system events. Sets system-wide service and interface parameters to configure public routing and translations functionality and configure network elements. Creates and manages enterprise private policies. Customizes and brands the BroadWorks interface. Group provisioning administrator Management access to subscriber management level. No access to system information and policies. Enterprise administrator Access to information related to a specific enterprise. Views enterprise and groups attributes associated with enterprise. Manages private policies. Verifies private policies.
76
Network Server Network element: Application Server Network gateway Private gateway Softswitch
INVITE (to, from)
77
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
Network Server
Provides a centralized repository of IP telephony routing information. Maintains a topology of the network allowing flexible routing policies. Policy-driven engine to determine destinations: location register, centralized routing. Translations are DN-driven (E.164 encoding is imposed). Transaction based (stateless).
77
INVITE sip:2403649257@192.168.5.101;user=phone SIP/2.0 Via:SIP/2.0/UDP 192.168.5.100;branch=z9hG4bK-BroadWorks.192.168.5.100-192.168.5.101V5060-0-557386564793232821-1085594015366 From:"grp_4 Test2"<sip:+12403649253@192.168.5.100;user=phone>;tag=793232821-1085594015366 To:<sip:2403649257@192.168.5.101;user=phone> Call-ID:BW13533503652605040226336760090@192.168.5.100 CSeq:557386564 INVITE Contact:<sip:192.168.5.100:5060> Network Server
SIP/2.0 302 Moved temporarily Via:SIP/2.0/UDP 192.168.5.100;branch=z9hG4bK-BroadWorks.192.168.5.100-192.168.5.101V5060-0-557386564793232821-1085594015366 From:"grp_4 Test2"<sip:+12403649253@192.168.5.100;user=phone>;tag=793232821-1085594015366 To:<sip:2403649257@192.168.5.101;user=phone> Contact 1 Call-ID:BW13533503652605040226336760090@192.168.5.100 CSeq:557386564 INVITE Contact:<sip:2403649257@192.168.5.100:5060;user=phone>;q=0.5;ct=LO;ton=PUBLIC;cat=LOCAL,<sip:2403649257 @192.168.5.107:5060;user=phone>;q=0.25;ct=LO;ton=PUBLIC;cat=LOCAL Contact 2
78
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
78
Groups/Users/Enterprises
HostingNE HostingNE Association Association Users Users (DNs, (DNs, URLs) URLs)
Group1 Group1
HostingNEs HostingNEs
Interconnection Interconnection support support for for users users AppServer, AppServer, Private Private Gateway Gateway (AS5350) (AS5350)
ResourceNEs ResourceNEs
Available Available network network resources resources Media Media Server Server SIMPLE SIMPLE Proxies Proxies
79
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
Network Topology
Network topology must be known by the Network Server to return a contact for calls from the network elements. Users and their groups must be known to the Network Server to return a contact for their calls to proceed.
79
80
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
80
Policy Instance
Call Type EM
Enterprise/ Group/NE
Enterprise Enterprise
NE NE
Group Group
81
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
Policy
Set of rules used to translate or route a call. Can be network-wide or specific to an enterprise. Usually has configuration information that customizes the policy, thereby creating a policy instance.
Policy Instance
Customization of a policy. Used to provide a specific type of processing, for example, on-net routing. Public policy instances can be grouped to create a routing profile which can be assigned to enterprises, groups, HostingNE, or RoutingNE. Private policy instances are assigned to an enterprise.
81
Policy Instance
Call Type EM
Profile
Profile 1
Profile 2
Enterprise/ Group/NE
Enterprise Enterprise
NE NE
Group Group
82
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
82
Policy
EXT Dialing
Voice
VPN
Policy Instance
EXT Dialing
EXT Dialing
Voice VPN
Enterprise
Enterprise Enterprise A A Enterprise Enterprise B B
83
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
83
Groups/Users/Enterprises
Group1 Group1
HostingNEs HostingNEs
Public Public Routing Routing Profile Profile
Enterprise 1
ResourceNEs ResourceNEs
Not Not Applicable Applicable
Group2 Group2
84
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
84
Order
1 2
Policy
Private Extension Dialing Voice VPN Originator Redirect Pre-Call Typing Call Typing Enterprise Subscriber Location (enterprise policy) Number Portability Subscriber Location Far-End Hop-Off (enterprise policy) Call Screening Enterprise NGW Routing (enterprise policy) Service Center Routing Rate Based Routing Equal Access Far-End Routing Near-End Routing Tandem Overflow Network URL Dialing (Invite) Private SIMPLE (Subscribe and Message) SIMPLE (Subscribe and Message) Enterprise Media Server Selection Media Server Selection
Public Policies
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
URL-Dialed Calls
1 2 3
MSS Call
85
1 2
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
85
86
PolicyPrecedence
NS_CLI/System/CallP/PolicyPrecedence> set policy NearEndRtg after SvcCtrRtg [Warning 12345] This change may adversely impact call processing and could cause call failures. Please verify that the new policy precedence allows your Network Server to properly route calls. Please confirm (Yes, Y, No, N): y
87
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
Set
<attribute>, Choice = {defaultAll, policy} policy: <name>, Choice = {CallScreening, CallTyping, EntMediaSrvSel, EntNGWRouting, EntSIMPLE, EntSubLocation, EqualAccess, ExtDialing, FarEndHopOff, FarEndRtg, MediaSrvSel, NearEndRtg, NumberPortability, OrigRedirect, PreCallTyping, SIMPLE, SubLocation, SvcCtrRtg, TandemOverflow, UrlDialing, voiceVPN} <action>, Choice = {after, before, default} after: <name>, Choice = {CallScreening, CallTyping, EntMediaSrvSel, EntNGWRouting, EntSIMPLE, EntSubLocation, EqualAccess, ExtDialing, FarEndHopOff, FarEndRtg, MediaSrvSel, NearEndRtg, NumberPortability, OrigRedirect, PreCallTyping, SIMPLE, SubLocation, SvcCtrRtg, TandemOverflow, UrlDialing, voiceVPN} before: <name>, Choice = {CallScreening, CallTyping, EntMediaSrvSel, EntNGWRouting, EntSIMPLE, EntSubLocation, EqualAccess, ExtDialing, FarEndHopOff, FarEndRtg, MediaSrvSel, NearEndRtg, NumberPortability, OrigRedirect, PreCallTyping, SIMPLE, SubLocation, SvcCtrRtg, TandemOverflow, UrlDialing, voiceVPN}
87
Call Processing
Incoming Call Call Setup Phase Private Processing A
Private Calls
Public Calls
Call Typing Phase Screening Phase On-Net Routing A Off-Net Routing Treatment Phase
302
Response Phase
4xx or 5xx
Outgoing Call
88
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The Network Server call processing model is based on a multi-stage approach; phases are mapped to one or more policies.
Call Setup
Maps incoming call to enterprise/routing element. Identifies public profile enterprise/routing element. Identifies private policies associated with enterprise.
Private Processing
Applies private policies associated with enterprise. No match, call may or may not continue to public processing depending on permissive/nonpermissive setting.
Public Processing
Applies public policies associated with selected profile.
88
Configuration Example
Cisco 53xx NGW
RoutingNE: ngw1 192.168.2.133
Media Server
NGW
Media Server
Network Server
NGW
PSTN
Legacy PBX
Application Server
HostingNe: as1 192.168.5.180
NGW
PSTN
NGW IAD IAD
Site=SITE1
PBX
ENT1/GRP1
301 977-7xxx
ENT1/GRP2
240 364 4xxx
ENT1/GRP3
301 977 2xxx
89
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
89
Configuration Steps
Step 1: Basic Network Server Configuration
Network Server identity
90
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
90
91
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
91
Public Policies
Service provider policies
Pre-Call Typing (CallTyping) Call Typing (CallTyping) Call Screening (CallScreening) Number Portability (NumberPortability) Subscriber Location (SubLocation) Originator Redirection (OrigRedirect) Service Center Routing (SvcCtrRtg) Rate Center Based Routing (RCBasedRtg) Equal Access (EqualAccess) Far-End Routing (FarEndRtg) Tandem Overflow (TandemOverflow) Near-End Routing (NearEndRtg)
92
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
Translations
Routing
Translation policies determine the call type and category of the call. Call types can either be system- or user-defined. System-defined call types are mandatory and are always added back, if deleted. User-defined call types are added by a system provider and can be referred to from policies with flexible call type support.
Call Categories
There are five call categories that are subsets of call types: Local Intra-LATA/National (Call within a LATA) International Inter-LATA (calls between two LATAs) Other Routing policies determine the contact(s) to return in the 302 SIP message.
92
93
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The Call Typing policy uses the Dial Plan of the country code set at installation. This policy then looks at the dial plan to determine the call type, if it matches the selection parameter it will continue with the call routing procedure. If not it returns a treatment.
93
Please confirm (Yes, Y, No, N): y Retrieving data... Please wait... CC Dial Plan From To Match Min Max Call Type Prefix Action Description ================================================================================================================ = 1 NADP 0 0 exact 1 1 OA 0 Operator Assisted 1 NADP 00 00 exact 2 2 POA 0 PIC1 Operator Assisted 1 NADP 001 010 prefix 3 30 TRMT 0 TRMT=invld 1 NADP 011 011 prefix 4 30 IN 3 International 1 NADP 012 019 prefix 3 30 IN 2 Intl Operator Assisted (so IN, not OA) 1 NADP 02 0310 prefix 8 11 OAP 1 Operator Assisted Long-Distance 1 NADP 0311 0311 prefix 3 30 EM 0 REPLACE(311) Emergency police 1 NADP 0312 0910 prefix 8 11 OAP 1 Operator Assisted Long-Distance 1 NADP 0911 0911 prefix 4 30 EM 0 REPLACE(911) Emergency 1 NADP 0912 099 prefix 11 11 OAP 1 Operator Assisted Long-Distance 1 NADP 101 101 prefix 8 25 DP 7 CAC=[4-7],DP=NADPCAC Equal Access 1 NADP 102 109 prefix 3 30 TRMT 0 TRMT=invld 1 NADP 11 11 prefix 2 30 TRMT 0 TRMT=invld 1 NADP 1200 1200 prefix 8 11 TO 1 Service Access Code (???) 1 NADP 1201 1210 prefix 8 11 TO 1 Toll - Validated by Call Screening
NS_CLI/System/CallP/CountryCodes/DialPlan/Entry>> add 1 NADP 18009999999 18009999999 TF 11 11 TRMT Block Toll Free to 18009999999"
94
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
Dial Plans
The Network Server is delivered with default public dial plans and provides support for the public North American Dial Plan (all NA call types). System providers can build their own public dial plan or customize an existing one using the CLI. Dial plans are applied based on the country code of NE that originated the INVITE. When the INVITE terminating DN is a global E.164 number (starts with a +), this policy causes the call processing to jump from the current instance to another specified Call Typing instance which handles E.164 DNs with no prefix. The add command and the following fields are used to add an entry to the dial plan: Field DialPlanID *From/*To Match Description A dial plan name used to assemble a collection of from-to digit ranges. Digit sequence defining the beginning/end of a range of digits. CountryCode Specifies the country code for which a dial plan entry applies.
Defines the scope of from-to range. Prefix means that this entry applies if the called party number starts with digits matching from-to range. Suffix means that this entry applies if the called party number ends with digits matching from-to range. Exact means that this entry applies if the called party number is identical from-to number. CallType Prefix Call type to be set if the incoming digit sequence is included in the range defined by from-to, and has a length between Min and Max. The prefix to be set, if the incoming digit sequence is included in the range defined by the from-to, and has a length between Min and Max. The prefix indicates the number of prefix digits to ignore. Minimum/maximum length of a digit sequence for the rule to apply. Describes: Actions to be taken by the translation (run-time). Extra conditions on digit pattern matching. Short description of the expected behavior for the given digit range.
to
94
95
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The Call Screening Policy has been designed to work with the North American Numbering Plan. It validates that the call type found by the Call Typing policy is coherent with NPA/NXXs implied in the call. Knowing the NPANXX of the originator and at least the NXX of the terminator, the Call Screening policy searches the NNACL (NPA/NXX Active Code List) and LCA (Local Calling Area file) database to determine the category of the call (local, intra-LATA toll, and interLATA). It then checks if the call type found by the Call Typing Policy is valid based on the dialed digits.
95
LCA(2) *Active* -----Name: GBURG.lca Status: File Loaded Row(s): 256 Date: Sep 1, '04 at 10:42 AM
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
96
NS_CLI/Policy/NumberPortability> ? 1) add : add a new NumberPortability instance 2) set : modify NumberPortability instance-related attributes 3) delete : delete an existing NumberPortability instance 4) portedOutNumbers : go to level portedOutNumbers 5) portedInNumbers : go to level portedInNumbers h (help), e (exit), q (quit), r (read), w (write), t (tree), c (config), cd (cd), a (alias), hi (history), p (pause), re (repeat)
97
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
NS_CLI/Policy/NumberPortability/portedInNumbers> get DefaultInst Policy: NumberPortability Instance: DefaultInst Table: PortedInNumbers PortedInNumber 15145552222 PublicNumber 1555553333 ====================================
97
If the call type of the call matches the selection call type and the terminating number is known by the Network Server it returns its hosting NE as the contact.
98
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
98
NS_CLI/Policy/SvcCtrRtg> add Inst_1 true CallTypes EM DA NS_CLI/Policy/SvcCtrRtg> get Inst_1 Policy: SvcCtrRtg Instance: Inst_1 CallTypes: Selection = {EM, DA} From = {CSV, SV, TRMT, CT, LPS, MS, PCS, TPS, DP, OAP, TO, LO, IN, EM, NIL, ALL, TF, FGB, DA, EA, OA, POA} Enable = true
99
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
99
100
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
100
101
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
101
NS_CLI/Policy/RCBasedRtg> add DefaultInst true CallTypes EM NS_CLI/Policy/RCBasedRtg> get Policy: RCBasedRtg Instance: DefaultInst
NS_CLI/Policy/RCBasedRtg> get DefaultInst Policy: RCBasedRtg Instance: DefaultInst CallTypes: Selection = {ALL} From = {MS, TO, LPS, LO, NIL, CT, DP, TF, OA, TPS, CSV, PCS, ZD, ALL, EA, OAP, TRMT, DA, EM, SV, FGB, IN, POA} Enable = true
102
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
102
103
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
103
104
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
104
NS_CLI/Policy/EqualAccess> get DefaultInst Policy: EqualAccess Instance: DefaultInst addCICasCAC = false CallTypes: Selection = {TO, CT, OA, CSV, OAP, IN, POA} From = {MS, TO, LPS, LO, NIL, CT, DP, TF, OA, TPS, PCS, CSV, ZD, ALL, EA, OAP, TRMT, DA, EM, SV, FGB, IN, POA} CicAlways = false Enable = true BlockUnknownCac = false
105
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
105
106
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
106
NS_CLI/Policy/FarEndRtg> get DefaultInst Policy: FarEndRtg Instance: DefaultInst Overflow = false LocationRouting = false CallTypes: Selection = {TO, IN} From = {CSV, SV, TRMT, CT, LPS, MS, PCS, TPS, DP, OAP, TO, LO, IN, EM, NIL, ALL, TF, FGB, DA, EA, OA, POA} Enable = true
NS_CLI/Policy/NearEndRtg> get DefaultInst Policy: NearEndRtg Instance: DefaultInst LocationRouting = false CallTypes: Selection = {ALL} From = {CSV, SV, TRMT, CT, LPS, MS, PCS, TPS, DP, OAP, TO, LO, IN, EM, NIL, ALL, TF, FGB, DA, EA, OA, POA} Enable = true
107
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
107
Network elements must first be provisioned on the Network Server before the route list can be built.
108
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
108
109
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
109
NS_CLI/Policy/UrlDialing> get DefaultInst Policy: UrlDialing Instance: DefaultInst CallTypes: Selection = {ALL} From = {MS, TO, LPS, LO, NIL, CT, DP, TF, OA, TPS, PCS, CSV, ZD, ALL, EA, OAP, TRMT, DA, EM, SV, FGB, IN, POA} Enable = true
110
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
Call Routing
Upon URL dialing call origination, the Application Server sends the call with an unknown alias to the Network Server. The Network Server then looks up in its table of URLs to identify the subscriber location. If the subscriber is found, a 302 (moved temporarily) is returned to the originating Application Server with the new destination attached using the maddr parameter. If the subscriber is not found, a 302 is still sent but with the original targeted domain as the new destination. The add command and the following fields are used to add an instance: instance Enable CallTypes The name of the instance for this policy. false true The instance is not active (off). The instance is active (on).
110
111
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
111
Incoming
Network Server
Outgoing
PROTOCOL:MSSelection TRANSACTIONID:2410@12.39.208.194 TYPE:RESPONSE COMMAND:SelectMS SELECTEDMS:12.39.208.195:5679 SELECTEDMS:66.201.233.59:5679 112
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
112
NS_CLI/Policy/MediaSrvSel> get DefaultInst Policy: MediaSrvSel Instance: DefaultInst CallTypes: Selection = {ALL} From = {CSV, SV, TRMT, CT, LPS, MS, PCS, TPS, DP, OAP, TO, LO, IN, EM, NIL, ALL, TF, FGB, DA, EA, OA, POA} Enable = true
113
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
113
Public Profiles
NS_CLI/Policy/Profile> add Hosting NS_CLI/Policy/Profile> add Hosting CallTyping DefaultInst NS_CLI/Policy/Profile> add Hosting CallScreening DefaultInst NS_CLI/Policy/Profile> add Hosting SubLocation DefaultInst NS_CLI/Policy/Profile> add Hosting SvcCtrRtg Inst_1 NS_CLI/Policy/Profile> add Hosting MediaSrvSel DefaultInst NS_CLI/Policy/Profile> add Hosting NearEndRtg DefaultInst NS_CLI/Policy/Profile> add Hosting EqualAccess DefaultInst NS_CLI/Policy/Profile> get profile Hosting Profile: Hosting Policy Instance ========================================== SvcCtrRtg Inst_1 MediaSrvSel DefaultInst CallTyping DefaultInst CallScreening DefaultInst SubLocation DefaultInst NearEndRtg DefaultInst EqualAccess DefaultInst
114
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
Public Profiles
Profiles can be assigned to network elements, enterprises, and groups. Policy instances are grouped together in a profile to be assigned. The add command and the following fields are used to add an instance: profile policy instance The name of the profile. The name of the new policy. The name of the profile policy instance.
114
115
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
For the RoutingNE profile: The CallTyping policy is used to set the call type. The SubLocation policy is used to allow incoming PSTN calls to terminate to hosted users. The MediaSrvSel policy is used by the Network Server for Media Server selection.
115
1. Log in to the Network Server as bwadmin. 2. Log in to the BroadWorks command line interface level as admin. 3. Teams 1, 2, 3, and 4, create the following team-specific policy instances under the corresponding NS_CLI/Policy level. 4. Teams 5, 6, 7, 8, and 9 create the following team-specific policy instances under the corresponding NS_CLI/Policy level.
Policy Name SvcCtrRtg FarEndRtg Instance Name INST_<Team#> INST_<Team#> Applicable Call Types EM, DA TO
5. Under NS_CLI/Policy/FarEndRtg level, ensure that location routing is disabled for your FarEndRtg policy instance. 6. Under NS_CLI/Policy/Profile level, each team creates a public profile called HOST_<Team#> and assigns the following policies and policy instances. Under NS_CLI/Policy/Profile level, each team creates a Routing NE public profile called ROUTE_<Team#> and assigns the following policies and policy instances.
Policy Name SvcCtrRtg FarEndRtg Instance Name INST_<Team#> INST_<Team#> Applicable Call Types EM, DA IN
7. Under NS_CLI/Policy/Profile level, each team creates a Routing NE public profile called ROUTE_<Team#> and assigns the following policies and policy instances.
116
117
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
117
118
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The add command and the following fields are used to add a hosting network element: hostNe The network element name. profile The profile to be used for this hosting NE. dfltEnterprise Used to temporarily map a default enterprise name on the Network Server when user data is uploaded from the Application Server. dfltRoutingEnterprise Used to temporarily map a default routing enterprise name on the Network Server when user data is uploaded from the Application Server. dfltSite Used to temporarily map a default site on the Network Server when user data is uploaded from the Application Server. dfltRoutingSite Used to temporarily map a default routing site on the Network Server when user data is uploaded from the Application Server. countryCode The country code. signaling One of the following: NONE: No signaling defined. E164Compliant: The NE supports E.164. PhoneContext: The NE supports phone-context. Forking: The NE supports forking. CallTypeInfoRequired: The NE requires the call type info to be sent back as part of the 302 contacts returned by the NS. sourceId: The NE supports Originating Trunk Groups. poll True or false: Allows the Network Server to poll another device. state Offline or online: Sets the state of the device. type BroadWorks or other: Indicates the type of device.
118
Ensure that all hosting network elements are provisioned for the network
119
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
Once the network element is provisioned on the network it must have an address provisioned for it. The add command and the following fields are used to add a network element: hostNE nodeID address type The name of the network element. Cluster member ID. Default is 0. The corresponding IP address, or host name, or domain name for the network element. One of the following: DualRouting: The address is a SIP signaling address. It can be added to the contact list from a returned 302 following a SIP request. Access: The address is a public address used for Location API. Signaling: This address is public and also a SIP signaling address at the same time. It will be returned for SIP and location API requests. Alias: Alias of hosting NE used for the Sync API. cost weight The associated cost code for the network element Given the same cost, network elements will be randomly listed according to weight with a higher weight appearing more often at the top. The port number.
port
119
120
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
120
121
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The add command and the following fields are used go add a routing network element: ne location cost weight profile poll state signaling The network element name. The physical location of the network element in the network. The associated cost code for the network element. Given the same cost, network elements will be randomly listed according to the weight with a higher weight appearing more often at the top. The profile to be used for this routing network element having precedence over the system profile. True: Allows the Network Server to poll another device. False: Polling is turned off. Offline: When set to offline, no calls are routed to this NE Online: When set to online, calls will be routed to this NE. One of the following: NONE: No signaling defined. E164Compliant: The target device supports E.164 encoded PhoneContext: The target device supports phone-context. Forking: Target device supports forking. InboundOnly: The device is only used for sending calls in the in bound directory. UseOrigBasedScreening: Use the call category from call screening (Caller to Called number) instead of the call category from the RoutingNE to the called number. information.
121
NS_CLI/System/Device/ResourceNE/Address> add ms1 192.168.5.180 1 99 5060 NS_CLI/System/Device/ResourceNE/Address> add ms2 192.168.5.185 1 99 5060
122
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The add command and the following fields are used to add a new resource network element: neName neType location The resource network element name. ms: The device is a Media Server. SIMPLE: The device is a SIMPLE-based messaging server. The physical location of the resource network element in the network. processing staticCost The static cost for the resource network element used in the postfor a V&H lookup. staticWeight The static weight for the resource network element used in the post-processing for a V&H lookup. poll state default True or false: Allows the Network Server to poll another device. OffLine: The resource network element is off line and not available. OnLine: The resource network element is on line and is available. defaultCost: The default cost used in the post-processing of the default resource network element list. defaultWeight: The default weight used in the post-processing of the default resource network element list. To add network element address attributes, enter: add neName, address, cost, weight, port. neName address cost weight port The name of the resource network element. The corresponding IP address, or host name, or domain for the resource NE. The associated cost code for the resource network element. The weight assigned to the The resource network element port number.
122
123
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The add command and the following fields are used to add a new routing list: instance ms from/to service The name of the instance for this policy. The name of the Media Server to which this instance applies. Digit sequence defining the beginning/end of a range of digits. One of the following: ivr: This is interactive voice response. conf: This is a conference repeater. fax: This is a fax. liveAudio: This is a live audio source. all: The routing entry applies to all possible media services. cost weight The associated cost code for the route. The relative value (user defined) to randomize distribution of traffic along this route.
The add command and the following fields are used to add a new Media Server network element: ms service cost weight The Media Server name. See service description listed above. The associated cost code for the Media Server. Given the same cost, Media Servers are randomly listed according to the weight with a higher weight appearing more often at the top. routingNE The name of the routing network element.
123
NS_CLI/System/Device/RoutingNE/Routing> get Retrieving data... Please wait... NE From To Cost Weight Tags Far-end Category Far-end DMI Near-end DMI =============================================================================== ngw1 10 1240363 1 99 {} NATIONAL -1 (NO_DMI) -1 (NO_DMI) ngw1 1240364 1240364 1 99 {} OTHER -1 (NO_DMI) -1 (NO_DMI) ngw1 1240365 1301976 1 99 {} NATIONAL -1 (NO_DMI) -1 (NO_DMI) ngw1 1301978 19 1 99 {} NATIONAL -1 (NO_DMI) -1 (NO_DMI) ngw2 2 9 1 99 {} INTERNAT -1 (NO_DMI) -1 (NO_DMI) ngw2 1301977 1301977 1 99 {} OTHER -1 (NO_DMI) -1 (NO_DMI)
124
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The add command and the following fields are used to add a network element route: neString from to cost weight tag The network element name. The starting phone number of the range. The ending phone number of the range. The associated cost code for the phone number range. The relative value to randomize distribution of traffic. For future use. LOCAL NATIONAL INTERLAT INTRALAT INTERNAT PRIVATE OTHER farendDMI nearendDMI This allows a route to be flagged as local. This allows a route to be flagged as national. This allows a route to be flagged as inter-LATA. This allows a route to be flagged as intra-LATA. This allows a route to be flagged as international. This allows a route to be flagged as private. This allows a route to be flagged as other.
EMERGENCY This allows a route to be flagged as emergency. The digit manipulation index allowing digit manipulation on the routing entry. The digit manipulation index allowing digit manipulation on the routing entry.
124
End-User Management
NS_CLI/SubscriberMgmt/Enterprise/UserGroup> add Grp1 PBX1 enterprise Ent1 User Group Grp1 Hosting NE PBX1 Description Enterprise Profile Intra-LATA PIC Inter-LATA PIC International PIC InDM
= = = = = = =
Can set incoming dialed digit manipulation that will be applied to the entire group
125
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The add command and the following fields are used to add a group. groupId hostNE attribute The ID of the user group. The network element hosting the user group. enterprise profile lcaid intraPic interPic intlPic InDM sourceId The enterprise to which the user group belongs. The routing profile to be used by the user group. The LCA name. The carrier to be used for intra-LATA calls. The carrier to be used for inter-LATA calls. The carrier to be used for international calls. The digit manipulation algorithm for incoming calls to the user group. The originating trunk group (OTG). This is another means of identifying an enterprise, user group or site in the system. The same sourceID can be used to identify many enterprises, groups, or sites. groupName The name of the user group.
The add command and the following fields are used to add directory numbers: group hostNE address The name of the user group. The network element hosting the group. dn ext url The site where these numbers are used and DNs belonging to this user group site. The site where these extensions are used and the extensions belonging to this user group site. The site where these URLs are used and the URLs belonging to this user group site.
125
126
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
126
Routing Network Elements NGW1 has been added by the instructor and has PSTN connectivity. Each team will add a dummy Routing NE that will be returned in the contact list depending on the dial plan. For all teams, 911 calls from 240364xxxx use a SCRL for each teams DUMMY<Team#> routingNE after prepending 99 to the dialed digits (SvcCtrRtg). 1. Under NS_CLI/System/Device/RoutingNE, each team creates a network gateway resource with the following parameters:
Team Team 1 Team 2 Team 3 Team 4 Team 5 Team 6 Team 7 Team 8 Team 9
NGW Name DUMMY1 DUMMY2 DUMMY3 DUMMY4 DUMMY5 DUMMY6 DUMMY7 DUMMY8 DUMMY9
IP Address 192.168.7.121 192.168.7.122 192.168.7.123 192.168.7.124 192.168.7.125 192.168.7.126 192.168.7.127 192.168.7.128 192.168.7.129
Location 1240364 1240364 1240364 1240364 1240364 1240364 1240364 1240364 1240364
Profile ROUTE_1 ROUTE_2 ROUTE_3 ROUTE_4 ROUTE_5 ROUTE_6 ROUTE_7 ROUTE_8 ROUTE_9
Static Cost 1 1 1 1 1 1 1 1 1
Weight 50 50 50 50 50 50 50 50 50
Polling false false false false false false false false false
Status Online Online Online Online Online Online Online Online Online
Private Network Gateways Private network gateways are used by private policies, such as FarEndHopOff, to route calls to a customer-owned CPE gateway. Private network gateways are defined as Hosting NEs on the Network Server. FarEndHopOff to support routing calls to the 514 NPA through private gateway (PRIV_1 to PRIV_9) 1. Under NS_CLI/System/Device/HostingNE, each team creates a private network gateway resource with the parameters shown in the following table. Each gateway overlays on the same IP address (using the same IP address as NGW1).
Team
NGW Name PRIV_1 PRIV_2 PRIV_3 PRIV_4 PRIV_5 PRIV_6 PRIV_7 PRIV_8 PRIV_9
IP Address
Profile
Polling
Status
Type
CC
Default Enterprise/ Routing NIL_ENTERPRISE NIL_ENTERPRISE NIL_ENTERPRISE NIL_ENTERPRISE NIL_ENTERPRISE NIL_ENTERPRISE NIL_ENTERPRISE NIL_ENTERPRISE NIL_ENTERPRISE
Default Site/ Routing DFLT_ SITE DFLT_ SITE DFLT_ SITE DFLT_ SITE DFLT_ SITE DFLT_ SITE DFLT_ SITE DFLT_ SITE DFLT_ SITE
1 1 1 1 1 1 1 1 1
127
Create Enterprise
Enterprises must be created to associate subscribers and groups to routing profiles
128
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
128
129
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The add command and the following fields are used to add an enterprise: enterprise attribute The name of the new enterprise. intraPic interPic intlPic profile lcaid desc callLog sourceId The carrier to be used for intra-LATA calls. The carrier to be used for inter-LATA calls. The carrier to be used for international calls. The routing profile for this enterprise. The LCA name. Descriptive information about the enterprise. disabled enabled Call logging is turned off. Call logging feature is on.
129
NS_CLI/SubscriberMgmt/Enterprise/Policy/ExtDialing> add Ent1 true NS_CLI/SubscriberMgmt/Enterprise/Policy/ExtDialing> get Policy: ExtDialing Enterprise: Ent1
130
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
130
NS_CLI/SubscriberMgmt/Enterprise/Policy/voiceVPN> add Def_Ent true PUBLIC true NS_CLI/SubscriberMgmt/Enterprise/Policy/voiceVPN> get Def_Ent Policy: voiceVPN Enterprise: Def_Ent processE164AsPublic = true Enable = true dfltSel: Selection = {PUBLIC} From = {PUBLIC, PRIVATE}
131
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The add command and the following fields are used to add a policy instance: enterprise The enterprise name. Enable false The instance is not active (off). true The instance is active (on). The add command and the following fields are used to a dial plan: enterprise The enterprise name. locCode The code for the site location. extMin The minimum number of digits for an extension. extMax The maximum number of digits for an extension. selector PRIVATE Use only private policies to process calls. PUBLIC Continue through all available policies starting with private policies first, then public ones. ROUTE Route calls with redirect. TRMT Treat calls using the corresponding treatment (trmtID). attribute dm The digit manipulation string. hostId The hosting network element. (Can only be changed when the selector is ROUTE and is mandatory.) grpId The group ID. (Can only be changed when the selector is ROUTE and is mandatory.) trmtId Dynamically generated: tmpun, bdreq, or frbdn. The error code of the treatment to be used. desc The description of the dial plan entry. Use to enclose text.
131
132
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
132
133
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
133
DialedDigits@PrivateNGW
Private gateway PRIV_514 must be authorized for use by Ent1 E.164 route list must be created
134
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
134
135
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The add command and the following fields are used to authorize an enterprise to use a gateway: enterprise AuthHost The enterprise name. The network element name.
The add command and the following fields are used to add a routing list: enterprise AuthHost From To attribute The enterprise name. The network element name of a pre-authorized host. Digit sequence defining the beginning of a range of digits. Digit sequence defining the end of a range of digits. OutDM The digit manipulation algorithm to be applied against the requested digits.
135
136
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
136
137
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
The add command and the following fields are used to authorize an enterprise to use a specific gateway: enterprise authHost The enterprise name. The network element name.
The add command and the following fields are used to add call types: callType desc The type of call. Description of the new call type property.
The add command and the following fields are used to add a routing list: enterprise site callType authHost cost weight outDM The enterprise name. The enterprise site name. The type of call. The network element name of a pre-authorized host. The associated cost code for the gateway. The relative value to randomize distribution of traffic along this route. The digit manipulation algorithm to be applied against the requested digits.
137
138
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
the enterprise 01144 international calls will be blocked FarEndHopOff to support routing calls to the 514 NPA through private gateway (PRIV_1 to PRIV_9) EntSubLocation to support on-net calling between users in the same enterprise Enterprise Creation 1. Under NS_CLI/SubscriberMgmt/Enterprise, using the add command, each team creates an enterprise with the following parameters:
Team Team 1 Team 2 Team 3 Team 4 Team 5 Team 6 Team 7 Team 8 Team 9 Enterprise Name ENT_1 ENT_2 ENT_3 ENT_4 ENT_5 ENT_6 ENT_7 ENT_8 ENT_9 Public Profile HOST_1 HOST_2 HOST_3 HOST_4 HOST_5 HOST_6 HOST_7 HOST_8 HOST_9 Call Logging Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled Disabled EA PICs NILCAC NILCAC NILCAC NILCAC NILCAC NILCAC NILCAC NILCAC NILCAC
138
Private Policy Association 1. Under the corresponding NS_CLI/SubscriberMgmt/Enterprise/Policy level, each team associates EntSubLocation, voiceVPN (dfltSel is set to PUBLIC and processE164AsPublic is set to true), FarEndHopOff, and ExtDialing private policies to their enterprise. 2. Example: NS_CLI/SubscriberMgmt/Enterprise/Policy/ExtDialing> add ENT_# true FarEndHopOff Configuration 1. Under the NS_CLI/SubscriberMgmt/Enterprise/Policy/ FarEndHopOff/ AuthHost level, each team adds their PRIV_<Team#> private NGW as a valid host for their enterprise. 2. Example: NS_CLI/SubscriberMgmt/Enterprise/Policy/FarEndHopOff/AuthHost> add ENT_# PRIV_# 3. Under the NS_CLI/SubscriberMgmt/Enterprise/Policy/ FarEndHopOff/ RoutingList level, each team creates a route list entry to return their PRIV_<Team#> gateway in the contact list for calls to the 514 area code. (NOTE: The From/To range is E.164-based.) 4. Example: NS_CLI/SubscriberMgmt/Enterprise/Policy/FarEndHopOff/ RoutingList add ENT_2 PRIV_3 1514 1514 OutDM DEL(1) VoiceVPN Configuration 1. Under the NS_CLI/SubscriberMgmt/Enterprise/Policy/voiceVPN/ DialPlan level, each team creates the enterprise dial plan to match the private dial plan described in section 2.1.1.1.1 Private Policies. Use the following table:
LocCode 5 91 92 01144
ExtMin 3 2 2 8
ExtMax 3 2 2 8
HostId -
GrpId -
TRMT -
frbdn
139
TEAM TEAM 1 TEAM 2 TEAM 3 TEAM 4 TEAM 5 TEAM 6 TEAM 7 TEAM 8 TEAM 9
farendCategory NATIONAL NATIONAL NATIONAL NATIONAL NATIONAL LOCAL LOCAL INTERNATIONAL NATIONAL
farendDMIs -1 -1 -1 -1 -1 -1 -1 -1 -1
nearendDMI -1 -1 -1 -1 -1 -1 -1 -1 -1
Service Center Routing Static Route List For all teams, 911 calls from 240364xxxx use a SCRL for each teams DUMMY<Team#> routingNE after prepending 99 to the dialed digits (SvcCtrRtg). For all teams, 411 calls from all users use ngw1 after 411 has been replaced by 18005551234 routing number to the preferred OA carrier (SvcCtrRtg). 1. Under the NS NS_CLI/System/CallP/DMI level, each team creates a DMI entry to prepend 99 to the dialed digits (each team should use their team number as the DM index number). 2. Under the NS_CLI/Policy/SvcCtrRtg/SCRL level, each team creates the following SCRL entries for their teams SvcCtrRtg instance to support the public dial plan.
CallType EM DA
TO 1240364 1240364
Address 18005551234
RoutingNE DUMMY<Team#> -
DMI <Team#> -
140
Questions
141
2005 BroadSoft, Inc. Proprietary and Confidential; Do Not Copy, Duplicate, or Distribute
141