Cisco Voice Gateways. PacNOG6 VoIP Workshop Nadi, Fiji. November 2009. Jonny Martin - jonny@jonnynet.net



Similar documents
Cisco ISDN PRI to SIP Gateway

Voice Dial Plans, Configuring Voice Interfaces and Dial Peers

Let's take a look at another example, which is based on the following diagram:

Call Setup and Digit Manipulation

Dial Peer. Example: Dial-Peer Configuration

CVOICE Exam Topics Cisco Voice over IP Exam # /14/2005

Table of Contents. Cisco Mapping Outbound VoIP Calls to Specific Digital Voice Ports

Configuring Network Side ISDN PRI Signaling, Trunking, and Switching

Dial Peer Configuration Examples

Cisco IOS SIP Configuration Guide

Avaya one-x Quick Edition Interoperability with Cisco Integrated Services Router (ISR) SIP Gateway - Issue 1.0

Cisco CCA Tool SIP Security methods

This topic describes dial peers and their applications.

VoIP Configuration Examples

Note: As of Feb 25, 2010 Priority Telecom has not completed FXS verification of fax capabilities. This will be updated as soon as verified.

VoIP Workshop PacNOG3

Configuring Voice over IP

AT&T IP Flex Reach/ IP Toll Free Configuration Guide IC 3.0 with Interaction SIP Proxy

1 SIP Carriers Warnings Vendor Contact Vendor Web Site : Versions Verified SIP Carrier status as of 9/11/2011

Direct Inward Dial Digit Translation Service

Peer-to-Peer SIP Mode with FXS and FXO Gateways

Special-Purpose Connections

Curso de Telefonía IP para el MTC. Sesión 4-1 Tipos de llamadas. Mg. Antonio Ocampo Zúñiga

Cisco 2621 Gateway-PBX Interoperability: Lucent/Avaya Definity G3si V7 PBX with Cisco CallManager Using T1 PRI NI-2 for an H.

Configuring Modem Transport Support for VoIP

Q&A. DEMO Version

Configuring Fax Pass-Through

- Basic Voice over IP -

PATTON TECH NOTES What are FXS and FXO?

2N OfficeRoute. 2N OfficeRoute & Siemens HiPath (series 3000) connected via SIP trunk. Quick guide. Version 1.00

AudioCodes Mediant 1000 Configuration Guide

Voice Call Flow Overview

VoIP Configuration. Prerequisite Tasks CHAPTER

Mediatrix 3000 with Asterisk June 22, 2011

Configuring Voice over IP for Cisco MC3810 Series Concentrators

System Components PBX Model. Configuration Tasks

Cisco Voice over IP

Configuring Analog and Digital Voice Interfaces

IP Telephony v1.0 Scope and Sequence. Cisco Networking Academy Program

CVOICE - Cisco Voice Over IP

Configuring Echo Cancellation

EarthLink Business SIP Trunking. Cisco Call Manager and Cisco CUBE Customer Configuration Guide

Application Note - IP Trunking

Configuring Voice over IP

How To Set Up A Dialogic.Com On A Cell Phone With A Sim Sim Sims On A Sims 2 (For A Simplon) On A Pts 2 ( For A Pty Phone) On An Ipad Or

Building a Scalable Numbering Plan

Gateways and Their Roles

Channelized E1 and Channelized T1 Setup Commands

Micronet VoIP Solution with Asterisk

Overview of Dial Interfaces, Controllers, and Lines

ATA: An Analogue Telephone Adapter is used to connect a standard telephone to a high-speed modem to facilitate VoIP and/or calls over the Internet.

Internet Telephony Terminology

Network Connection Considerations for Microsoft Response Point 1.0 Service Pack 2

Optimizing Converged Cisco Networks (ONT)

Cisco PBX Interoperability: Lucent/Avaya Definity G3si V7 PBX with CallManager using Analog FXS and FXO Interfaces as an MGCP Gateway

IIUC Implementing Cisco IOS Unified Communications (IIUC) Version: Demo. Page <<1/9>>

Device SIP Trunking Administrator Manual

Cisco Networks (ONT) 2006 Cisco Systems, Inc. All rights reserved.

Direct IP Calls. Quick IP Call Mode

VoIP Gateway/IP-PBX Interworking with Skype

Curso de Telefonía IP para el MTC. Sesión 5-1 Implementación de Gateways SIP. Mg. Antonio Ocampo Zúñiga

SmartPTT Tutorial Telephone Interconnect

Alcatel-Lucent OXO Configuration Guide. For Use with AT&T s IP Flexible Reach Service. Version 1 / Issue 1 Date July 28, 2009

Cisco CME SIP Trunk Configuration

System Components PBX Model. Configuration Tasks

SIP Trunking using Optimum Business SIP Trunk Adaptor and the Cisco Call Manager Express Version 8.5

Integrating VoIP Phones and IP PBX s with VidyoGateway

Implementing Cisco Voice Communications and QoS

Application Notes for Avaya IP Office 7.0 Integration with Skype Connect R2.0 Issue 1.0

Voice over IP Quick Start Guide

OfficeMaster Gate (Virtual) Enterprise Session Border Controller for Microsoft Lync Server. Quick Start Guide

EarthLink Business SIP Trunking. Switchvox SMB 5.5 & Adtran SIP Proxy Implementation Guide

Case Study 1: Registering IP Phones with a remote Call

PBX Setup Basic setup procedures

Network Scenarios Pagina 1 di 35

Configuring Positron s V114 as a VoIP gateway for a 3cx system

SIP Trunking and Voice over IP

Application Note: Extending a TSP s Analog Capabilities Using an Access Bank I

and 2, implemented With Cisco Unified Border Control Element (CUBE)

Application Notes Rev. 1.0 Last Updated: February 3, 2015

Tech Note. Introduction. Definitions. What are FXS and FXO?

Commonly Supported Fax/Modem Call Flow Configuration Examples

VoIP Workshop PacNOG 6

AT&T Service Tested. Interaction Center (xic)

This chapter covers the following topics: IP phones and lines Shared lines Hunt groups Intercoms Paging Line overlays Call pickup Softkey

Implementing Cisco IOS Unified Communications (IIUC)

Network Overview. Background Traditional PSTN Equipment CHAPTER

VoIP Signaling and Call Control

SIP Internet Telephony Gateway

Troubleshooting the Cisco Unified Videoconferencing 3500 Gateway

6.40A AudioCodes Mediant 800 MSBG

Automatic Routing of Inbound Faxes With Castelle Network Fax Servers. Fractional T1, Full T1, Fractional E1, Full E1, ISDN, DID and PBX Integration

for SS7 VoIP Gateways

H.323 / SIP VoIP Gateway VIP GW. Quick Installation Guide

IMPLEMENTING CISCO VOICE COMMUNICATIONS AND QOS Volume 1

Application Notes Rev. 1.0 Last Updated: January 9, 2015

IP Telephony: Review and Implementation

IPNext 50 NGN IP-PBX High-performance Next Generation IP-PBX Solution

EarthLink Business SIP Trunking. NEC SV8100 IP PBX Customer Configuration Guide

Using the FAX Passthrough Feature

Transcription:

Cisco Voice Gateways PacNOG6 VoIP Workshop Nadi, Fiji. November 2009 Jonny Martin - jonny@jonnynet.net

Voice Gateways Any device with one or more TDM PSTN interfaces on them TDM - Time Division Multiplexing (i.e. traditional telephony) PSTN - Public Switched Telephone Network To be really useful, gateways also need an IP interface on them Many vendors, we ll concentrate on Cisco IOS based voice gateways Both analog and digital interfaces, we ll look at the more common ones

Interface Types - Digital ISDN primary rate circuits (there are others, but we will look at ISDN) E1 (primarily used in Europe and Oceania) 2 Mbit/s bearer 32x 64kbit/s channels. 30 for voice, 1 for signalling (timeslot 16), 1 framing T1 (primarily used in North America) 1.5 Mbit/s bearer 24x 64kbit/s channels. 23 for voice, 1 for signalling (timeslot 24) Common interfaces for ISP dial-in, PBX to carrier trunks, etc.

Interface Types - Digital Basic Rate ISDN 144kbit/s bearer 2x 64kbit/s channels + 1x 16kbit/s signalling channel 2B + D B channels = 64kbit/s voice/data channels D channel(s) = signalling data channels

Interface Types - Analog Only really two types: FXO interface - plugs into your telco (Foreign exchange central Office) uses FXS signalling FXS interface - plugs into a telephone. e.g. ATAs (Foreign exchange Station) uses FXO signalling Uses analog signalling, limited to one DDI per line Signalling is generally more ambiguous and harder to work with than digital signalling

AS5300 / AS5350 / AS 5400 Multi-port E1/T1 access servers Popular ISP dial-in boxes 5300 - can be used for VoIP when loaded with DSP cards 5350/5400 has universal ports - modem or VoIP Dial-up ISPs often well placed to provide VoIP services POPs in many locations, with the right hardware

IOS Voice Configuration For VoIP we need to configure: voice-port - the voice interface FXS / FXO - e.g. voice-port 1/0/0 E1/T1 signalling channel - e.g. voice-port 1/0:D dial-peer - tells the gateway how to connect voice ports to VoIP call legs For E1/T1 links we also need to configure the physical bearer controller E1 / controller T1 interface serial 0:15 (the signalling timeslot for an E1, 0:23 for T1)

E1 Configuration This configuration works with Telecom NZ E1 circuits isdn switch-type primary-net5 controller E1 0 clock source line primary pri-group timeslots 1-10,16 note, timeslots count from 1. description Link to Telecom interface Serial0:15 note, serial channels count from 0. no ip address isdn switch-type primary-net5 isdn incoming-voice modem treats incoming calls as modem or voice rather than data voice-port 0:D echo-cancel coverage 64 cptone NZ returns NZ progress tones bearer-cap Speech

T1 Configuration isdn switch-type primary-ni controller T1 1/0 framing esf linecode b8zs pri-group timeslots 1-24 interface Serial1/0:23 no ip address encapsulation hdlc isdn switch-type primary-ni isdn incoming-voice modem voice-port 1/0:D echo-cancel coverage 64 default cptone is US

FXS / FXO Configuration Some useful settings voice-port 1/0/0 no comfort-noise cptone NZ timeouts interdigit 3 description Analog phone line needs no vad on VoIP dial-peer timeout when gathering dialled digits Or, if you re just having a play, the defaults will work: voice-port 1/0/1

Dial Peers Basic building block on Cisco voice gateways, the dial-peer All calls consists of at least two call legs: Originating device to originating gateway (POTS) Originating gateway to IP network (VoIP)...and/or IP network to destination gateway Destination gateway to destination device

Before you configure VoIP on your gateway, it might help to understand at a high level wha when you place a VoIP call. Think of each event in a call flow as occurring on one of the sev of a call, as shown in the following typical scenario. Other scenarios are possible, of course ones where the call destination is an IP phone and the call never leaves the IP network. Dial Peers...ctd Call-leg 1: Originating device to originating gateway Call-leg 2: Originating gateway into the IP network Most hardware will also allow TDM switching, i.e. POTS to POTS Call-leg 3: IP network to destination gateway Call-leg But not 4: typically Destination VoIP gateway media proxying to destination (i.e. no device VoIP-VoIP) Figure 6-1 Call Legs Source Destination V IP network V 35950 Call leg 1 (POTS dial peer) Call leg 2 (VoIP dial peer) Call leg 3 (VoIP dial peer) Call leg 4 (POTS dial peer) Legs connecting a local device (typically a phone, fax machine, or PBX) to a gateway are c (plain old telephone service) legs. Legs connecting a gateway to the IP network are called V POTS or VoIP leg is either inbound or outbound, from the perspective of the associated gat

Dial Peer Syntax POTS dial peer dial-peer voice tag pots destination-pattern number port voiceport# other configurable options VoIP dial peer dial-peer voice tag voip destination-pattern number session target data address other configurable options Destination pattern = E.164 number (i.e. a telephone number)

Dial Peer Matching When a call is made, IOS will select the appropriate dial-peer for an outbound leg depending on call direction voip --> pots pots --> voip Longest match for destination-pattern is chosen If multiple longest matches exist, the dial-peer with the lowest preference will be chosen

Example POTS Dial Peers Outbound send-everything-to-the-pstn POTS dial-peer: dial-peer voice 1 pots destination-pattern T T = digit timeout, i.e. any string of digits direct-inward-dial allow incoming calls from the POTS port also port 0:D Only send numbers prefixed with 021 out the POTS port: dial-peer voice 1 pots destination-pattern 021T T = digit timeout, i.e. any string of digits direct-inward-dial port 1:D Only send seven digit numbers prefixed by 04 dial-peer voice 1 pots destination-pattern 04.... = a single digit direct-inward-dial port 2:D

Example VoIP dial-peers Send calls to 4989560 to a VoIP PABX or phone at IP address a.b.c.d dial-peer voice 44989560 voip destination-pattern 4989560 session protocol sipv2 session target ipv4:a.b.c.d dtmf-relay rtp-nte RFC2833 out of band DTMF signalling codec g729br8 no vad dial-peer voice 2001 voip huntstop preference 2 destination-pattern 2001 session protocol sipv2 session target ipv4:202.53.189.62 dtmf-relay rtp-nte playout-delay mode fixed codec g711ulaw no vad Don t search for a match past this dial-peer sets a fixed jitter buffer, useful for Fax always use this for fax

Failover Routing Failover routing is achieved by hunting on busy, no answer, and a myriad of other causes Works for both pots and voip dial-peers Use preference to step through dial-peers 0 is best and the default, 9 is worst Use huntstop on the last dial-peer Often used in conjunction with translation-patterns to ensure correct dial string for different trunks

Failover Example Incoming POTS calls first try one VoIP server, then failover to another if that server doesn t answer or is busy voice hunt user-busy voice hunt no-answer dial-peer voice 49896411 voip destination-pattern 4989641 session protocol sipv2 session target ipv4:a.b.c.1 dtmf-relay rtp-nte codec g711ulaw dial-peer voice 49896412 voip huntstop preference 1 destination-pattern 4989641 session protocol sipv2 session target ipv4:a.b.c.2 dtmf-relay rtp-nte codec g711ulaw

Translation Patterns Used to translate called and calling numbers Uses basic translation rules to prepend / strip digits, translate one number into a completely different number Some basic examples...

Translation Pattern Examples strip 644 from the start of the number for numbers starting 6442-6449 translation-rule 100 Rule 2 ^6442... 2 Rule 3 ^6443... 3 Rule 4 ^6444... 4 Rule 5 ^6445... 5 Rule 6 ^6446... 6 Rule 7 ^6447... 7 Rule 8 ^6448... 8 Rule 9 ^6449... 9 Prefix 04 to the beginning of any number translation-rule 101 Rule 1 ^.% 04

Translation Pattern Examples...ctd translate any number to 0212304323 translation-rule 120 Rule 1 any 0212304323 Normalise numbers into a standard format translation-rule 150 Rule 1 ^644498... 498 6444981234 --> 4981234 Rule 2 ^04498... 498 044981234 --> 4981234 Rule 3 ^00644498... 498 006444981234 --> 4981234

Apply the Translation Pattern dial-peer voice 44989560 voip destination-pattern 4989560 translate-outgoing calling 100 translate-outgoing called 200 session protocol sipv2 session target ipv4:203.114.148.130 dtmf-relay rtp-nte codec g711ulaw no vad translated the CALLING number translate the CALLED number