IOT
Transcription
IOT
Configuring the Sonus SBC 5200 with Level(3) SIP Trunks and Lync 2013 Application Notes Last Updated: July 23, 2014 Sonus Equipment Type Version SBC 5200 SBC 5000 04.00.01R0 3rd Party Equipment Type Version Lync 2013 PBX 5.0.8308.420 Copyright © 2014, Sonus and/or its affiliates. All rights reserved. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the prior written permission of Sonus. Contents 1 Document Overview ...................................................................... 4 Sonus – Network Design Group 2 Introduction .................................................................................... 5 2.1 Audience ................................................................................................................................. 5 2.2 Requirements .......................................................................................................................... 5 2.3 Reference Configuration ......................................................................................................... 6 2.3.1 Network Topology ............................................................................................................... 6 3 Configuring Sonus SBC 5000 Series ............................................. 7 3.1 SBC Configuration Diagram.................................................................................................... 7 3.2 SBC Naming Conventions ...................................................................................................... 8 3.2.1 SBC Configuration ............................................................................................................... 8 3.2.2 Internal Configuration .......................................................................................................... 8 3.2.3 External Configuration ......................................................................................................... 8 3.3 SBC Configuration Workflow .................................................................................................. 9 3.4 Global Configuration ............................................................................................................. 10 3.4.1 SIP Max PDU Size ............................................................................................................ 10 3.4.2 UDP Port Range for RTP (optional) .................................................................................. 10 3.4.3 DSP Resource Allocation .................................................................................................. 10 3.4.4 Codec Entry – G.711u ....................................................................................................... 10 3.4.5 Codec Entry – G.729 ......................................................................................................... 11 3.5 Internal SBC configuration .................................................................................................... 11 3.5.1 IP Interface Group ............................................................................................................. 11 3.5.1.1 IP Static Route .................................................................................................................. 12 3.6 SBC Configuration for Lync 2013 ......................................................................................... 12 3.6.1 Profile Configuration .......................................................................................................... 12 3.6.1.1 Packet Service Profile (PSP)............................................................................................. 12 3.6.2 Address Context Configuration ......................................................................................... 13 3.6.2.1 DNS Group ........................................................................................................................ 13 3.6.2.2 SIP Signaling Port ............................................................................................................. 13 3.6.2.3 IP Peer............................................................................................................................... 13 3.6.2.4 SIP Trunk Group ............................................................................................................... 14 3.7 SBC Configuration for Fax (optional) .................................................................................... 14 3.7.1 Profile Configuration .......................................................................................................... 14 3.7.1.1 Packet Service Profile (PSP)............................................................................................. 14 3.7.1.2 IP Signaling Profile (IPSP) ................................................................................................ 15 3.7.2 Address Context Configuration ......................................................................................... 15 3.7.2.1 Zone .................................................................................................................................. 15 Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 2 of 30 3.7.2.2 SIP Signaling Port ............................................................................................................. 16 3.7.2.3 IP Peer............................................................................................................................... 16 3.7.2.4 SIP Trunk Group ............................................................................................................... 16 3.8 External SBC Configuration .................................................................................................. 17 3.8.1 IP Interface Group ............................................................................................................. 17 3.8.1.1 IP Static Route .................................................................................................................. 17 3.9 SBC configuration for Level(3) SIP Trunk Group ................................................................. 18 3.9.1 Profile Configuration .......................................................................................................... 18 3.9.1.1 Packet Service Profile (PSP)............................................................................................. 18 3.9.1.2 IP Signaling Profile (IPSP) ................................................................................................ 18 3.9.2 Address Context Configuration ......................................................................................... 19 3.9.2.1 Zone .................................................................................................................................. 19 3.9.2.2 SIP Signaling Port ............................................................................................................. 19 3.9.2.3 IP Peer............................................................................................................................... 20 3.9.2.4 SIP Trunk Group ............................................................................................................... 20 3.10 Global Call Routing Configuration ........................................................................................ 20 3.10.1 Element Routing Priority.................................................................................................... 21 3.10.2 Lync 2013 Routing ............................................................................................................ 22 3.10.2.1 Routing Label .................................................................................................................... 22 3.10.1 Level(3) Routing ................................................................................................................ 22 3.10.1.1 Routing Label .................................................................................................................... 22 3.10.2 Routing .............................................................................................................................. 22 4 4.1 Configuring Lync 2013 Communication Manager ........................ 24 Adding External DIDs to Lync 2013 ...................................................................................... 24 Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 3 of 30 1 Document Overview These Application Notes describe the configuration steps required for the Sonus Session Border Controller 5000 series (5100, 5110, 5200, 5210) to interoperate with the Lync2013 and Level(3) SIP Trunk. SBC 5000 series functionality was compliance tested using a SIP trunk to Level(3) from an SBC 5200. The objective of the document is to describe the configuration procedures to be followed during interoperability testing of SBC 5000 series with Level(3). The interoperability tested was between Lync 2013, a Sonus SBC 5200, and Level(3) SIP Trunks. For additional information on Sonus SBC 5000 series, visit http://www.sonus.net For additional information on Level(3), visit http://www.level3.com/ For additional information on Lync, visit http://microsoft.com Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 4 of 30 2 Introduction This document provides a configuration guide for Sonus SBC 5000 Series (Session Border Controller) when connecting to a Level(3) SIP Trunk and Lync 2013 The Sonus SBC 5200 is a Session Border Controller that connects disparate SIP trunks, SIP PBXs, and communication applications within an enterprise. It can also be used as a SIP routing and integration engine. The Sonus SBC is the point of connection between the Lync 2013 and the Level(3) SIP Trunk. 2.1 Audience This technical document is intended for telecommunication engineers with the purpose of configuring both the Sonus SBC 5000 and aspects of the Lync 2013 product. There will be steps that require navigating the thirdparty and Sonus SBC Command Line Interface (CLI). Understanding the basic concepts of IP/Routing and SIP/RTP is also necessary to complete the configuration and for troubleshooting, if necessary. This configuration guide is offered as a convenience to Sonus customers. The specifications and information regarding the product in this guide are subject to change without notice. All statements, information, and recommendations in this guide are believed to be accurate, but are presented without warranty of any kind, express or implied, and are provided “AS IS”. Users must take full responsibility for the application of the specifications and information in this guide. Technical support on SBC 5000 can be obtained through the following: Phone: +1 888-391-3434 (Toll-free) or +1 978-614-8589 (Direct) Web: http://www.sonus.net/company/maintenance/log-trouble-tickets 2.2 Requirements The following equipment and software was used for the sample configuration provided: Sonus Equipment Type Version SBC 5200 SBC 5000 04.00.01R0 3rd Party Equipment Type Version Lync 2013 PBX 5.0.8308.420 Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 5 of 30 2.3 Reference Configuration A simulated enterprise site consisting of Polycom Phones serviced through Lync 2013 PBX. SIP Trunks were used to connect the SBC 5200 externally to Level(3) and internally to the Lync 2013. The SBC 5200 was running software version 4.0.1 R0 during testing. 2.3.1 Network Topology Lync 2013 Sonus SBC 5000 PSTN Internal IP Network Figure 1 : Network Topology The figure above represents the equipment used for the integration and certification testing. The SBC 5000 is used to route and facilitate calls between Lync 2013 and the Level(3) SIP Trunk. The SBC 52x0 has 4 media ports: Media0, Media1, Media2, and Media3. Media0/Media1 are used for External connectivity and Media2/Media3 are used for Internal connectivity, if the default Sonus convention is desired. If deploying an SBC 52x0 using only two Media ports, then the convention should be to use Media0 (External) and Media2 (Internal). For more information on Media port deployment options or other network connectivity queries, refer to the SBC 5000 Network Deployment Guide or contact your local Sales team for information regarding the Sonus Network Design professional services offerings. A 5200 was used for testing with only two Media ports configured due to the limited media capacity needed. Additional Media ports can be cabled and configured if the additional Media capacity is required. Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 6 of 30 3 Configuring Sonus SBC 5000 Series This section describes how to use the Sonus Command Line Interface (CLI) to configure the SBC 5000 Series. The SBC can equally be configured and managed by the Embedded Management Application (EMA), which is a web-based interface management system for the Sonus SBC 5000 Series. However, documentation of the equivalent configuration steps via EMA is beyond the scope of this guide. 3.1 SBC Configuration Diagram Internal 10.35.180.136:5060 Lync 2013 IP Interface Group: INTERNAL_IPIG Zone: AVAYA_ZONE SIP Port: 10.35.177.247:5060 SIP TrunkGroup: AVAYA_TG External IP Interface Group: UNTRUSTED Zone: ZONE_UNTRUSTED SIP Port: 63.145.56.61:5060 SIP TrunkGroup: TWO-WAY-LEVEL-3 IN-SIP-LYNC-2013/ OUT-SIP-LYNC-2013 SIP over TCP TWO-WAY-LEVEL-3 SIP over UDP SIP over UDP FAX Fax via ATA 4.55.40.225 10.35.137.38:5060 2142964234 IP Interface Group: INTERNAL Zone: Collab_Demo_Trusted SIP Port: 192.168.192.10:5060 SIP TrunkGroup: FAX Figure 2: SBC 5000 SIP Trunk Diagram The above diagram also shows the FAX Trunk Group. Fax machines typically get their own Trunk Group(s) which allows Fax-specific Packet Service Profile (PSP) and IP Signaling Profile (IPSP) configurations without affecting non-Fax devices. While this document shows a Fax-specific Trunk Group, it does not have a Route or Routing Label to use it. Call Routing to a specific Fax Trunk Group is usually done by called/calling number routing (vs. trunk group routing) which is beyond the scope of this document. The Fax Trunk Group can share the same SIP signaling interface and Zone on the SBC. The preference to control the SIP transport protocol is configured in the IP Signaling Profile, which is applied at the Trunk Group level. This allows the proper SIP signaling transport to be used for both Lync 2013 and Fax machine even though they use different transport protocols with the same SIP signaling interface (SIP Signaling Port) on the SBC 5000. Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 7 of 30 3.2 SBC Naming Conventions 3.2.1 SBC Configuration The SBC has both a System Name and a Compute Element (CE) Name (also referred to as a Host or Element Name) whose differentiation is relative to an High Availability deployment (one SBC active, one SBC standby). Each SBC server in an HA pair will have its own unique CE Name, while the HA pair will have a single System Name. Even an SBC deployed in standalone mode will have a separate System Name and CE Name. To follow Sonus best practice naming conventions, each server’s CE Name will usually have a simple “a/b” suffix appended to the System Name: SBC System Name SBC CE Name (active) SBC CE Name (standby) SBC01 SBC01a SBC01b 3.2.2 Internal Configuration Unique address contexts, other than “default”, are only needed when using overlapping IP address space. This deployment assumes no such overlapping IP space, thus all configurations are in address context “default”. Configuration Entity Lync 2013 FAX (optional) Address Context default IP Peer default Collab-DemoTrusted_ZONE IN-SIP-LYNC-2013 OUT-SIP-LYNC-2013 Lync-2013 IP Signaling Profile (IPSP) DEFAULT-SIP Packet Service Profile (PSP) TWO-WAY-LEVEL-3 FAX Routing Label TO_LYNC2013 (not configured) Zone Trunk Group ZONE_INT_VOIP FAX FAX FAX 3.2.3 External Configuration Unique address contexts, other than “default”, are only needed when using overlapping IP address space. This deployment assumes no such overlapping IP space, thus all configurations are in address context “default”. Configuration Entity Level(3) Address Context default Zone UNTRUSTED Trunk Group TWO-WAY-LEVEL-3 IP Peer TWO-WAY-LEVEL-3 IP Signaling Profile (IPSP) LEVEL-3_IP_PROFILE Packet Service Profile (PSP) TWO-WAY-LEVEL-3 Routing Label TO-LEVEL-3 Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 8 of 30 3.3 SBC Configuration Workflow |---- Global Configuration | |----SIP Max PDU Size | |----SIP Domain | |----Media Port Range (optional) | |----DSP Resource Allocation | |----Codec Entry-G.711u | |----Codec Entry-G.729 | |---- Internal side Configuration | |----IP Interface and IP Interface Group | |----IP Static Routes | |---- Lync 2013 Configuration | |----Configuring Profiles | | |----Packet Service Profile | | |----IP Signaling Profile | |----Configuring Address Context | | |----DNS Group | | |----Zone | | |----SIP Signaling Port | | |----IP Peer | | |----SIP Trunkgroup | |---- Fax Configuration | |----Configuring Profiles | | |----Packet Service Profile | | |----IP Signaling Profile | |----Configuring Address Context | | |----Zone | | |----SIP Signaling Port | | |----IP Peer | | |----SIP Trunkgroup | |---- External side Configuration | |----IP Interface and IP Interface Group | |----IP Static Routes | |---- Level(3) Configuration | |----Configuring Profiles | | |----Packet Service Profile | | |----IP Signaling Profile | |----Configuring Address Context | | |----Zone | | |----SIP Signaling Port | | |----IP Peer | | |----SIP Trunkgroup Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 9 of 30 | | |---- Global Call Routing Configuration | |----Level(3) Routing | | |----Routing Label | |----Lync 2013 Routing | | |----Routing Label | |----Routing 3.4 Global Configuration 3.4.1 SIP Max PDU Size Increase the maximum SIP PDU size from 6kb to 60kb to accommodate larger SIP packets. set global signaling sipSigControls maxPduSizeValue pdusize60kb commit 3.4.2 UDP Port Range for RTP (optional) The Sonus SBC 5000 series defaults to using the UDP port range of 1024-65148 for RTP (media) traffic. Many enterprise networking devices, including security devices may assume a range of 16384-32767. If required, the following configuration modifies the SBC to work within that more limited range with no changes to the existing devices. This is a global change. set system media mediaPortRange baseUdpPort 16384 maxUdpPort 32767 commit 3.4.3 DSP Resource Allocation This configuration only applies if the SBC 5000 has been deployed with (hardware) DSP resources. If it has not, executing this configuration step has no negative impact, but subsequent configuration sections (Packet Service Profiles) assume the SBC has DSP resources for transcoding and/or tone generation set system mediaProfile compression 90 tone 10 commit 3.4.4 Codec Entry – G.711u Create a Codec Entry for the G711u codec with DTMF Relay configured for RFC2833, so that DTMF information will be carried in the audio path as RTP events (e.g. 2833 method). Parameter Description G711u_20ms_2833_T38 Name of codec entry G711u Codec selected, Law selected (G.711 specific) 20 Packet size in milliseconds rfc2833 Type of DTMF Relay chosen: carriers DTMF as RTP events faxRelayOrFallbackToG711 Fax treatment support for T.38 or G.711 fallback fallbackToG711 Modem treatment support for G.711 fallback Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 10 of 30 set profiles set profiles set profiles set profiles commit media media media media codecEntry codecEntry codecEntry codecEntry G711u_20ms_2833_T38 G711u_20ms_2833_T38 G711u_20ms_2833_T38 G711u_20ms_2833_T38 codec g711 packetSize 20 law ULaw dtmf relay rfc2833 removeDigits enable fax toneTreatment faxRelayOrFallbackToG711 modem toneTreatment fallbackToG711 3.4.5 Codec Entry – G.729 Create another Codec Entry for the G729 codec with DTMF Relay configured for RFC2833 so that DTMF information will be carried in the audio path as RTP events (e.g. 2833 method). Parameter Description G729ab_20ms_2833_T38 Name of codec entry G729ab Codec selected 20 Packet size in milliseconds rfc2833 Type of DTMF Relay chosen: carriers DTMF as RTP events faxRelayOrFallbackToG711 Fax treatment support for T.38 or G.711 fallback fallbackToG711 Modem treatment support for G.711 fallback set profiles set profiles set profiles set profiles commit media media media media codecEntry codecEntry codecEntry codecEntry G729ab_20ms_2833_T38 G729ab_20ms_2833_T38 G729ab_20ms_2833_T38 G729ab_20ms_2833_T38 codec g729ab packetSize 20 dtmf relay rfc2833 removeDigits enable fax toneTreatment faxRelayOrFallbacktoG711 modem toneTreatment fallbackToG711 3.5 Internal SBC configuration 3.5.1 IP Interface Group The below configuration is for a Sonus 52x0 system using a single port for internal connectivity (the Sonus convention is to use Media 2 and Media 3 ports for internal connectivity). A similar configuration (not shown) for the Sonus 51x0 system, which only has a total of two media ports, would use the Media 1 port for internal connectivity per Sonus convention. SBC 5000 media ports do not have dedicated Internal/External roles, and while recommended, the Sonus convention does not have to be followed. For more information on media port deployment options or other network connectivity queries, refer to the SBC 5000 Network Deployment Guide or contact your local Sales team for information regarding the Sonus Network Design professional services offerings. Create an IP Interface Group and assign it interfaces, including an IP address. Parameter Description default Name of the address context TRUSTED IP Interface Group name for the internal side of the SBC verde SBC element name PKT0 Name for IP Interface (on pkt2) Pkt0 Gigabit Ethernet port used for internal signaling and media 192.168.192.1 IP address for first internal media port 26 IP subnet prefix (subnet mask in CIDR format) Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 11 of 30 set addressContext set addressContext set addressContext set addressContext set addressContext commit 3.5.1.1 default default default default default ipInterfaceGroup ipInterfaceGroup ipInterfaceGroup ipInterfaceGroup ipInterfaceGroup TRUSTED TRUSTED TRUSTED TRUSTED TRUSTED ipInterface ipInterface ipInterface ipInterface PKT3 PKT3 PKT3 PKT3 ceName Verde portName pkt0 ipAddress 192.168.192.1 prefix 26 mode inService state enabled IP Static Route Create a default route to the subnet’s IP nexthop for the Interface and IP Interface Group. Parameter Description default Name of the address context 0.0.0.0 Default route 0 IP subnet prefix (subnet mask in CIDR format) 192.168.192.1 IP nexthop for subnet TRUSTED IP Interface Group name for the internal side of the SBC PKT0 Name for IP Interface (on pkt3) 100 Preference of the route within the Interface Group set addressContext default staticRoute 0.0.0.0 0 192.168.192.1 TRUSTED PKT0 preference 100 commit 3.6 SBC Configuration for Lync 2013 3.6.1 Profile Configuration 3.6.1.1 Packet Service Profile (PSP) Create a Packet Service Profile (PSP) for the Lync 2013 SIP trunk with a single codec specified. The PSP will be specified within the SIP Trunk Group configuration. We used the G.711u codec for the purpose of interworking with Level(3) SIP Trunks. Parameter Description TWO-WAY-LEVEL-3 Name of the PSP for the Lync 2013 TG G711u_20ms_2833_T38 Use of codec created earlier (global config section) conditional Only transcode if certain conditions are met codecsAllowedForTranscoding Specify transcode codecs for thisLeg and/or otherLeg thisLeg Specify codec list applicable to “thisLeg” g711u Only specify codecs on “thisLeg” otherLeg Not-specified; otherLeg should generally be omitted 184 ToS value in IP Header (TOS 184 = DSCP 46 = DiffServ EF) 101 RTP Payload type for Lync 2013 DTMF Relay set profiles media packetServiceProfile TWO-WAY-LEVEL-3 Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 12 of 30 set profiles media packetServiceProfile TWO-WAY-LEVEL-3 set profiles media packetServiceProfile TWO-WAY-LEVEL-3 set profiles media packetServiceProfile TWO-WAY-LEVEL-3 codecsAllowedForTranscoding thisLeg g711u set profiles media packetServiceProfile TWO-WAY-LEVEL-3 set profiles media packetServiceProfile TWO-WAY-LEVEL-3 commit codec codecEntry1 G711u_20ms_2833_T38 packetToPacketControl transcode conditional packetToPacketControl preferredRtpPayloadTypeForDtmfRelay 101 typeOfService 184 3.6.2 Address Context Configuration As mentioned earlier, as no overlapping IP addressing is used on the SBC in this document, all configuration will be done under the “default” Address Context. 3.6.2.1 DNS Group DNS Groups set DNS objects that may be used for DNS resolution within a particular Zone. The SBC has the capability to query an external DNS server to resolve hostnames. For scenarios where DNS servers are not available or accessible, the SBC also has the ability to have IP to hostname mappings configured locally. 3.6.2.2 SIP Signaling Port A SIP Signaling Port is a logical address permanently bound to a specific Zone and is used to send and receive SIP call signaling packets. In this case, it is bound to the Collab-Demo-Trusted Zone and will send and receive SIP packets for Lync 2013. The numeric identifier for the Zone and SIP Signaling Port are independent and do not need to match. The SIP Signaling IP address can be the same as the IP address configured for the media interface, but having them match is optional and not a requirement. In this case, they are the different. The SIP Signaling IP address must always be in the same subnet as the media interface IP address. Parameter Description default Name of the address context Collab-Demo-Trusted Name of Zone for the Lync 2013 5 A unique numeric identifier (1-2048) for the signaling port TRUSTED IP Interface Group name for the internal side of the SBC sip_udp,sip_tcp Transport protocols allowed for SIP signaling port 192.168.192.10 IPv4 address for the SIP Signaling Address for the SBC set addressContext set addressContext sip_udp,sip_tcp set addressContext set addressContext set addressContext commit 3.6.2.3 default zone Collab-Demo-Trusted sipSigPort 2 ipInterfaceGroup TRUSTED default zone Collab-Demo-Trusted sipSigPort 2 transportProtocolsAllowed default zone Collab-Demo-Trusted sipSigPort 2 ipAddressV4 10.168.192.10 default zone Collab-Demo-Trusted sipSigPort 2 dscpValue 26 default zone Collab-Demo-Trusted sipSigPort 2 state enabled mode inService IP Peer Create an IP Peer for the Lync 2013 and assign it to the Collab-Demo-Trusted Zone. Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 13 of 30 The IP Peer entity is used on egress while the ingressIpPrefix parameter in the sipTrunkGroup object is used on ingress, for determining the applicable SIP Trunk Group. Parameter Description default Name of the address context Collab-Demo-Trusted Name of Zone for Lync 2013 Lync-2013 Name of IP Peer for Lync 2013 5060 Signaling port of Lync 2013 3.6.2.4 SIP Trunk Group Create a SIP Trunk Group(s) for the Lync 2013 and assign the appropriate Profile(s) configured/discussed earlier in this document. The SIP Trunk Group requires an explicit IP address (and mask) for the ingressIpPrefix. An FQDN cannot be configured. Parameter Description default Name of the address context Collab-Demo-Trusted IN-SIP-LYNC-2013 OUT-SIP-LYNC-2013 TRUSTED Name of Zone for the Lync 2013 10.35.180.136 IP Address of Lync 2013 32 IP prefix (subnet mask in CIDR format) DEFAULT-SIP Earlier created IPSP is applied in the Trunk Group TWO-WAY-LEVEL-3 Earlier created PSP is applied in the Trunk Group Names for the SIP Trunk Groups to and from the Lync 2013 IP Interface Group name for the internal side of the SBC set addressContext default zone Collab-Demo-Trusted mediaIpInterfaceGroupName TRUSTED set addressContext default zone Collab-Demo-Trusted 10.35.180.136 32 set addressContext default zone Collab-Demo-Trusted ipSignalingProfile DEFAULT-SIP set addressContext default zone Collab-Demo-Trusted packetServiceProfile TWO-WAY-LEVEL-3 set addressContext default zone Collab-Demo-Trusted inService commit sipTrunkGroup IN-SIP-LYNC-2013-1 media sipTrunkGroup IN-SIP-LYNC-2013-1 ingressIpPrefix sipTrunkGroup IN-SIP-LYNC-2013-1 policy signaling sipTrunkGroup IN-SIP-LYNC-2013-1 policy media sipTrunkGroup IN-SIP-LYNC-2013-1 state enabled mode 3.7 SBC Configuration for Fax (optional) 3.7.1 Profile Configuration 3.7.1.1 Packet Service Profile (PSP) Create a PSP for the FAX SIP Trunk Group with G.711u and G.729 codecs. This PSP will be specified within the SIP Trunk Group configuration. A Cisco PAP2T IAD was used for testing FAX functionality with Level(3) SIP Trunk for the purpose of this interoperability test. Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 14 of 30 Parameter Description FAX Name of the PSP for Faxing G711u_20ms_2833_T38 Use of codec created earlier (global config section) G729ab_20ms_2833_T38 Use of codec created earlier (global config section) Conditional Only transcode if certain conditions are met differentDtmfRelay Allow transcoding for different DTMF relay behaviors codecsAllowedForTranscoding Specify transcode codecs for thisLeg and/or otherLeg thisLeg Specify codec list applicable to “thisLeg” g711u Only specify codecs on “thisLeg” otherLeg Not-specified; otherLeg should generally be omitted 101 RTP Payload type for Lync 2013 DTMF Relay 13 RTP Payload Type for G.711 SID packets 184 ToS value in IP Header (TOS 184 = DSCP 46 = DiffServ EF) set profiles media set profiles media set profiles media differentDtmfRelay set profiles media set profiles media set profiles media commit 3.7.1.2 packetServiceProfile packetServiceProfile packetServiceProfile enable packetServiceProfile packetServiceProfile packetServiceProfile FAX codec codecEntry1 G711u_20ms_2833_T38 FAX codec codecEntry2 G729ab_20ms_2833_T38 FAX packetToPacketControl conditionsInAdditionToNoCommonCodec FAX preferredRtpPayloadTypeForDtmfRelay 101 FAX silenceInsertionDescriptor g711SidRtpPayloadType 13 FAX typeOfService 184 IP Signaling Profile (IPSP) Create an IPSP for the FAX SIP Trunk Group. The IPSP will be specified within the SIP Trunk Group configuration. A number of flags and parameters are configured with the IPSP for interoperability with a fax machine. Parameter Description FAX Name of the IPSP used for the FAX Trunk set profiles signaling set profiles signaling set profiles signaling set profiles signaling transparency disable set profiles signaling sendSdpInSubsequent18x commit ipSignalingProfile ipSignalingProfile ipSignalingProfile ipSignalingProfile FAX FAX ipProtocolType sipOnly FAX egressIpAttributes privacy transparency disable FAX egressIpAttributes privacyInformation pAssertedId ipSignalingProfile FAX ingressIpAttributes flags noSdpIn180Supported enable enable suppress183WithoutSdp enable 3.7.2 Address Context Configuration As mentioned earlier, as no overlapping IP addressing is used on the SBC in this document, all configuration will be done under the “default” Address Context. 3.7.2.1 Zone The Zone for the FAX SIP Trunk Group was previously created as ZONE_INT_VOIP in step 3.6.2.2. Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 15 of 30 3.7.2.2 SIP Signaling Port The SIP Signaling Port for the FAX SIP Trunk Group was created as part of ZONE_INT_VOIP in step 3.6.2.3 3.7.2.3 IP Peer Create an IP Peer with the signaling IP address of the LinkSys IAD and assign it to Zone: ZONE_INT_VOIP. The IP Peer entity is used on egress. The ingressIpPrefix parameter in the sipTrunkGroup parameter is used on ingress, for determining the SIP Trunk Group assignment. Parameter Description default Name of the address context ZONE_INT_VOIP Name of Zone for the fax device FAX Name of IP Peer for fax device 10.35.137.38 IP Address for fax device 5060 SIP signaling port for fax device set addressContext default zone ZONE_INT_VOIP ipPeer FAX set addressContext default zone ZONE_INT_VOIP ipPeer FAX ipAddress 10.35.137.38 set addressContext default zone ZONE_INT_VOIP ipPeer FAX ipPort 5060 commit 3.7.2.4 SIP Trunk Group Create a SIP Trunk group towards the LinkSys PAP2T IAD and assign the corresponding Profiles configured earlier in this document. Parameter Description default Name of the address context ZONE_INT_VOIP Name of Zone for the fax device FAX Name of the SIP Trunk Group for the device TRUSTED IP Interface Group name for the internal side of the SBC 10.35.137.38 IP Address for the device (ingressIpPrefix) 32 IP prefix (subnet mask in CIDR format) FAX Earlier created IPSP is applied in the Trunk Group FAX Earlier created PSP is applied in the Trunk Group set addressContext set addressContext set addressContext set addressContext set addressContext commit default default default default default zone zone zone zone zone ZONE_INT_VOIP ZONE_INT_VOIP ZONE_INT_VOIP ZONE_INT_VOIP ZONE_INT_VOIP sipTrunkGroup sipTrunkGroup sipTrunkGroup sipTrunkGroup sipTrunkGroup FAX FAX FAX FAX FAX media mediaIpInterfaceGroupName TRUSTED ingressIpPrefix 10.35.137.38 32 policy signaling ipSignalingProfile FAX policy media packetServiceProfile FAX state enabled mode inService Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 16 of 30 3.8 External SBC Configuration 3.8.1 IP Interface Group The below configuration is for a Sonus 52x0 system using a single port for internal connectivity (the Sonus convention is to use Media 2 and Media 3 ports for internal connectivity). A similar configuration (not shown) for the Sonus 51x0 system, which only has a total of two Media ports, would use the Media 1 port for internal connectivity per Sonus convention. SBC 5000 Media ports do not have dedicated Internal/External roles, and while recommended, the Sonus convention does not have to be followed. For more information on Media port deployment options or other network connectivity queries, refer to the SBC 5000 Network Deployment Guide or contact your local Sales team for information regarding the Sonus Network Design professional services offerings. Create an IP Interface Group and assign it interfaces, including IP addresses. Parameter Description default Name of the address context UNTRUSTED IP Interface Group name for the external side of the SBC verde SBC element name PKT2 Name for IP Interface (on pkt0) pkt2 Gigabit Ethernet port used for external signaling and media 63.145.56.60 IP address for first external media port 27 IP subnet prefix (subnet mask in CIDR format) set addressContext set addressContext set addressContext set addressContext set addressContext commit 3.8.1.1 default default default default default ipInterfaceGroup ipInterfaceGroup ipInterfaceGroup ipInterfaceGroup ipInterfaceGroup UNTRUSTED UNTRUSTED UNTRUSTED UNTRUSTED UNTRUSTED ipInterface ipInterface ipInterface ipInterface PKT2 PKT2 PKT2 PKT2 ceName SBC01a portName pkt0 ipAddress 63.145.56.60 prefix 27 mode inService state enabled IP Static Route Create a default route to the subnet’s IP nexthop for the Interface and IP Interface Group. Parameter Description default Name of the address context 0.0.0.0 Destination IP Network (default route) 0 IP subnet prefix (subnet mask in CIDR format) 63.145.56.33 IP Nexthop for subnet UNTRUSTED IP Interface Group name for the external side of the SBC PKT2 Name for IP Interface (on pkt0) 100 Preference of the route within the Interface Group set addressContext default staticRoute 0.0.0.0 0 63.121.48.41 UNTRUSTED PKT2 preference 100 commit Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 17 of 30 3.9 SBC configuration for Level(3) SIP Trunk Group 3.9.1 Profile Configuration 3.9.1.1 Packet Service Profile (PSP) Create a Packet Service Profile (PSP) for the SIP trunk with G.711u and G.729 codecs.. The PSP will be specified within the SIP Trunk Group configuration. Parameter Description TWO-WAY-LEVEL-3 Name of the PSP for Level(3) G711u_20ms_2833_T38 Use of codec created earlier (global config section) G729ab_20ms_2833_T38 Use of codec created earlier (global config section) conditional Only transcode if certain conditions are met differentDtmfRelay Allow transcoding for different DTMF relay behaviors codecsAllowedForTranscoding Specify transcode codecs for thisLeg and/or otherLeg thisLeg Specify codec list applicable to “thisLeg” g711u,g729 Only specify codecs on “thisLeg” otherLeg Not-specified; otherLeg should generally be omitted 101 RTP Payload type for Lync 2013 DTMF Relay 13 RTP Payload Type for G.711 SID packets 2 Number of redundant packets for FAX 184 ToS value in IP Header (TOS 184 = DSCP 46 = DiffServ EF) set profiles media packetServiceProfile TWO-WAY-LEVEL-3 set profiles media packetServiceProfile TWO-WAY-LEVEL-3 codec codecEntry1 G711u_20ms_2833_T38 set profiles media packetServiceProfile TWO-WAY-LEVEL-3 codec codecEntry2 G729ab_20ms_2833_T38 set profiles media packetServiceProfile TWO-WAY-LEVEL-3 packetToPacketControl transcode conditional set profiles media packetServiceProfile TWO-WAY-LEVEL-3 packetToPacketControl codecsAllowedForTranscoding thisLeg g711u,g729 set profiles media packetServiceProfile TWO-WAY-LEVEL-3 packetToPacketControl conditionsInAdditionToNoCommonCodec differentDtmfRelay enable set profiles media packetServiceProfile TWO-WAY-LEVEL-3 preferredRtpPayloadTypeForDtmfRelay 101 set profiles media packetServiceProfile TWO-WAY-LEVEL-3 silenceInsertionDescriptor g711SidRtpPayloadType 13 set profiles media packetServiceProfile TWO-WAY-LEVEL-3 t38 numberOfRedundantPackets 2 set profiles media packetServiceProfile TWO-WAY-LEVEL-3 typeOfService 184 commit ` 3.9.1.2 IP Signaling Profile (IPSP) Create an IPSP for the Level(3) SIP Trunk Group. The IPSP will be specified within the SIP Trunk Group configuration. A number of flags and parameters are configured with the IPSP for interoperability with Level(3). Parameter Description LEVEL-3-SIP Name of the IPSP for Level(3) SIP Trunk set profiles signaling ipSignalingProfile LEVEL-3-SIP Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 18 of 30 set profiles signaling ipSignalingProfile LEVEL-3-SIP ipProtocolType sipOnly set profiles signaling ipSignalingProfile LEVEL-3-SIP ingressIpAttributes flags noSdpIn180Supported enable sendSdpInSubsequent18x enabled suppress183WithoutSdp enable commit 3.9.2 Address Context Configuration As mentioned earlier, as no overlapping IP addressing is used on the SBC in this document, all configuration will be done under the “default” Address Context. 3.9.2.1 Zone This Zone groups the set of objects that is used for the communication to the Level(3) SIP Trunk. Parameter Description default Name of the address context UNTRUSTED Name of Zone for Level(3) SIP Trunk. 2 A unique numeric identifier (2-2048) for the zone set addressContext default zone UNTRUSTED id 2 commit 3.9.2.2 SIP Signaling Port A SIP Signaling Port is a logical address permanently bound to a specific Zone and is used to send and receive SIP call signaling packets. In this case, it is bound to the Level(3) zone and will send and receive SIP packets on the Level(3) SIP Trunk Group. The numeric identifier for the Zone and SIP Signaling Port are independent and do not need to match. The SIP Signaling IP address can be the same as the IP address configured for the media interface, but matching is optional and is not a requirement. In this case, they match. If they are different, the SIP Signaling IP address must be in the same subnet as the media interface IP address. Parameter Description default Name of the address context UNTRUSTED Name of Zone for Level(3) SIP Trunk 2 A unique numeric identifier (2-2048) for the signaling port UNTRUSTED IP Interface Group name for the external side of the SBC 63.145.56.61 IPv4 address for this SIP Signaling Port 0 DiffServ Code Point value for SIP signaling traffic from SBC set addressContext set addressContext set addressContext set addressContext commit default default default default zone zone zone zone UNTRUSTED UNTRUSTED UNTRUSTED UNTRUSTED sipSigPort sipSigPort sipSigPort sipSigPort 3 3 3 3 ipInterfaceGroup UNTRUSTED ipAddressV4 63.145.56.61 dscpValue 0 state enabled mode inService Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 19 of 30 3.9.2.3 IP Peer Create an IP Peer with the signaling IP address of the Level(3) SIP Trunk and assign it to the EXTERNAL zone. The IP Peer entity is used on egress. The ingressIpPrefix parameter in the sipTrunkGroup is used on ingress, for determining the SIP Trunk Group. Parameter Description default Name of the address context UNTRUSTED Name of Zone for Level(3) SIP Trunk TWO-WAY-LEVEL-3 Name of IP Peer for Level(3) SIP Trunk 4.55.40.225 IP Address of Level(3) SIP peer 5060 SIP signaling port for Level(3) SIP Trunk set addressContext default zone UNTRUSTED ipPeer TWO-WAY-LEVEL-3 ipAddress 4.55.40.225 ipPort 5060 commit 3.9.2.4 SIP Trunk Group Create a SIP Trunk Group for Level(3) and assign the corresponding Profiles configured earlier in this document. Parameter Description default Name of the address context UNTRUSTED Name of Zone for Level(3) SIP Trunk TWO-WAY-LEVEL-3 Name of the Level(3) SIP Trunk Group UNTRUSTED IP Interface Group name for the external side of the SBC 4.55.40.225 IP Address of Level(3) peer (ingressIpPrefix) 32 IP prefix (subnet mask in CIDR format) TWO-WAY-LEVEL-3-IPSP Earlier created IPSP is applied in the Trunk Group TWO-WAY-LEVEL-3 Earlier created PSP is applied in the Trunk Group set addressContext default zone UNTRUSTED UNTRUSTED set addressContext default zone UNTRUSTED set addressContext default zone UNTRUSTED ipSignalingProfile LEVEL-3-SIP set addressContext default zone UNTRUSTED packetServiceProfile TWO-WAY-LEVEL-3 set addressContext default zone UNTRUSTED commit sipTrunkGroup TWO-WAY-LEVEL-3 media mediaIpInterfaceGroupName sipTrunkGroup TWO-WAY-LEVEL-3 ingressIpPrefix 4.55.40.225 32 sipTrunkGroup TWO-WAY-LEVEL-3 policy signaling sipTrunkGroup TWO-WAY-LEVEL-3 policy media sipTrunkGroup TWO-WAY-LEVEL-3 state enabled mode inService 3.10 Global Call Routing Configuration A Routing Label (RL) is a user-named object that contains a list of one or more next-hop peers - defined as Routing Label Routes - that can reach a specified destination ip address. A Routing Label Route (RLR) defines a single peer (Trunk Group + IP Peer) to which the call can be delivered. There may be many Routing Label Routes (1 to n) in a Routing Label. Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 20 of 30 For each call that successfully routes, a Routing Label is assigned. The SBC will advance through the list of RLRs until the call is completed or the RLR list is exhausted. The RL's Prioritization Type determines the order in which the RLR list will be processed. Routing Labels are assigned within the Route entity. 3.10.1 Element Routing Priority The Element Routing Priority (ERP) Profile determines the priority or precedence for criteria used for call routing. An ERP Profile is applied to a Trunk Group entity. When doing simple Trunk Group to Trunk Group routing (such as when there is only one internal PBX and one external SIP carrier), the SBC must have an ERP Profile which prioritizes the Trunk Group entity above other routing types. This allows routing of traffic from the ingress Trunk Group to an egress Trunk Group without further analyzing the Called Number. This prioritization can be accomplished by creating a new ERP Profile and applying it to all Trunk Groups or by simply modifying the default ERP Profile (DEFAULT_IP). This document modifies the default ERP Profile. Parameter Description DEFAULT_IP Name of default object for the profile; in this case, the ERP. set profiles set profiles set profiles set profiles set profiles set profiles trunkGroup set profiles set profiles set profiles set profiles trunkGroup set profiles set profiles set profiles set profiles set profiles set profiles trunkGroup set profiles set profiles trunkGroup set profiles set profiles trunkGroup set profiles set profiles trunkGroup set profiles set profiles set profiles set profiles commit callRouting callRouting callRouting callRouting callRouting callRouting elementRoutingPriority elementRoutingPriority elementRoutingPriority elementRoutingPriority elementRoutingPriority elementRoutingPriority DEFAULT_IP DEFAULT_IP DEFAULT_IP DEFAULT_IP DEFAULT_IP DEFAULT_IP entry entry entry entry entry entry nationalType 2 entityType none nationalType 1 entityType trunkGroup _private 2 entityType none _private 1 entityType trunkGroup nationalOperator 2 entityType none nationalOperator 1 entityType callRouting callRouting callRouting callRouting elementRoutingPriority elementRoutingPriority elementRoutingPriority elementRoutingPriority DEFAULT_IP DEFAULT_IP DEFAULT_IP DEFAULT_IP entry entry entry entry transit 2 entityType transit 1 entityType trunkGroupCutThrough trunkGroupCutThrough callRouting callRouting callRouting callRouting callRouting callRouting elementRoutingPriority elementRoutingPriority elementRoutingPriority elementRoutingPriority elementRoutingPriority elementRoutingPriority DEFAULT_IP DEFAULT_IP DEFAULT_IP DEFAULT_IP DEFAULT_IP DEFAULT_IP entry entry entry entry entry entry localOperator 2 entityType none localOperator 1 entityType trunkGroup userName 2 entityType none userName 1 entityType trunkGroup internationalOperator 2 entityType none internationalOperator 1 entityType none trunkGroup 2 entityType none 1 entityType callRouting elementRoutingPriority DEFAULT_IP entry longDistanceOperator 2 entityType none callRouting elementRoutingPriority DEFAULT_IP entry longDistanceOperator 1 entityType callRouting elementRoutingPriority DEFAULT_IP entry othertrunkGroupChosen 2 entityType none callRouting elementRoutingPriority DEFAULT_IP entry othertrunkGroupChosen 1 entityType callRouting elementRoutingPriority DEFAULT_IP entry internationalType 2 entityType none callRouting elementRoutingPriority DEFAULT_IP entry internationalType 1 entityType callRouting callRouting callRouting callRouting elementRoutingPriority elementRoutingPriority elementRoutingPriority elementRoutingPriority DEFAULT_IP DEFAULT_IP DEFAULT_IP DEFAULT_IP entry entry entry entry mobile mobile test 2 test 1 2 entityType none 1 entityType trunkGroup entityType none entityType trunkGroup Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 21 of 30 3.10.2 Lync 2013 Routing 3.10.2.1 Routing Label Create a Routing Label with a single Routing Label Route to bind the Lync 2013 Trunk Group with the IP Peer Parameter Description TO_LYNC2013 Name of the Routing Label for Lync 2013 Sequence The prioritization of Routing Label Routes within a Routing Label 1 The first Routing Label Route within the Routing Label OUT-SIP-LYNC-2013-2 Trunk Group for Lync 2013 Lync-2013 IP Peer for Lync 2013 set global callRouting routingLabel TO_LYNC2013 routePrioritizationType sequence action routes routingLabelRoute 1 trunkGroup OUT-SIP-LYNC-2013-2 ipPeer Lync-2013 inService inService commit 3.10.1 Level(3) Routing 3.10.1.1 Routing Label Create a Routing Label with a single Routing Label Route to bind the Level(3) Trunk Group with the Level(3) IP Peer Parameter Description TO-LEVEL-3 Name of the Routing Label for Level(3) Sequence The prioritization of Routing Label Routes within a Routing Label 1 The first Routing Label Route within the Routing Label TWO-WAY-LEVEL-3 Trunk Group for Level(3) TWO-WAY-LEVEL-3 IP Peer for Level(3) set global callRouting routingLabel TO-LEVEL-3 routePrioritizationType sequence action routes routingLabelRoute 1 trunkGroup TWO-WAY-LEVEL-3 ipPeer TWO-WAY-LEVEL-3 inService inService commit 3.10.2 Routing Routing must be put in place to send calls to the correct destination. For the purpose of this interoperability test we have used trunk group routing, but additional routing options may be used. See Appendix B for more information. Create Route entries for Trunk Group routing with Matching Criteria and a Route Label destination. Parameter Description trunkGroup The entity type for the route elementId1 – for an entityType of trunkGroup, value is the ingress trunk group elementId2 – for an entityType of trunkGroup, value is the SBC IN-SIP-LYNC-2013-1 VERDE Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 22 of 30 System Name in all upper case (not hostname / element name) standard The type of routing for the route Sonus_NULL Destination national number Sonus_NULL Destination country number all Call Type all Digit Type ALL Time Range Profile (note the capitalization) none Call Parameter Filter Profile Sonus_NULL Destination Domain Name TO-LEVEL-3 Destination Routing Label Parameter Description trunkGroup standard The entity type for the route elementId1 – for an entityType of trunkGroup, value is the ingress trunk group elementId2 – for an entityType of trunkGroup, value is the SBC System Name in all upper case (not hostname / element name) The type of routing for the route Sonus_NULL Destination national number Sonus_NULL Destination country number all Call Type all Digit Type ALL Time Range Profile (note the capitalization) none Call Parameter Filter Profile Sonus_NULL Destination Domain Name TO_LYNC2013 Destination Routing Label TWO-WAY-LEVEL-3 VERDE set global callRouting route trunkGroup IN-SIP-LYNC-2013-1 VERDE standard Sonus_NULL Sonus_NULL all all ALL none Sonus_NULL routingLabel TO-LEVEL-3 commit set global callRouting route trunkGroup TWO-WAY-LEVEL-3 VERDE standard Sonus_NULL Sonus_NULL all all ALL none Sonus_NULL routingLabel TO_LYNC2013 commit Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 23 of 30 4 Configuring Lync 2013 Communication Manager This section assumes that the Lync 2013 components have been installed along with Lync clients. The user should be familiar with Lync 2013 Server Administration. This section does not cover the basic installation of Lync 2013. 4.1 Adding External DIDs to Lync 2013 Routing for all outgoing DID calls or calls that route through Lync2013 to external phone numbers must be configured in the Lync 2013 server. Remote Desktop to the Lync 2013 Server and login as lync2013\administrator: Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 24 of 30 Select Voice Routing from the menu on the left and then select the Route Tab to get to the routing table: Since all of our outgoing calls are destined to the Verde SBC, we will add all the DIDs to the Verde – SBC 5200. Double click on the Verde SBC to bring up the GUI to add all the numbers that will be dialed out to. Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 25 of 30 To add a number simply enter in in the field and click on the “Add” button. Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 26 of 30 Click OK to go back to the routing screen. Here we will need to commit the changes for them to take effect. From the pull down menu shown in the Diagram below, select from “Commit all” from the Commit menu. Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 27 of 30 Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 28 of 30 Click OK and the routing is saved. Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 29 of 30 Sonus – Network Design Group Copyright © 2014, Sonus and/or its affiliates. All rights reserved. 30 of 30
Similar documents
Configuring the Sonus SBC 5000 for Level(3)
Group(s) which allows fax-specific Packet Service Profile (PSP) and IP Signaling Profile (IPSP) configurations without affecting non-fax devices. This document shows a fax-specific Trunk Group, but...
More information