- Basic Voice over IP -

Similar documents
Implementing Cisco IOS Unified Communications (IIUC)

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

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

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

Implementing Cisco IOS Telephony and Unified Communications Express (IITUCX)

Optimizing Converged Cisco Networks (ONT)

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

Implementing Cisco IOS Telephony and Unified Communications Express (IITUCX)

Need for Signaling and Call Control

Voice Over IP. Priscilla Oppenheimer

Voice over IP Basics for IT Technicians

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

IMPLEMENTING CISCO IOS TELEPHONY AND UNIFIED COMMUNICATIONS EXPRESS (IITUCX)

Voice over IP (VoIP) Basics for IT Technicians

An Introduction to VoIP Protocols

Gateways and Their Roles

Configuring Voice over IP

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

VoIP Bandwidth Considerations - design decisions

Packetized Telephony Networks

IP Telephony Deployment Models

Implementing Cisco Unified Communications Voice over IP and QoS v8.0 (CVOICE v8.0) Version: Demo. Page <<1/8>>

Cisco Analog Telephone Adaptor Overview

Internet Telephony Terminology

IP Implementation in Private Branch Exchanges From 9:30 a.m until 4:30 p.m (7 hrs./day) 5 days / week

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

Application Note - IP Trunking

2- Technical Training (9 weeks) 3- Applied Project (3 weeks) 4- On Job Training (OJT) (4 weeks)

Receiving the IP packets Decoding of the packets Digital-to-analog conversion which reproduces the original voice stream

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

SIP Trunking and Voice over IP

Overview of Voice Over Internet Protocol

Cisco VoIP CME Labs by Michael T. Durham

Introduction to Packet Voice Technologies and VoIP

SmartPTT Tutorial Telephone Interconnect

Operation Manual Voice Overview (Voice Volume) Table of Contents

Mediatrix 3000 with Asterisk June 22, 2011

4. H.323 Components. VOIP, Version 1.6e T.O.P. BusinessInteractive GmbH Page 1 of 19

: Introducing Cisco Voice and Unified Communications Administration (ICOMM) v8.0 Course Introduction

VoIP Configuration Examples

IMPLEMENTING CISCO VOICE COMMUNICATIONS AND QOS Volume 1

Integrate VoIP with your existing network

Introducing Cisco Voice and Unified Communications Administration Volume 1

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

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

Implementing Cisco Voice Communications and QoS

ehealth and VoIP Overview

Special-Purpose Connections

Introduction to VoIP Technology

CVOICE - Cisco Voice Over IP

Encapsulating Voice in IP Packets

Cisco CME Features and Functionality

Voice Dial Plans, Configuring Voice Interfaces and Dial Peers

Cisco CME SIP Trunk Configuration

Dial Peer Configuration Examples

Telephony Fundamentals

VoIP Glossary. Client (Softphone client): The software installed in the userâ s computer to make calls over the Internet.

Dial Peer. Example: Dial-Peer Configuration

VOICE OVER IP AND NETWORK CONVERGENCE

Enterprise VoIP. Silvano Gai. ftp://ftpeng.cisco.com/sgai/t2000voip.pdf. Cisco Systems, USA Politecnico di Torino, IT

NetVanta 7100 Exercise Service Provider SIP Trunk

This topic describes dial peers and their applications.

Configuring the Sonus SBC 2000 with Cisco Unified Call Manager 10.5 for Verizon Deployment

EarthLink Business SIP Trunking. ININ IC3 IP PBX Customer Configuration Guide

VoIP-PSTN Interoperability by Asterisk and SS7 Signalling

Q&A. DEMO Version

5. DEPLOYMENT ISSUES Having described the fundamentals of VoIP and underlying IP infrastructure, let s address deployment issues.

Case Study 1: Registering IP Phones with a remote Call

Connect your Control Desk to the SIP world

Cisco Unified Communications 500 Series

Crash Course in Asterisk

1. Public Switched Telephone Networks vs. Internet Protocol Networks

The Basics. Configuring Campus Switches to Support Voice

Session Title: Exploring Packet Tracer v5.3 IP Telephony & CME. Scenario

Businesses Save Money with Toshiba s New SIP Trunking Feature

EarthLink Business SIP Trunking. Toshiba IPedge Customer Configuration Guide

Integrating Cisco CallManager and Cisco SRST to Use Cisco SRST as a Multicast MOH Resource

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

VIDEOCONFERENCING. Video class

Integrating VoIP Phones and IP PBX s with VidyoGateway

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

802.1p An IEEE standard for providing QoS using three bits (defined in 802.1q) to allow switches to reorder packets based on priority level.

1 ABSTRACT 3 2 CORAL IP INFRASTRUCTURE 4

IP PBX. SD Card Slot. FXO Ports. PBX WAN port. FXO Ports LED, RED means online

IP PBX using SIP. Voice over Internet Protocol

Hands on VoIP. Content. Tel +44 (0) Introduction

CS3695/M6-109 Lab 8-NPS02 VOIP Sniffing Ver. 8 Rev. 0

Cisco ISDN PRI to SIP Gateway

How to Configure the Toshiba Strata CIX for use with Integra Telecom SIP Solutions

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

GW400 VoIP Gateway. User s Guide

White Paper. Solutions to VoIP (Voice over IP) Recording Deployment

BroadCloud Adtran Total Access Quick Start Guide

Call Setup and Digit Manipulation

Online course syllabus. MAB: Voice over IP

Frequently Asked Questions about Integrated Access

Project Code: SPBX. Project Advisor : Aftab Alam. Project Team: Umair Ashraf (Team Lead) Imran Bashir Khadija Akram

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

Network Connection Considerations for Microsoft Response Point 1.0 Service Pack 2

An Introduction to Voice over the IP. Test1 Pool Questions

Transcription:

1 Voice over IP (VoIP) - Basic Voice over IP - Voice over IP (VoIP) is a digital form of transport for voice transmissions, replacing analog phone systems. The benefits of VoIP are considerable: Better use of bandwidth - Traditional voice requires a dedicated 64- Kbps circuit for each voice call, while VoIP calls can use considerably less. Additionally, no bandwidth is consumed when no call is being made. Single form of cabling Reduces implementation and maintenance costs by having a standardized and consolidated cabling and equipment infrastructure. Cost savings from integration into the data network Toll charges for inter-office voice communication can be avoided by routing voice traffic across existing data lines. Integration into devices beyond telephones Basic VoIP components can include: Phones including both analog and IP phones. Gateways allows a non-voip (analog) device to communicate with the VoIP network, or a VoIP device to communicate with an analog network. Application Servers provides required applications to VoIP phones. Gatekeepers maps phone numbers to IP addresses, and grants permission for call setup Call Agents handles call routing and setup. Digital Signal Processors (DSP s) are used by devices to perform analogto-digital and digital-to-analog conversions. Both VoIP phones and gateways utilize DSP technology.

2 VoIP Packetization Voice traffic must be packetized as it traverses the IP network. Sound is first captured using a microphone on the headset. A voice call requires a 4 khz (4000 Hz) channel. To convert analog voice to a digital format, samples of the frequency and amplitude of the analog wave are made. Thus, sampling merely takes a snapshot of the signal at a given point in time. The amplitude height of each snapshot is assigned a numeric value, through a process called quantization. This numeric value is then represented as a sequence of binary digits (usually 8) through a process called encoding. The Nyquist sampling theorem dictates that the analog wave should be sampled at a rate of twice the channel s frequency range: f s = 2(freq. range) Thus, assuming a range of 4000 Hz, this requires a rate of 8000 samples per second. Remember that each sample is assigned an 8-bit value to represent the amplitude height at the time of sampling. Thus, a dedicated 64,000-bit channel (8-bits x 8000 samples per second) was traditionally required for a voice call (hence a DS0 being 64Kbps). The process of encoding an analog signal into digital format is handled by a codec (coder-decoder). The codec usually provides a level of compression. The efficiency of the compression varies with the codec used; however, more compression generally degrades sound quality. Various codecs include: G.711 uses 64 Kbps for a voice call G.726 uses 32, 24, or 16 Kbps for a voice call G.728 uses 16 Kbps for a voice call G.729 uses 8 Kbps for a voice call Generally, the analog sound is chopped into groups of 10ms, and then sampled and encoded. Each group (or often two groups, for a total of 20ms of analog sound) is encapsulated within an IP packet. At the transport layer, Real-Time Protocol (RTP) is used instead of TCP. RTP operates on top of UDP. When the voice packet arrives at a digital-to-analog gateway, the headers are stripped off, and the sound is reassembled as an analog stream.

3 Cisco VoIP Integration Cisco devices operating as VoIP gateways can contain a variety of analog interfaces, including: Foreign Exchange Station (FXS) interface connects to an analog device, providing the appropriate voltage and dial tone. Foreign Exchange Office (FXO) interface connects to a PBX (Private Branch Exchange) or PSTN (Public Switched Telephone network). E&M interface can also be used to connect to a PBX, or is used for PBX-to-PBX connections. Additionally, Cisco gateways can connect to provider PBX s and networks using digital interfaces, including: ISDN BRI and PRI T1/E1 CCS (Common Channel Signaling) employs a dedicated channel for signaling. T1/E1 CAS (Channel Associated Signaling) a portion of each channel is utilized for signaling.

4 VoIP Signaling Protocols VoIP protocols are responsible for the three key stages of a voice call: Call setup Call maintenance Call teardown The most common VoIP protocols are as follows: H.323 an ITU standard Session Initiation Protocol (SIP) an IETF standard Media Gateway Control Protocol (MGCP) an IETF standard Skinny Client Control Protocol (SCCP) Cisco proprietary

5 Cisco VoIP CallManager Configuration Voice Trunk Ports Traditionally, Cisco IP phones contain a switch with two interfaces. The first interface connects the IP phone to the wall jack. The second interface connects the user s workstation to the IP phone. This allows a single cable to handle the user s voice and data needs. To keep the voice/data traffic segregated, the IP phone forms a trunk link with the remote switch. Data traffic is tagged as a different VLAN than the voice traffic. Configuration on the remote switch (or the call-manager functioning as the switch) is simple: VoIP-Switch(config)# interface FastEthernet0/1/4 VoIP-Switch(config-if)# switchport access vlan 50 VoIP-Switch(config-if)# switchport trunk native vlan 50 VoIP-Switch(config-if)# switchport mode trunk VoIP-Switch(config-if)# switchport voice vlan 60 In the above example, data traffic will be tagged as VLAN 50, while voice traffic will be tagged as VLAN 60.

6 Cisco VoIP CallManager Configuration Dial Peers Dial Peers provide call-routing, and serve two key functions: VoIP dial-peers - used to connect Cisco call-managers, gateways, or gatekeepers to other such VoIP devices. For example, two callmanagers at separate branches would point to each other using VoIP dial-peer commands. POTS dial-peers used to connect Cisco VoIP devices to an analog device or network. A dial-string is mapped to a local analog port on the VoIP gateway or call-manager. Thus, the function of a Dial Peer is to match an incoming call with a destination pattern, which points to either a remote device or local interface. To configure a VoIP dial-peer: CallManager(config)# dial-peer voice 1 voip CallManager(config-dial-peer)# session procotol sipv2 CallManager(config-dial-peer)# session target ipv4:10.1.5.50 CallManager(config-dial-peer)# destination-pattern 15865551212 CallManager(config-dial-peer)# codec g711ulaw The above configuration maps a sip connection to a remote VoIP peer at address 10.1.5.50 for phone number 15865551212. The g711 codec is being employed. To configure a POTS dial-peer: CallManager(config)# dial-peer voice 2 pots CallManager(config-dial-peer)# destination-pattern 1212 CallManager(config-dial-peer)# port 0/2/0 The above configuration maps an extension or phone number of 1212 to the analog voice port 0/2/0. (Reference: http://www.cisco.com/univercd/cc/td/doc/product/software/ios123/123cgcr/vvfax_c/int_c/dpeer_c/dp_ovrvw.htm)

7 Cisco VoIP CallManager Configuration Telephony Service Telephony-Service configuration provides a wide variety of global configuration options for a Cisco CallManger: CallManager(config)# telephony-service CallManager(config-telephony-service)# The configuration files for specific models of IP phones are stored in flash, with a.bin extension. To load these configuration files: CallManager(config-telephony-service)# load 7914 S00105000200 CallManager(config-telephony-service)# load 7920 7920.4.0-02-00 CallManager(config-telephony-service)# load 7960-7940 P00308000400 To specify the maximum number of phones that can register with the Call- Manager (dependent on the hardware/software platform): CallManager(config-telephony-service)# max-ephones 12 To specify the maximum number of directory numbers (DNs) the Call- Manager will support (also dependent on the hardware/software platform): CallManager(config-telephony-service)# max-dn 48 To specify the IP address of the Call-Manager on the voice VLAN: CallManager(config-telephony-service)# ip source-address 10.5.5.1 port 2000 To specify the extension for voicemail: CallManager(config-telephony-service)# voicemail 2000 To specify the audio file for music-on-hold: CallManager(config-telephony-service)# moh music-on-hold.au To configure a username and password for the Call Manager s web interface, and to enable configuration of DN s through that interface: CallManager(config-telephony-service)# web admin system name AARON password CISCO CallManager(config-telephony-service)# dn-webedit To access the web-interface, use the following URL: http://ipaddress/telephony_service.html

8 Cisco VoIP CallManager Configuration Telephony Service (continued) To allow the transferring of calls to an outside line, using a specific dialpattern (such as dialing 9 first, and then a seven-digit number): CallManager(config-telephony-service)# transfer-pattern 9....... To configure the auto-attendant for night-service: CallManager(config-telephony-service)# night-service code *11 CallManager(config-telephony-service)# night-service day Mon 18:00 06:00 CallManager(config-telephony-service)# night-service day Tue 18:00 06:00 CallManager(config-telephony-service)# night-service day Wed 18:00 06:00 CallManager(config-telephony-service)# night-service day Thu 18:00 06:00 CallManager(config-telephony-service)# night-service day Fri 18:00 06:00 To configure a directory of extensions: CallManager(config-telephony-service)# directory entry 1 3000 name Aaron CallManager(config-telephony-service)# directory entry 1 3001 name Petey CallManager(config-telephony-service)# directory entry 1 3002 name Team Awesome CallManager(config-telephony-service)# directory entry 1 3003 name Team Tiger CallManager(config-telephony-service)# directory entry 1 3003 name Jack Nicholson CallManager(config-telephony-service)# directory entry 1 3004 name Nick Cage To define the URL s for ephones: CallManager(config-telephony-service)# url directories http://10.5.5.1/localdirectory CallManager(config-telephony-service)# url services http://10.5.5.1/menu.php CallManager(config-telephony-service)# url authentication http://10.5.5.1/auth.php Some configuration changes require a reset of the phone(s). To reset all phones connected to the Call Manager: CallManager(config-telephony-service)# reset all (Reference: http://www.cisco.com/en/us/tech/tk1077/technologies_configuration_example09186a00800ffdcc.shtml)

9 Cisco VoIP CallManager Configuration DN s and Extensions Directory Numbers (DNs) are assigned to phones for identification and to allow call-routing. Call Managers usually support a finite number of DNs, depending on the hardware/software/licensing platform. Extensions are then mapped to these DNs. The Call Manager identifies the phone using a DN, but users call a phone using the extension number. To configure a DN: CallManager(config)# ephone-dn 5 dual-line CallManager(config-ephone-dn)# number 3001 CallManager(config-ephone-dn)# description Call at your own risk CallManager(config-ephone-dn)# name Petey In the above example, dn 5 is configured as a dual-line, which allows for call transfer, conferencing, and call waiting. DNs/extensions that serve solely as a voicemail box can leave off the dual-line parameter. An extension number of 3001 has been assigned to this DN. (Reference: http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122limit/122z/122zj15/cme30cr/icr30am.htm#wp1008071) Cisco VoIP CallManager Configuration Phones To configure the actual VoIP phone: CallManager(config)# ephone 7 CallManager(config-ephone)# mac-address 0011.2233.4455 CallManager(config-ephone)# type 7920 CallManager(config-ephone)# button 1:5 CallManager(config-ephone)# pin 12345 CallManager(config-ephone)# speed-dial 1 3002 label Team Awesome In the above example, ephone 7 has been identified as having a mac-address of 0011.2233.4455, and a model number of 7920. The button command maps the first button (or extension on the phone Cisco phones support multiple extensions) with DN number 5 (per our previous configuration, this maps to extension 3001). Finally, the phone s pin number for voice mail has been set to 12345, and a speed-dial entry has been added for extension 3002. (Feference: http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122newft/122limit/122z/122zj15/cme30cr/icr30am.htm#wp1014674)