RCV
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 2
Plataforma Cisco para Gateway de voz
* http://www.cisco.com/c/en/us/products/collateral/routers/2800-series-integrated-services-routers-isr/product_data_sheet0900aecd80169812.pdf
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 3
Interfaces Análogas y Digitales de Voz
(Conmutación de Circuitos - PSTN)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 4
Conexión de Loop-Local
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 5
Interfaz de Voz Analoga: FXS
FXS
FXS
FXS
FXO FXO
PSTN
T1 E1
PSTN
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 8
Sistema de Señalización de Canal Asociado
(CAS)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 9
Sistema de Señalización de Canal Asociado
T1
CAS T1
PSTN
Caracteristicas de CAS T1
• Hasta 24 canals de Voz
• Cada Canal es un DS0
• 8000 muestras por segundo
• 1 byte por muestra
• T1 parcial ( fraccionado) puede ser implementado
• La señalización viaja en banda
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 10
Sistema de Señalización de Canal Asociado
E1
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 11
Sistema de Señalización de Canal Asociado
E1
CAS E1
PSTN
Caracteristicas de CAS E1
• Hasta 30 canals de voz/datos
• Cada canal es un DS0
• 8000 muestras por segundo
• 1 byte por muestra
• T1 parcial ( fraccionado) puede ser implementado
• La señalización viaja fuera de banda
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 12
Señalización por Canal Común CCS
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 13
Configurando interfaces Análogas y
Digitales de Voz
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 14
Puertas Análogas de Voz
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 15
Configuración de Puerta de Voz FXS
• signal
• cptone
• description
• ring frequency
• ring cadence
• disconnect-ack
• busyout
• station id name
• station id number
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 16
Configuración Puerta de Voz FXS
FXS Port
1/0/0
FXS Port
1/0/1
CMERouter(config)#voice-port 1/0/0
CMERouter(config-voiceport)#signal loop-start
CMERouter(config-voiceport)#cptone GB
CMERouter(config-voiceport)#ring cadence pattern01
CMERouter(config)#voice-port 1/0/1
CMERouter(config-voiceport)#signal loop-start
CMERouter(config-voiceport)#cptone GB
CMERouter(config-voiceport)#ring cadence pattern02
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 17
Configuración Puerta de Voz FXS
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 18
Configuración de Puerta de Voz FXO
• signal
• ring number
• dial-type
• description
• supervisory disconnect
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 19
Configuración de Puerta de Voz FXO
FX0 Port
1/1/0
PSTN
CMERouter(config)#voice-port 1/1/0
CMERouter(config-voiceport)#signal ground-start
CMERouter(config-voiceport)#ring number 3
CMERouter(config-voiceport)#dial-type dtmf
CMERouter(config-voiceport)#description Connection_to_PSTN
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 20
Configuración de Puerta de Voz FXO
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 21
Configuración de Timers and Timing
• timeouts initial
• timeouts interdigit
• timeouts ringing
• timing digit
• timing interdigit
• timing hookflash-in/hookflash-out
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 22
Configuración de Timers and Timing
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 23
Puertas Digitales de Voz
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 24
Configuración Básica Controlador T1/E1
Implementing Cisco Unified Communications Voice over IP and QoS (CVOICE) Foundation Learning Guide Fourth Edition
Capítulo 1: Introducing Voice Gateways ( pagina 91)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 25
Configuración Básica Controlador T1/E1
El commando ds0-group crea una puerta de voz logica (un grupo DS0)
para algunos ( E1 fraccionado) o todos los canales DS0
Implementing Cisco Unified Communications Voice over IP and QoS (CVOICE) Foundation Learning Guide Fourth Edition
Capítulo 1: Introducing Voice Gateways ( pagina 91)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 26
Fuentes de Temporización ( reloj) del
Controlador T1/E1
Todas las interfaces de manipulan los mismos paquetes de voz( ISDN) deben
estar configuradas para utilizar la misma fuente de temporización para que los
paquetes no se pierdan o sean entregados tarde.
Implementing Cisco Unified Communications Voice over IP and QoS (CVOICE) Foundation Learning Guide Fourth Edition
Capítulo 1: Introducing Voice Gateways ( pagina 102)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 27
Reloj Interno
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 28
Reloj Externo
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 29
Configuración de T1/E1 Digital-Voz
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 30
Configuración Digital-Voz
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 31
Configuración ISDN
• Configuración Global
isdn switch-type
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 32
Tareas para configurar ISDN
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 34
Comandos de configuración ISDN PRI
CMERouter(config)#
isdn switch-type switch-type
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 35
Comandos de configuración ISDN PRI
CMERouter(config-int)#
interface serial slot/port:timeslot
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 36
Comandos de configuración ISDN PRI
CMERouter(config-control)#
ds0-group ds0-group-no timeslots timeslot-list type
{e&m-delay-dial | e&m-fgd | e&m-immediate-start |
e&m-wink-start | ext-sig | fgd-eana | fxo-ground-
start | fxo-loop-start | fxs-ground-start | fxs-
loop-start}
CMERouter(config-control)#
clock source {line | internal}
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 37
Ejemplo 1
Configuración básica del controlador T1/E1
E1 1/0
PSTN
CMERouter(config)#controller E1 1/0
CMERouter(config-controller)#linecode hdb3
CMERouter(config-controller)#framing crc4
CMERouter(config-controller)#ds0-group 1 timeslots 1-15 type e&m-wink-start
CMERouter(config-controller)#clock source line
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 38
Ejemplo 2
Configuración básica del controlador T1/E1
E1 0/0/0
PSTN
Router2(config)#network-clock-participate wic 0
Router2(config)#isdn switch-type primary-net5
Router2(config)#controller e1 0/0/0
Router2(config-controller)#pri-group timeslots 1-31
Router2(config)#interface Serial0/0/0:15
Router2(config-if)#isdn switch-type primary-net5
Router2(config-if)#isdn overlap-receiving
Router2(config-if)#isdn incoming-voice voice
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 39
Resumen de pasos para configurar E1
Realice estos pasos para configurar una troncal PRI hacia la PSTN:
Step 1. Configure the ISDN switch type according to the country’s ISDN implementation.
Step 3. Configure the E1 line code. Refer to the local service provider for the correct
setting.
Step 4. Configure the E1 frame format. Refer to the local service provider for the correct
setting.
Step 5. Configure the clock source to define which side will provide clocking.
Step 6. Configure a logical voice port to define which channels will be used for voice.
Step 8. Configure incoming ISDN calls as voice. The calls will be directly passed to
the DSPs.
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 40
Lab
Configuración de troncal E1 hacia PSTN.
PSTN
E1
100 200
Usar router HQ como PSTN
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 41
Principios del Establecimiento de
llamada
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 42
Dial-Peer Call Legs
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 43
Dial-Peers
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 44
Entendiendo los Dial-Peers
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 45
Dial Peer
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 46
POTS Dial Peers
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 47
Lab
Configuración Dial-Peer tipo POTS
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 48
VoIP Dial Peers
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 49
Lab
Configuración Dial-Peer tipo Voip
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 50
Opciones de Patrón de Destino
(Destination-Pattern)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 51
Establecimiento de llamada y
Manipulación de Dígitos
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 52
Llamadas Entremo a Extremo
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 53
Coincidencia de Dial-Peers de entrada
Parametros configurables usados para coincidencia
de dial peers de entrada:
• Numero entrante llamado
Define el numero llamado o cadena DNIS
• Answer-address
Define el número origen que llama o cadena ANI
• Patrón de destino (Destination-pattern)
Usa el numero llamante (origen o cadena ANI ) para
coincidencia del call leg entrante a un dial peer entrante
• Puerta
Trata de coincidir la puerta configurada dial-peer a la
puerta asociada con la llamada entrante (solo dial peers
POTS)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 54
Coincidencia de Dial-Peers de salida
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 55
Consumo de Dígitos y Reenvío
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 56
Colección de Dígitos
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 57
Comandos de Manipulación de Digitos
• prefix
Comando Dial-peer
Agrega digitos al inicio de la cadena de marcado antes de enviarla a la
interfaz de telefonia
• forward-digits
Domando Dial-peer
Controla en número de digitos enviados a la interfaz de telefonía
• number expansion table
Comando Global (num-exp)
Expande una extensión en un número completo de telefonía o reemplaza
un número por otro.
• digit translation
Comando Global y dial-peer command
Reglas de traducción de digitos son usadas para manipular los digitos del
número llamante , o ANI ,o el número llamado, o DNIS, de una llamada de
voz
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 58
Lab
Coincidencia de Dial-Peers de entrada
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 59
Default Dial Peer 0
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 60
Conexiones de Proposito-Especial
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 61
Comandos de Proposito Especial
• Conexión plar
Asocia una puerta de voz directamente con un dial peer
• Conexión plar-opx
Extiende una conexión a PBX a una ubicación remota
• Conexión troncal
Emula a una conexión troncal permanente a una PBX
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 62
Conexión PLAR
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 63
Conexión PLAR-OPX
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 64
Conexión Troncal (Trunk)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 65
Tipo de llamadas de Voz
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 66
Llamadas Locales
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 67
Llamadas On-Net
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 68
Llamadas Off-Net
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 69
PLAR
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 70
Llamadas PBX-a-PBX
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 71
Cisco CallManager a Cisco CallManager
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 72
Llamada On-Net a Off-Net
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 73
Verificación de Puertas de Voz
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 74
Verifying and Troubleshooting Voice Ports
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 75
Commands to Verify Voice Ports
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 76
Test Commands
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 77
ISDN Commands
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 78
Adjusting Voice Quality
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 79
Factors That Affect Voice Quality
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 80
Calculating Decibel Levels
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 81
Configuring Voice Port Voice-Quality Tuning
• input-gain
• output-attenuation
• impedance
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 82
Configuration Examples
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 83
Echo Cancellation
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 84
Class of Restriction
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 85
Class of Restriction (COR)
Class of Restriction (COR)
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 86
Class of Restriction
or or
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 87
Class of Restriction
COR List on
COR List on Incoming
Outgoing dial-peer or Result Reason
dial-peer or ephone-dn
ephone-dn
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 88
Steps to Configure Class of Restriction
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 89
Steps to Configure Class of Restriction
CMERouter(config)#
dial-peer cor custom
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 90
Steps to Configure Class of Restriction
CMERouter(config)#
dial-peer cor list list-name
CMERouter(config-dp-corlist)#
member class-name
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 91
Steps to Configure Class of Restriction
CMERouter(config)#
dial-peer voice number {pots | voip}
CMERouter(config-dial-peer)#
corlist {incoming | outgoing} list-name
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 92
Steps to Configure Class of Restriction
CMERouter(config)#
ephone-dn tag
CMERouter(config-ephone-dn)#
cor {incoming | outgoing} list-name
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 93
Class of Restriction (COR)
dial-peer cor custom • The executive can call the employee but the
employee cannot call the executive
name 1xxx
• The incoming COR Employee is not a superset
name 2xxx of the Executive, so the call will not succeed
dial-peer cor list Executive
member 1xxx
member 2xxx
dial-peer cor list Employee
member 1xxx
ephone-dn 1
number 1000
cor incoming Employee
ephone-dn 2
number 2000 Ephone-dn 1 Ephone-dn 2
cor outgoing Executives Employee Executive
Ext 1000 Ext 2000
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 94
Class of Restriction – Case Study
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 95
Class of Restriction – Case Study
911
dial-peer cor custom
name 911
name local
local
name long_distance
long_distance
name international
name 900
international
900
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 96
Class of Restriction – Case Study
dial-peer cor list call911 dial-peer cor list Lobby
member 911 member 911
dial-peer cor list callLocal dial-peer cor list Employee
member local member 911
dial-peer cor list callLD member local
member long_distance dial-peer cor list Sales
dial-peer cor list callInt member 911
member international member local
dial-peer cor list call900 member long_distance
member 900 dial-peer cor list Executive
member 911
member local
member long_distance
member international
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 98
Class of Restriction – Case Study
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 99
Class of Restriction – Case Study
Results:
• The Lobby ephone-dn can only call Ephone-dn 1
911 on the PSTN COR in Lobby
Ext 1001
• The Employee ephone-dn can call
911 and local calls on the PSTN
Ephone-dn 2
• The Sales ephone-dn can call 911, COR in Employee
Ext 1002
local calls, and long distance on the
PSTN
Ephone-dn 3
• The Executive ephone-dn can call COR in Sales
911, local calls, long distance, and Ext 1003
international on the PSTN
Ephone-dn 4
• No one can call 900 numbers COR in Executive
Ext 1004
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 100
Digit Manipulation Commands
• prefix
Dial-peer command
Adds digits to the front of the dial string before it is forwarded to
the telephony interface
• forward-digits
Dial-peer command
Controls the number of digits forwarded to the telephony interface
• num-exp
Global command
Expands an extension into a full telephone number or replaces
one number with another
• translation-rule
Global and dial-peer command
Digit translation rules used to manipulate the calling number digits,
or ANI, or the called number digits, or DNIS, for a voice call
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 101
Practice Item 5:
Digit Manipulation
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 102
Building a Scalable Numbering Plan
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 103
Dial Plans
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 104
Need for a Scalable Numbering Plan
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 105
Attributes of a Scalable Numbering Plan
• Logic distribution
• Hierarchical design
• Simplicity in provisioning
• Reduction in postdial delay
• Availability and fault tolerance
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 106
Hierarchical Numbering Plans
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 107
Challenges Associated with Integration
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 108
Integrating Internal and Public
Numbering Plans
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 109
Number Normalization
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 110
IP Telephony © 2005 Cisco Systems, Inc. All rights reserved. Cisco Public 111