Transcription

Charter SIP Trunking:Cisco Unified Communications Manager 11.0.1 withCisco Unified Border Element (CUBE 11.5.0) onISR4321/K9 [IOS-XE 3.17.1 – 15.6(1)S1] using SIPJuly 25, 2016 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 1 of 46

Table of ContentsIntroduction. 4Network Topology . 5System Components . 6Hardware Requirements. 6Software Requirements . 6Features . 7Features Supported . 7Features Not Supported . 7Caveats . 7Configuration . 8Configuring Cisco Unified Border Element . 8Network Interface . 8Global Cisco UBE Settings . 9Codecs . 10Dial Peer . 10Call Flow . 13Configuration Example . 15Configuring Cisco Unified Communications Manager . 31Cisco UCM Version . 31Cisco Call Manager Service Parameters. 31Offnet Calls via Charter SIP Trunk . 32Dial Plan. 40Acronyms . 44Important Information. 45 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 2 of 46

Table of FiguresFigure 1: Network Topology . 5Figure 2: Cisco UBE High Availability . 5Figure 3: Outbound Voice Call . 13Figure 4: Inbound Voice Call . 13Figure 5: Outbound Fax Call . 14Figure 6: Inbound Fax Call . 14Figure 7: PBX to PBX via Charter Call. 14Figure 8: Cisco UCM Version . 31Figure 9: Service Parameters. 31Figure 10: SIP Trunk Security Profile . 32Figure 11: SIP Profile. 33Figure 12: SIP Profile (Cont.) . 34Figure 13: SIP Profile (Cont.) . 35Figure 14: SIP Trunks List . 36Figure 15: SIP Trunk to Cisco UBE . 37Figure 16: SIP Trunk to Cisco UBE (Cont.). 38Figure 17: SIP Trunk to Cisco UBE (Cont.). 39Figure 18: Route Patterns List . 40Figure 19: Route Pattern for Voice . 41Figure 20: Route Pattern for Voice (Cont.) . 42Figure 21: Route Pattern for Fax . 43 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 3 of 46

IntroductionService Providers today, such as Charter, are offering alternative methods to connect to the PSTN viatheir IP network. Most of these services utilize SIP as the primary signaling method and centralized IP toTDM POP gateways to provide on-net and off-net services.Charter is a service provider offering that allows connection to the PSTN and may offer the end customera viable alternative to traditional PSTN connectivity. A demarcation device between these services andcustomer owned services is recommended. As an intermediary device between Cisco UnifiedCommunications Manager and Charter network, Cisco Unified Border Element (Cisco UBE 11.5.0) ISR4321/K9 running IOS-XE 3.17.1 – 15.6(1) S1 can be used. The Cisco Unified Border Element providesdemarcation, security, interworking and session control services for Cisco Unified CommunicationsManager 11.0.1 connected to Charter network.This document assumes the reader is knowledgeable with the terminology and configuration of CiscoUCM (Cisco Unified Communications Manager). Only configuration settings specifically required forCharter interoperability are presented. Feature configuration and most importantly the dial plan arecustomer specific and need individual approach. This application note describes how to configure a Cisco Unified Communications Manager (CiscoUCM) 11.0.1 and Cisco Unified Border Element (Cisco UBE 11.5.0) on ISR 4321/K9 [IOS-XE3.17.1 - 15.6(1)S1] for connectivity to Charter SIP Trunking service. The deployment modelcovered in this application note is CPE (Cisco UCM 11.0.1) to PSTN (Charter). Testing was performed in accordance to Charter generic SIP Trunking test methodology andamong features verified were – basic calls, DTMF transport, Music on Hold (MOH), unattended andattended transfers, call forward, conferences and interoperability with Cisco Unity Connection(CUC) The Cisco UCM configuration detailed in this document is based on a lab environment with asimple dial-plan used to ensure proper interoperability between Charter SIP network and CiscoUnified Communications. The configuration described in this document details the importantconfiguration settings to have enabled for interoperability to be successful and care must be takenby the network administrator deploying Cisco UCM to interoperate to Charter SIP Trunking network.This application note does not cover the use of Calling Search Spaces (CSS) or partitions on Cisco UCM.To understand and learn how to apply CSS and partitions refer to the cisco.com link below:http://www.cisco.com/c/en/us/td/docs/voice ip comm/cucm/srnd/collab10/collab10/dialplan.html 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 4 of 46

Network TopologyFigure 1: Network TopologyFigure 2: Cisco UBE High Availability 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 5 of 46

System ComponentsHardware Requirements Cisco UCSC-C240-M3S VMWare host running ESXi 5.5 StandardCisco ISR 4321/K9 router as CUBECisco ISR4321/K9 (1RU) processor with 1647061K/6147K bytes of memory with 3Gigabit Ethernet interfacesProcessor board ID FLM1925W0X2Cisco 2851 Fax GatewayIP phones 7961 (SIP) and 7965 (SCCP)Adtran Total Access 908e 2nd Gen) – Provided and managed by CharterSoftware Requirements Cisco Unified Communications Manager 11.0.1Cisco Unity Connection 11.0.1IOS-XE 3.17.1 - 15.6(1)S1 for ISR 4321/K9 Cisco Unified Border Element 11.5.0Cisco IOS Software, ISR Software (X86 64 LINUX IOSD-UNIVERSALK9-M), Version15.6(1)S1, RELEASE SOFTWARE (fc3)Cisco IOS XE Software, Version 03.17.01.SIOS 15.1(4)M5 for Cisco 2851 Fax GatewayAdtran Total Access 908e 2nd Gen /R11.4.6.E - Provided and managed by Charter 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 6 of 46

FeaturesFeatures Supported Incoming and outgoing off-net calls using G711ULawCall holdCall transfer (unattended and attended)Call conferenceCall forward (all, busy and no answer)Calling Line (number) Identification Presentation (CLIP)Calling Line (number) Identification Restriction (CLIR)DTMF relay (both directions) (RFC2833)Media flow-through on Cisco UBEFax (G.711 pass-through)Features Not Supported Cisco IP phones used in this test do not support blind transferFax (T.38) and G729 is not supported by Service ProviderIn HA redundancy mode the primary cube will not take over the primary/active role aftera reboot/network outageCaveats Caller ID is not updated after attended or unattended transfers to off-net phones. This isdue to a limitation on Cisco UBE and will be resolved in the next release. The issue doesnot impact the calls. For testing, 911 calls were terminated by Charter 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 7 of 46

ConfigurationConfiguring Cisco Unified Border ElementNetwork InterfaceConfigure Ethernet IP address and sub interface. The IP address and VLAN encapsulation used are forillustration only, the actual IP address can vary. For SIP trunks two IP addresses must be configured - forLAN and WAN.interface GigabitEthernet0/0/0description Charter LAN MS4 1/0/7ip address 10.80.11.6 255.255.255.0media-type rj45negotiation autono mop enabledredundancy rii 1redundancy group 1 ip 10.80.11.10 exclusive!interface GigabitEthernet0/0/1description Charter WAN MS4 1/0/8ip address 10.70.51.5 255.255.255.0negotiation autono mop enabledredundancy rii 2redundancy group 1 ip 10.70.51.10 exclusive! 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 8 of 46

Global Cisco UBE SettingsIn order to enable Cisco UBE IP2IP gateway functionality, enter the following:voice service voipip address trusted listipv4 0.0.0.0 0.0.0.0address-hidingmode border-element license capacity 20allow-connections sip to sipredundancy-group 1no supplementary-service sip handle-replacesredirect ip2ipfax protocol pass-through g711ulawsipbind control source-interface GigabitEthernet0/0/0bind media source-interface GigabitEthernet0/0/0session refreshasserted-id paiprivacy pstnearly-offer forcedno silent-discard untrustedmidcall-signaling passthrug729 ections sip to sipAllow IP2IP connections between two SIP call legsfax protocolSpecifies the fax protocolasserted-idSpecifies the type of privacy header in the outgoing SIPrequests and response messagesearly-offer forcedEnables SIP Delayed-Offer to Early-Offer globallymidcall-signaling passthruPasses SIP messages from one IP leg to another IP leg 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 9 of 46

CodecsG711Ulaw is used as the preferred codec for this testing and changed the preferencesaccording to the test plan descriptionvoice class codec 1codec preference 1 g711ulawcodec preference 2 g729r8Dial PeerCisco UBE uses dial-peers to route the call accordingly based on the digitsdial-peer voice 200 voipdescription Outbound-from IP PBX to PSTN - WAN facinghuntstopdestination-pattern .Tsession protocol sipv2session target sip-serversession transport udpvoice-class codec 1voice-class sip asserted-id paivoice-class sip profiles 100voice-class sip options-keepalivevoice-class sip bind control source-interface GigabitEthernet0/0/1voice-class sip bind media source-interface GigabitEthernet0/0/1dtmf-relay rtp-ntefax-relay ecm disablefax rate disablefax nsf 000000fax protocol pass-through g711ulawno vad!dial-peer voice 210 voipdescription outgoing call to Charter - LAN facing 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 10 of 46

huntstopsession protocol sipv2session transport udpincoming called-number .Tvoice-class codec 1voice-class sip asserted-id paivoice-class sip options-keepalivevoice-class sip bind control source-interface GigabitEthernet0/0/0voice-class sip bind media source-interface GigabitEthernet0/0/0dtmf-relay rtp-ntefax-relay ecm disablefax rate disablefax nsf 000000fax protocol pass-through g711ulawno vad!dial-peer voice 500 voipdescription cube-dp incoming call from PSTNhuntstopsession protocol sipv2session transport udpincoming called-number 303835.voice-class codec 1voice-class sip asserted-id paivoice-class sip profiles 100voice-class sip options-keepalivevoice-class sip bind control source-interface GigabitEthernet0/0/1voice-class sip bind media source-interface GigabitEthernet0/0/1dtmf-relay rtp-ntefax-relay ecm disable 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 11 of 46

fax rate disablefax nsf 000000fax protocol pass-through g711ulawno vad!dial-peer voice 100 voipdescription Inbound-from PSTN to IP PBX - LAN facinghuntstopdestination-pattern 303835.session protocol sipv2session target ipv4:10.80.11.3:5060session transport udpvoice-class codec 1voice-class sip asserted-id paivoice-class sip options-keepalivevoice-class sip bind control source-interface GigabitEthernet0/0/0voice-class sip bind media source-interface GigabitEthernet0/0/0dtmf-relay rtp-ntefax-relay ecm disablefax rate disablefax nsf 000000fax protocol pass-through g711ulawno vad! 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 12 of 46

Call FlowIn the sample configuration presented here, Cisco UCM is provisioned with four-digit directory numberscorresponding to the last four DID digits. No digit manipulation is performed on the Cisco UBE.For incoming PSTN calls, the Cisco UBE presents the full ten-digit DID number to Cisco UCM. The CiscoUCM picks up the last 4 significant Digits configured under SIP Trunk and routes the call based on those4 digits. Voice calls are routed to IP phones; Fax calls are routed via a 4-digit route pattern over a SIPtrunk that terminates on the Fax Gateway and in turn to the VentaFax client connected to the FaxGateway.CPE callers make outbound PSTN calls by dialing a “8” prefix followed by the destination number. Foroutbound fax calls from the analog fax endpoint, Cisco fax Gateway sends to Cisco UCM the DID withleading access code “8”. A “[email protected]” route pattern strips the prefix and routes the call with the remainingdigits via a SIP trunk terminating on the Cisco UBE for Voice call or Fax. For PBX to PBX via Charter,Caller dial 8 prefix followed by the target 1 10Digit DID no for that extension number, 8 was stripped andthe 1 10 digits number was send to Cisco UBE, Cisco UBE sends the full 1 10 digits DID under DialPeer 200 and send to Charter network which will direct back to Cisco UBE and handled same as normalincoming PSTN call. For International calls same pattern [email protected] followed by 011, country code and callingno is used.Figure 3: Outbound Voice CallFigure 4: Inbound Voice Call 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 13 of 46

Figure 5: Outbound Fax CallFigure 6: Inbound Fax CallFigure 7: PBX to PBX via Charter Call 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 14 of 46

Configuration ExampleThe following configuration snippet contains a sample configuration of Cisco UBE with allparameters mentioned previouslyActive Cisco UBEversion 15.6service configservice timestamps debug datetime msecservice timestamps log datetime msecno platform punt-keep alive disable-kernel-core!hostname CharterCube1!boot-start-markerboot system std.SPA.binboot-end-marker!!vrf definition Mgmt-intf!address-family ipv4exit-address-family!address-family ipv6exit-address-family!vrf definition mgmt-intf!no logging rate-limitno aaa new-model 2016 Cisco Systems, Inc. All rights reserved.Important notices, privacy statements, and trademarks of Cisco Systems, Inc. can be found on cisco.comPage 15 of 46

no ip domain lookup!subscriber templatingmultilink bundle-name authenticated!voice service voipno ip address trusted authenticateaddress-hidingmode border-element license capacity 20allow-connections sip to sipredundancy-group 1f