Вы находитесь на странице: 1из 141

Motivación de usar VoIP

 Ahorros de costos
 Flexibilidad
 Funcionalidades avanzadas:
 Advanced call routing
 Unified messaging

 Integrated information systems

 Long-distance toll bypass

 Encryption

 Customer relationship
Funciones
 Señalización
 SS7, H.323, SIP, MGCP, H.248
 Servicios de Bases de Datos
 Billing, caller ID, toll-free numbers
 Control
 Call connect
 Call disconnect

 Codecs
 G.711, G.729
Codecs
Codecs Video
Componentes
Protocolos VoIP
Protocolos VoIP y Modelo OSI

Comúnt: Voice media packets usan RTP/UDP


Variable: métodos de señalización y protocolos de enlace
Consideraciones de Servicio
 Latency
 Jitter
 Bandwidth
 Packet loss
 Reliability
 Security
Real-Time Transport Protocol
 Funciones de red end-to-end y servicios de
entrega para aplicaciones sensibles a
retardos, real-time , voz y video
 Trabaja bien con Colas para priorizar trafico
de voz sobre otros tráficos
 Los servicios incluyen:
 Payload-type identification
 Sequence numbering

 Time stamping

 Delivery monitoring
Real-Time Transport Control
Protocol
 Monitorea la calidad de la distribución de los
datos y brinda informaciòn de control
 Da feedback de condiciones de la red
 Permite a hosts que estan participando de
una sesion RTP interambiar información de
monitoreo y control
 Brinda un flujo separado para transporte de
paquetes UDP
Llamadas “Locales” (antes del 1 de
Junio de 2007 o internacionales)
Llamadas Externas (Off-Net)
PLAR (Private Line Auto Ringdown)
PBX-a-PBX
Aplicacion IP PBX a Aplicacion IP PBX
Desvío “On-Net” a “Off-Net”
Puerto de voz FXS (FXStation o
Teléfono analógico)
 signal
 cptone
 description
 ring frequency
 ring cadence
 disconnect-ack
 busyout
 station id name
 station id number
FXS
Puerto de Voz FXO (FXOffice o
Central Offie o Central)
 signal
 ring number
 dial-type
 description
 supervisory disconnect
FXO
E&M (Ear Mouth a,b ó ab y cd)
 signal
 operation
 type
 auto-cut-through
 description
E&M
2 Hilos ab ó 4 hilos ab y cd para el Audio
Timers y Timing
 timeouts initial
 timeouts interdigit
 timeouts ringing
 timing digit
 timing interdigit
 timing hookflash-in and hookflash-out
Timers y Timing
E1 Digital 2 Mbps
E1 Digital 2 Mbps ( S2 ISDN ó MFCR2)

 Crear digital voice ports con el comando


ds0-group
 ds0-group-no
 timeslot-list
 signal-type
Interfaz digital T1/E1
ISDN
 Configuración Global
 isdn switch-type
 Configuración controlador interfaz T1/E1
 pri-group
 Configuración D-channel
 isdn incoming-voice configuration
 Configuración QSIG
 QSIG signaling
ISDN PRI (T1)
Opciones CCS
Factores que afectan la Calidad de la Voz
( no QoS )

 Niveles de Transmisión y recepción


 Ganancia de entrada
 Atenuación de salida
Decibel
Ajustes para la calidad de la voz ( no QoS)

 input-gain
 output-attenuation
 impedance
Ejemplos
“Dial Peers” y “Call Legs”
Llamadas End-to-End
Tipos de “Dial Peers”
 POTS dial peers: Conectado a la red telefonica

 VoIP dial peers: Conectado sobre la red de paquetes


POTS Dial Peers
VoIP Dial Peers
Common Destination-Pattern
Default Dial Peer 0
PLAR
PLAR OPX
Trunk
VoIP Señalización y Control
 VoIP Componentes de señalización
 Endpoints
 Common control

 Compoenes de control
 Call administration
 Accounting
Call Control
 H.323
 SIP
 MGCP
 H.248/Megaco protocol
 SAP
 RTSP
 CallManager
Señalización y Control de llamada SIP-H323
Señalización y Sesiones RTP
Negociacion de propiedades
Call Administration y Accounting
 Administración
 Monitorea la actividad de la llamada
 Monitorea el uso de recursos

 Soporta solicitudes de servicio

 Accounting
 Mantiene registros de llamadas (CDR)
Call Status
Address Registration
Address Resolution
Admission Control
H.323
 H.323 e IP
 Componentes funcionales de H.323
 Establecimiento y Mantenimiento de llamada
 Call Flows sin Gatekeeper
 Call Flows con Gatekeeper
 Call Flows con Multiples Gatekeepers
 Multipoint Conferences
H.323 y recomendaciones ITU
H.323 Adaptada a IP
Terminales H.323
H.323 Gateways
IP-to-IP Gateways
H.323 Gatekeepers
Componentes Multipoint Conference
Relación de componentes para
establecimiento y administración de
llamadas

 Endpoint (gateway) to endpoint (gateway)


 Endpoint (gateway) to gatekeeper
 Gatekeeper to gatekeeper
Mensajes RAS
Establecimiento de llamada básica H.323
H.323 Fast Connect
Encontrando y registrándose en un Gatekeeper
Call Flow con Gatekeeper
Señalización de llamada Gatekeeper-Routed
Escalabilidad con Múltiples Gatekeepers
Call Flow con Múltiples Gatekeepers
Multipoint Conferences
SIP
 Session Initiation Protocol
 Componentes de SIP
 SIP Messages
 SIP Addressing
 Modelos de Call Setup
SIP y Estándares
 SIP esta definido en IETF RFC 2543; RFC 3261.
 SIP crea, modifica, y termina sesiones multimedia
entre 2 o mas participantes.
 SIP incluye varios estandares IETF : RTP, Real-Time
Transport Control Protocol (RTCP), HTTP, SDP,
DNS, SAP, y Real Time Streaming Protocol (RTSP).
 SIP usa direcionamiento E.164, e-mail, o DNS service
record.
 SIP se basa en texto ASCII .
Componentes Funcionales
SIP Messages
SIP Request Messages
 INVITE: Indica que un usuario o servcio es invitdo a
participar en una sesión
 ACK: Confirma que un cliente ha recibido una
respuesta final a una invitacion
 BYE: Termina una llamada puede ser generada or
cualqueira de los USER AGENTS (UA) participantes
 CANCEL: Cancela busquedas pendientes no termina
llamadas que han sido aceptadas
 OPTIONS: Queries posibiidades de los servers
 REGISTER: Registra el UA con e server registrar de
un dominio
SIP Response Messages
 1xx: Informational response
 2xx: Successful response
 3xx: Redirection response
 4xx: Client error response
 5xx: Server error response
 6xx: Global failure response
Direccionamiento
 Domain names
 sip:jdoe@ucudal.edu.uy
 Direcciones E.164
 sip:14085551234@gateway.com; user=phone
 Mixtos
 sip:14085551234; password=changeme@10.1.1.1
sip:jdoe@10.1.1.1
Address Registration
Address Resolution
Direct Call Setup
Call Setup Usando Proxy Server
Call Setup Usando Redirect Server
Call Setup Usando Redirect Server
Estrategias para alta disponibiidad
MGCP
 MGCP y Standards
 Componentes Básicos de MGCP
 MGCP Endpoints
 MGCP Gateways
 MGCP Call Agents
 Conceptos Básicos de MGCP
 MGCP Calls and Connections
 Call Flows
 Alta disponibilidad
MGCP y Standards
 MGCP definido en RFC 2705
 Arquitectura y requisitos definidos en RFC 2805
 Control centalizado de dispositivos con terminales
simples para seervicios basicos y ampliados
 Permite control remoto de varios dispositivos
 Usa IETF SDP
 Direcionamiento por numeración telefónica E.164
Componentes MGCP
Terminales
 Ocho tipos de terminales definidos in RFC 2705:
 Digital
channel
 Analog line
 Announcement server access point
 IVR access point
 Conference bridge access point
 Packet relay
 Wiretap access point
 ATM trunk side interface
Endpoint Identifiers
Gateways y sus Roles
 Trunk gateway SS7 ISUP
 Trunk gateway MF
 NAS
 Combined NAS-VoIP gateway
 Access gateway
 Residential gateway
 Announcement servers
Call Agents
Llamadas y conexiones MGCP
Multipoint Calls
Control Commands
 EndpointConfiguration (EPCF)
 NotificationRequest (RQNT)
 Notify (NTFY)
 CreateConnection (CRCX)
 ModifyConnection (MDCX)
 DeleteConnection (DLCX)
 AuditEndpoint (AUEP)
 AuditConnection (AUCX)
 RestartInProgress (RSIP)
Call Flows
Alta disponibilidad
Comparativos SIP-H.323-MGCP

 Facilidades comparadas
 Fortalezas H.323, SIP, y MGCP
 Call Control
Componentes y Servicios
Characteristicas
Fortalezas H.323, SIP, y MGCP
 H.323
 Maduro estable, escalable
 Solucion empresarial

 SIP
 Dinamico escalable adaptable
 Solucion empresarial, Service provider mediano y

gran escala
 MGCP
 Administración Centralizada, management y
control, scalable
 Service provider gran escala
MGCP Call Control
 Management,
provisioning, y call
control Centralizados
 Servers de aplicaciones
Centralizados
 Gestión del plan de
discado Centralizado
 Implementación simple
de nuevos servicios
 Escalabilidad
H.323 Call Control
 Inteligencia de call
control distribuída
 Funcionalidad Local
call control
 Escalabildiad
 Dial plan
administrado a nivel
de gatekeeper
SIP Call Control
 Inteligencia de call
control distribuída
 Implementación
sencilla de nuevas
aplicaciones y
servicios
 Acceso a una gran
variedad de terminales
 Escalabilidad
Jitter en redes de paquetes
Fuentes de retardo
G.114
Efecto de la pérdida de paquetes y
del jitter
MOS y PSQM
 MOS
 Mean opinion score
 Definido en ITU-T Recomendacion P.800
 Resultados subjectivos
 Escala 1 (malo) to 5 (optimo); 4.0 larga distancia
equivalente..
 PSQM
 Perceptual Speech Quality Measurement
 Definido en ITU Standard P.861
 MEida automatizada en instrumento
 Escala 6.5 (pero) to 0 (mejor)
PSQM
Comparativo calidades

Feature MOS PSQM PESQ


Test method Subjective Objective Objective
End-to-end packet loss test Inconsistent No Yes
End-to-end jitter test Inconsistent No Yes
QoS
 Soportar el ancho de banda asignado
 Soportar pardidas
 Eviar y gestionar la congestió¡òn
 Shaping
 Establecer y respetar prioridades en la red
 Controlar el acceso
RTP, UDP, IP, cRTP
Dónde QoS
Un mal diseño de QoS

 Ignorar Layer 2 QoS


(CoS)
 Ignorar otros requisitos de
QoS ToS, DSCP,WRED,
Queueing, Shaping,
Policing …
 Ignorar consideraciones
del ancho de banda y el
control de acceso
 Agregar VoIP sin evaluar
antes la red y el tráfico
AutoQoS
AutoQoS
Otras consideraciones
 CAC
 ResourceReservation Protocol
 CAC Tools
 H.323 CAC
 SIP CAC
 MGCP CAC
Call Control y CAC
Resource Reservation Protocol

RESV = reservation request


Herramientas CAC
 H.323 CAC
 SIP CAC
 MGCP CAC
 IPPBX CAC
H.323 CAC
 callthreshold {global trigger-name | interface
interface-name interface-number int-calls} low
value
high value [busyout | treatment]
 callspike call-number [steps number-of-steps
size
milliseconds]
 calltreatment {on | action action [value] | cause-
code
cause-code | isdn-reject value}
SIP CAC
 SAA RTR Responder
 rtr responder
 PSTN Fallback
 call fallback active
 Resource availability check
 call threshold global trigger-name low value high value
[busyout][treatment]
 call treatment {on | action action [value]| cause-code
cause-code | isdn-reject value}
 call threshold interface interface-name interface
number int-calls low value high value
MGCP CAC
 System Resource Check (SRC) CAC
 callthreshold global trigger-name low value high
value
treatment
 Resource Reservation Protocol (RSVP) CAC
 iprsvp bandwidth [interface-kbps [single-flow-
kbps]]
 Cisco Service Assurance Agent (SAA) CAC
 call fallback active
 mgcp rtrcac
 rtr responder
CallManager CAC
 Locations CAC
 Gatekeeper zone CAC
Redes Públicas NGN
Redes Públicas NGN Etapa 1

IP

LOCAL BROADBAND
EXCHANGE ACCESS
TDM
Redes Públicas NGN Etapa 2
APLICACIONES
IN
APPLICATION
GATEWAY

IP

TDM
Redes Públicas NGN Etapa 3
SOFTSWITCH
CL4, CL5

IP

ACCESS
TRUNK GATEWAY
GATEWAY

TDM
Redes Públicas NGN Final
SOFTSWITCH
CL4; CL5; MM

IP

TDM
VoWLAN
VoWLAN
VoWLAN
VoWLAN
VoWLAN
VoWLAN SIP MODEL
VoWLAN Y GPRS TIGHT
VoWLAN Y GPRS LOOSEY
VoWLAN Y GPRS
Referencia

Вам также может понравиться