64
Curso Avanzado de Voice over IP en H323 Página 1 de 64 Fecha: 12/02/2004 Versión Ficha: 1 Curso Avanzado de Voice over IP en H323 Titulo: Curso Avanzado de Voice over Ip en H323 Autor: : Mauro Cappelletti Revisor: Mauro Cappelletti Autorizador: Lugar Almacenaje:Loyal ISO Tiempo Retención: Vida util del Documento Confidencialidad: USO INTERNO

Curso Avanzado de VoIP en H323

Embed Size (px)

Citation preview

Page 1: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 1 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Curso Avanzado de Voice over IP en

H323

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 2: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 2 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 3: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 3 de 52

Fecha: 12/02/2004

Versión Ficha: 1

1. OPORTUNIDAD

1.1. DATOS DEL DOCUMENTO

Título: Curso Avanzado de VoIP en H323.Vigencia prevista: Ver Loyal ISO

1.2. OBJETO DEL DOCUMENTO

El objetivo de este documento es mostrar todos los elementos intervinientes en una llamada de VoIP, hace énfasis únicamente en es set de protocolos H323. También se analizaran las configuraciones típicas de cada elemento y la interacción de cada uno de modo de proporcionar una base para realizar la configuración y el troubleshooting.

1.3. BENEFICIOS A OBTENER DEL DOCUMENTO

Proveer de las herramientas y conocimientos necesarios para el troubleshooting del servicio VoIP

1.4. AMBITO DE APLICACIÓN

- Sectores y puestos de trabajo impactados:

Aseguramiento de Conmutacion Aseguramiento de Datos Creación de Redes, S.I. Grupo de servicios VoIP

- Procesos \ Subprocesos impactados:

Aseguramiento de Servicios

1.5. RECURSOS DE REDACCION Y APROBACION PREVISTOS

Autor (Redactor / Especialista Técnico): Mauro CappellettiRevisores (Repre. de Ejecución / Miembro del Grupo Revisor): Validador (Resp. Celda): Autorizador:

1.6. TIEMPOS PLANIFICADOS

Tiempo estimado de redacción: 15 díasTiempo estimado de revisión: 14 díasFecha prevista de entrega para validación: 27/02/2004

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 4: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 4 de 52

Fecha: 12/02/2004

Versión Ficha: 1

1. OPORTUNIDAD...........................................................................................2

1.1. DATOS DEL DOCUMENTO........................................................................................21.2. OBJETO DEL DOCUMENTO.......................................................................................21.3. BENEFICIOS A OBTENER DEL DOCUMENTO.............................................................21.4. AMBITO DE APLICACIÓN..........................................................................................21.5. RECURSOS DE REDACCION Y APROBACION PREVISTOS..........................................21.6. TIEMPOS PLANIFICADOS..........................................................................................2

DESARROLLO.................................................................................................5

PROTOCOLOS.................................................................................................................5Call signalingH225..................................................................................6Media Control H245................................................................................6Audio Codecs G.711, G.722, G.723, G.728 G.729.......................................7Media Transport RTP/RTCP......................................................................7Registration Admission and Status RAS...................................................7

SEÑALIZACIÓN DE LLAMADAS........................................................................................8Establecimiento de llamada....................................................................9Establecimiento del canal de Audio y negociación de capabilities............10Liberación de la llamada.......................................................................11Esquema de señalización completo........................................................12Lógica de ruteo de llamada Saliente......................................................13Logica de ruteo de llamada Entrante.....................................................14Lógica de resolución de LRQ en Gatekeeper...........................................15Lógica de resolución de ARQ en Gatekeeper...........................................16

TOPOLOGÍA..................................................................................................................17COMANDOS ÚTILES......................................................................................................17

Comandos en el Gatekeeper..................................................................18Show gatekeeper calls.................................................................................................................................18Show gatekeeper circuits.............................................................................................................................18Show gatekeeper clusters............................................................................................................................19Show gatekeeper endpoints.........................................................................................................................19Show gatekeeper gw-type-prefix................................................................................................................20Show gatekeeper performance stats............................................................................................................20Show gatekeeper status cluster....................................................................................................................21Show gatekeeper zone clusters....................................................................................................................21Show gatekeeper zone status.......................................................................................................................21Show gatekeeper zone prefix......................................................................................................................22Debugs utiles en Gatekeeper................................................................22Debug RAS.................................................................................................................................................23Debug h225 asn1.........................................................................................................................................24Comandos utiles en los Gateways..........................................................27Show gateway.............................................................................................................................................28sh controllers e1..........................................................................................................................................28Show controllers e1 1 timeslots 1-31..........................................................................................................29Show controller e1 call-counters.................................................................................................................30Show isdn active / history...........................................................................................................................30Show isdn service........................................................................................................................................31Show isdn status..........................................................................................................................................31Show isdn timers.........................................................................................................................................31Show dial-peer voice summary...................................................................................................................32Show call active voice.................................................................................................................................32

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 5: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 5 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Show call history voice...............................................................................................................................33Debug utiles en los Gateways................................................................34Debug isdn q931.........................................................................................................................................34Debug CAS.................................................................................................................................................35Debug csm voice/cas...................................................................................................................................35Debug h225 asn...........................................................................................................................................38Debug h245 asn...........................................................................................................................................38

CAUSAS DE DESCONEXION Q931.................................................................................39CONFIGURACIONES TÍPICAS.........................................................................................41

Configuración de Gatekeeper................................................................41Configuración de Gateways...................................................................45

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 6: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 6 de 52

Fecha: 12/02/2004

Versión Ficha: 1

DesarrolloProtocolos

Los protocolos involucrados en VOIP son el set de protocolos H323. Estos protocolos son los utilizados para mandar Audio y video a travez de una red de datos IP

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 7: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 7 de 52

Fecha: 12/02/2004

Versión Ficha: 1

El set de protocolos y su interacción de acuerdo al Modelo OSI es la siguiente:

Call signalingH225

Este protocolo es el encargado de la señalización de la llamada. De acuerdo a una recomendación de la ITU este set de mensajería usa y soporta mensajes Q.931. La mensajería es dirigida al GW destino mediante paquetes TCP al puerto 1720. Los mensajes más usuales de Q.931 usados son: SETUP: Mensaje de establecimiento de llamada, CALL PROCEEDING Es un mensaje en respuesta al SETUP que indica que sé esta procesando la llamada ALERTING: Mensaje hacia atrás que le indica al Abonado A que se ha localizado el Abonado B CONNECT Mensaje hacia atrás que indica al abonado A que abonado B ha atendido la llamada. En el

mensaje de connect se empiezan a pasar parámetros para la señalización H245 RESELASE COMPLETE Este mensaje es enviado por cualquiera de los extremos que desea liberar la

llamadaMedia Control H245

Este protocolo es el encargado del manejo y control de la llamada, a través de este protocolo se realiza el establecimiento de los canales de control de los canales de Audio/Video, y negociación de Facilities y Codecs asociados a la llamada. Este protocolo es el encargado de las siguientes funciones y procesos.

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 8: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 8 de 52

Fecha: 12/02/2004

Versión Ficha: 1

CAPABILITY EXCHANGE: es decir es el encargado de la negociación del codec asociado a una llamada, también se encarga de hacer el fallback de un codec de Audio a uno de FAX en el caso de que se desee mandar un fax, etc.

MASTER-SLAVE TERMINATION En toda sesión H245 siempre hay un Master y un SLAVE, dicha funcionalidad se negocia en el momento del setup de una llamada y permanece durante toda la llamada.

ROUND-TRIP DELAY. Este protocolo es el encargado de medir el Delay al extremo remoto, y también determina si el extremo remoto esta activo.

LOGICAL CHANNEL SIGNALING es el encargado de establecer y finalizar los canales de Audio, Video y Datos, Estos canales son controlados por los protocolos RTP y RTCP que viajan por UDP

Audio Codecs G.711, G.722, G.723, G.728 G.729

Estos Codecs están ubicados a nivel aplicación en el modelo OSI y son los encargados de codificar y comprimir el Audio para luego enviarlos por el canal de datos RTP que se estableció entre los dos Gateways, A modo informativo se detallan los Codecs mas usados y el BW y delay asociado a cada uno.

Standard Algorithm Bit Rate (Kbit/s)Typical end-to-end delay (ms)(excluding channel delay)

Resultant Voice Quality

G.711 PCM 48, 56, 64 <<1 ExcellentG.723.1 MPE/ACELP 5.3, 6.3 67-97 Good(6.3), Fair(5.3)H.728 LD-CELP 16 <<2 GoodG.729 CS-ACELP 8 25-35 GoodG.729 annex A

CS-ACELP 8 25-35 Good

G.722Sub-band ADPCM

48, 56, 64 <<2 Good

G.726 ADPCM 16,24,32,40 60 Good(40), Fair(24)G.727 AEDPCM 16, 24, 32, 40 60 Good(40), Fair (24)

Media Transport RTP/RTCP

RTP (Real Time Protocol) y RTCP(Real Time Control Protocol) son los protocolos encargados de establecer un canal de datos end-to-end entre los elementos intervinientes en una llamada de VOIP, estos canales son usados para mandar Audio, Vídeo y datos en tiempo real y de forma interactiva.Los paquetes RTP y RTCP están montados sobre UDP.

Registration Admission and Status RAS

Es utilizado por los Gateways para comunicarse con los gatekeepers. El canal RAS es establecido por los Gateways y es independiente de las llamadas. A través de RAS los Gateways se registran a los Gatekeepers informando prefijos, BW y estado de los recursos.Los mensajes pueden ser:1. De Registración: Estos mensajes son usados por los Gateways para registrarse a los Gatekeepers

RRQ Registration Request RCF Registration Confirm RRJ Registration Reject URQ Unregister Request UCF Register Confirm URJ Unregister Reject

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 9: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 9 de 52

Fecha: 12/02/2004

Versión Ficha: 1

2. De admisión: Estos mensajes son enviados desde los Gateways a los Gatekeeper en los cuales se solicita la IP destino para un determinado numero B ARQ Admission Request ACF Admission Confirm ARJ Admission Reject

3. De Localización: En el caso que un Gatekeeper tenga definido que un numero E.164 esta administrado por otro Gatekeeper enviara estos mensajes al Gatekeeper Remoto de modo de consultar la IP remota a la cual enviar la llamada. LRQ Location Request LCF Location Confirm LRJ Location Reject

4. Estado Información: Estos mensajes son enviados para obtener informacion del estado de los Gateways. IRQ Information Request IRR Information Request Response

5. Control de Ancho de Banda: Mensajes de administración de Ancho de banda BRQ Bandwith Request BCF Bandwith Confirm BRJ Bandwith Reject

Señalización de llamadas

La señalización entre 2 GW registrados a un mismo a un mismo Gatekeeper se muestra a continuación.

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 10: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 10 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Dicha señalización se puede separar en las siguientes 3 etapas: Establecimiento de llamada ( Señalización H225) Establecimiento de canal de Audio y negociación de capabilities (RTP y H245) Liberación de la llamada y recursos asociados

Establecimiento de llamada

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 11: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 11 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Establecimiento del canal de Audio y negociación de capabilities

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 12: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 12 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Liberación de la llamada

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 13: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 13 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Esquema de señalización completo

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 14: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 14 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Lógica de ruteo de llamada Saliente

Call Processing on the Ingress (Originating) Gateway

PSTN Side VoIP Side 1. A PSTN call arrives from a trunk group that was assigned to physical interfaces during configuration. This is call leg 1.

7. The gateway selects an outbound dial peer from a list of matched dial peers.

2. (new) The gateway associates the incoming call with a carrier ID or trunk group label based on the trunk group configuration. The gateway checks the maximum call limit. The gateway translates the called, calling, and redirect numbers using the incoming translation rule of the trunk group.

8. (new) The gateway translates the numbers using the outgoing translation rule of the outbound dial peer. If the session target is set to ENUM, the gateway performs an ENUM lookup on the translated number.

3. The gateway matches the translated numbers or the source carrier ID or source trunk group label to an inbound dial peer. The gateway checks for incoming call blocking on the dial peer.

9. (new) If Open Settlements Protocol (OSP) is configured on the gateway, the gateway performs OSP on the translated call numbers. The OSP token contains the final translated call numbers.

4. The gateway starts a default or IVR session for the incoming call.

10. The gateway makes a call setup request.If the outgoing call is going to be routed using H.323 or SIP, the gateway sends the call's source carrier ID to the terminating gateway.

5. (new) The gateway translates the numbers again using the incoming translation rule of the inbound dial peer.

11. The outbound VoIP call goes out. This is call leg 2.

6. The gateway uses the newly translated called numbers to match an outbound dial peer. At the same time, the gateway performs AAA operations on the translated call numbers.

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 15: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 15 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Logica de ruteo de llamada Entrante

Call Processing in the Egress (Terminating) Gateway VoIP Side PSTN Side

1. (new) A VoIP call arrives from a source IP group. This is call leg 3. Depending on how the source IP group is defined, the incoming H.323 or SIP call may be matched to a source carrier ID, source trunk-group label, source IP address, or (for H.323 calls only) source H.323 zone ID. The gateway uses the source IP group to associate the call with a target carrier ID or target trunk-group label for matching the outbound dial peer.

7. The gateway selects an outbound dial peer.

2. (new) The gateway translates the incoming call numbers using the incoming translation rule of the source IP group.

8. (new) The gateway translates the numbers using the outgoing translation rule of the outbound dial peer.

3. The gateway matches the translated numbers to an inbound dial peer and checks for incoming call blocking on the dial peer.

9. The gateway makes a call setup request.

4. The gateway starts a default or IVR session for the incoming call.

10. (new) The gateway selects an interface from a trunk group to make an outbound call. The interface is selected based on the hunt scheme configured for the trunk group.

5. (new) The gateway translates the numbers again using the incoming translation rule of the inbound dial peer.

11. (new) The gateway translates the number using the outgoing translation rule of a trunk group.

6. The gateway uses the newly translated number, the target carrier ID, or the target trunk-group-label

12. The outbound PSTN call goes out. This is call leg 4.

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 16: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 16 de 52

Fecha: 12/02/2004

Versión Ficha: 1

to match an outbound dial peer.Lógica de resolución de LRQ en Gatekeeper

Esta gráfica muestra como es la lógica de decisión seguida por el Gatekeeper CISCO para manejar los mensajes de LRQ

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 17: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 17 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Lógica de resolución de ARQ en Gatekeeper

Acá se ve como el Gatekeeper interactua con los Gateways cuando recibe un mensaje de ARQ.

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 18: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 18 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Topología

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 19: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 19 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Comandos útiles

Comandos en el Gatekeeper

Estos son los comandos más útiles en respecto a la funcionalidad de Gatekeeper

Show gatekeeper calls Show gatekeeper circuits Show gatekeeper clusters Show gatekeeper endpoints Show gatekeeper gw-type-prefix Show gatekeeper performance Show gatekeeper servers Show gatekeeper status cluster Show gatekeeper zone clusters Show gatekeeper zone status Show gatekeeper zone prefix

Show gatekeeper callsEste comando muestra las llamadas administradas por el gatekeeper.

GK1BELGRANO#sh gatekeeper callsTotal number of active calls = 98. GATEKEEPER CALL INFO ====================LocalCallID Age(secs) BW2-63394 172 16(Kbps) Endpt(s): Alias E.164Addr src EP: msc-vip2.nj.itxc.net 4912345678 Endpt(s): Alias E.164Addr dst EP: GWNGOLF1 6600#55712644677 CallSignalAddr Port RASSignalAddr Port 200.43.184.205 1720 200.43.184.205 50838LocalCallID Age(secs) BW8-43417 303 16(Kbps) Endpt(s): Alias E.164Addr src EP: GW6MUNRO 5300 CallSignalAddr Port RASSignalAddr Port 200.43.17.10 1720 200.43.17.10 51021 Endpt(s): Alias E.164Addr dst EP: 5350#59842770574 CallSignalAddr Port RASSignalAddr Port 200.40.209.130 1720 200.40.209.130 1720

Show gatekeeper circuitsCon este comando se pueden ver los circuitos asociados a un troncal. Los Gateways informan al GK cuantos circuitos están disponibles por cada troncal.

GK1BELGRANO#sh gatekeeper circuits

CIRCUIT INFORMATION ===================Circuit Endpoint Max Calls Avail Calls Resources Zone------- -------- --------- ----------- --------- ----SAKON Total Endpoints: 1 GWNGOLF1 30 30 AvailablePI1GN Total Endpoints: 1 GWNGOLF1 30 30 Available

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 20: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 20 de 52

Fecha: 12/02/2004

Versión Ficha: 1

VECTONE Total Endpoints: 1 GW5MUNRO 60 60 AvailableSI5MM1 Total Endpoints: 1 GW1MUNRO 15 15 AvailableTERRA Total Endpoints: 2 GWNGOLF1 90 78 Available GW6MUNRO 30 21 AvailableO3ATIP Total Endpoints: 1 GWNGOLF1 30 30 Available

Show gatekeeper clustersCon este comando se ve el estado de los clusters locales configurados.

GK1BELGRANO#sh gatekeeper clusters

CONFIGURED CLUSTERS ===================Cluster Name Type Local Zone Elements IP------------ ---- ---------- -------- --TELECOM Local GK1BELGRANO GK1GOLF 200.43.2.7 1719DONPIC Local DONPI1 DONPI2 200.43.2.7 1719

Show gatekeeper endpointsEjecutando este comando se pueden ver todos los enpoints (Gateways ) que se encuentran registrados a las distintas zonas locales del GK.A cada Endpoint aparecen asociados algunos FLAGS los cuales indican lo siguiente Flag A: Indica que este GW no sean registrados a este GK sino otro GK que pertenece al mismo cluster. Flag O indica que este GW no tiene recursos suficientes para el manejo de llamadas

GK1BELGRANO#sh gatekeeper endpoints GATEKEEPER ENDPOINT REGISTRATION ================================CallSignalAddr Port RASSignalAddr Port Zone Name Type Flags--------------- ----- --------------- ----- --------- ---- -----200.43.5.3 1720 200.43.5.3 51495 GK1BELGRANO VOIP-GW H323-ID: GW1MUNRO Voice Capacity Max.= 40 Avail.= 40200.43.4.4 1720 200.43.4.4 57140 GK1BELGRANO VOIP-GW A H323-ID: GW1GOLF200.43.5.4 1720 200.43.5.4 56321 GK1BELGRANO VOIP-GW O H323-ID: GW2MUNRO Voice Capacity Max.= 0 Avail.= 0200.43.5.5 1720 200.43.5.5 58536 GK1BELGRANO VOIP-GW H323-ID: GW3MUNRO Voice Capacity Max.= 60 Avail.= 60200.43.17.5 1720 200.43.17.5 51408 GK1BELGRANO VOIP-GW H323-ID: GW5MUNRO Voice Capacity Max.= 100 Avail.= 100200.43.17.9 1720 200.43.17.9 54198 GK1BELGRANO VOIP-GW H323-ID: GW4MUNRO Voice Capacity Max.= 30 Avail.= 27200.43.17.10 1720 200.43.17.10 51021 GK1BELGRANO VOIP-GW H323-ID: GW6MUNRO Voice Capacity Max.= 90 Avail.= 55212.51.58.137 1171 212.51.58.137 1166 DONPI1 VOIP-GW A H323-ID: Arg_Telekom2_1212.51.58.137 1170 212.51.58.137 1167 DONPI1 VOIP-GW A H323-ID: Arg_Telekom_165.199.227.130 1720 65.199.227.130 50763 GK1BELGRANO VOIP-GW H323-ID: GW1USA Voice Capacity Max.= 69 Avail.= 57200.43.184.205 1720 200.43.184.205 50838 GK1BELGRANO VOIP-GW

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 21: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 21 de 52

Fecha: 12/02/2004

Versión Ficha: 1

H323-ID: GWNGOLF1 Voice Capacity Max.= 524 Avail.= 461200.43.184.206 1720 200.43.184.206 56989 GK1BELGRANO VOIP-GW O H323-ID: GWNGOLF2Total number of active registrations = 12

Show gatekeeper gw-type-prefixMediante este comando se puede ver como procederá el GK para responder los LRQ y ARQ de acuerdo a la su lógica de resolución de prefix y recursos disponibles en los GWs.

GK1BELGRANO#sh gatekeeper gw-type-prefixGATEWAY TYPE PREFIX TABLE=========================Prefix: 5550#* (Hopoff zone GK-MICBOL)

Prefix: 5350#* (Hopoff zone uniotel-uy)

Prefix: 5650#* (Hopoff zone GK_WIPTELECOM)

Prefix: 5300#* Zone GK1BELGRANO master gateway list: 200.43.17.9:1720 GW4MUNRO 200.43.17.10:1720 GW6MUNRO 65.199.227.130:1720 GW1USA 200.43.184.205:1720 GWNGOLF1 200.43.184.206:1720 GWNGOLF2 (out-of-resources) Zone GK1BELGRANO prefix * priority gateway list(s): Priority 5: 200.43.17.9:1720 GW4MUNRO 200.43.17.10:1720 GW6MUNRO 200.43.184.205:1720 GWNGOLF1 200.43.184.206:1720 GWNGOLF2 (out-of-resources) Priority 3: 65.199.227.130:1720 GW1USA Zone GK1BELGRANO prefix 973* priority gateway list(s): Priority 10: 65.199.227.130:1720 GW1USA Priority 5: 200.43.17.9:1720 GW4MUNRO 200.43.17.10:1720 GW6MUNRO 200.43.184.205:1720 GWNGOLF1 200.43.184.206:1720 GWNGOLF2 (out-of-resources) Zone GK1BELGRANO prefix 51* priority gateway list(s): Priority 10: 65.199.227.130:1720 GW1USA Priority 5: 200.43.17.9:1720 GW4MUNRO 200.43.17.10:1720 GW6MUNRO 200.43.184.205:1720 GWNGOLF1 200.43.184.206:1720 GWNGOLF2 (out-of-resources)

Prefix: 5950#* (Hopoff zone DONPI1) Zone DONPI1 master gateway list: 212.51.58.137:1171 Arg_Telekom2_1 212.51.58.137:1170 Arg_Telekom_1

Show gatekeeper performance statsEste comando muestra la performance del GK en la resolución de los distintos paquetes RAS no aporta mucha información

GK1BELGRANO#sh gatekeeper performance statsPerformance statistics captured since: 21:00:06 AWT Sun Feb 28 1993

RAS inbound message counters: Originating ARQ: 622707 Terminating ARQ: 1095750 LRQ: 522052

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 22: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 22 de 52

Fecha: 12/02/2004

Versión Ficha: 1

RAS outbound message counters: ACF: 1704244 ARJ: 14259 LCF: 521644 LRJ: 408 ARJ due to overload: 0 LRJ due to overload: 0

Load balancing events: 0Real endpoints: 9GK1BELGRANO#

Show gatekeeper status clusterEste comando muestra como esta la señalización GUP (Gatekeeper Update Protocol) entre los GK que pertenecen al cluster, además muestra cuantos GW están registrados a cada uno:

GK1BELGRANO#sh gatekeeper status cluster

CLUSTER INFORMATION =================== Active Endpoint LastHostname %Mem %CPU Calls Count Announce-------- ---- ---- ------ -------- --------GK1BELGRANO 3 0 84 9 Local HostGK1GOLF 5 0 0 3 16s

Show gatekeeper zone clustersSe puede ver el estado del cluster asi como tambien el tiempo que transcurrio desde que se recibio el ultimo mensaje de GUP

GK1BELGRANO#sh gatekeeper zone cluster LOCAL CLUSTER INFORMATION ========================= TOT BW INT BW REM BW LAST ALT GKLOCAL GK NAME ALT GK NAME PRI (kbps) (kbps) (kbps) ANNOUNCE STATUS------------- ----------- --- ------ ------ ------ -------- ------GK1BELGRANO GK1GOLF 0 0 0 0 13s CONNECTEDDONPI1 DONPI2 0 0 0 0 13s CONNECTED

Show gatekeeper zone statusEste comando muestra el estado del GK local así como también los GK remotos y el estado de los mismos:

GK1BELGRANO#sh gatekeeper zone status GATEKEEPER ZONES ================GK name Domain Name RAS Address PORT FLAGS------- ----------- ----------- ----- -----

GK1BELGRANO telecom.net.a 200.43.31.7 1719 LS BANDWIDTH INFORMATION (kbps) : Maximum total bandwidth : unlimited Current total bandwidth : 2124 Current total bandwidth (w/ Alt GKs) : 2124 Maximum interzone bandwidth : unlimited Current interzone bandwidth : 2124 Current interzone bandwidth (w/ Alt GKs) : 2124 Maximum session bandwidth : unlimited Total number of concurrent calls : 87 SUBNET ATTRIBUTES : All Other Subnets : (Enabled) PROXY USAGE CONFIGURATION : Inbound Calls from all other zones : to terminals in local zone GK1BELGRANO : use proxy to gateways in local zone GK1BELGRANO : do not use proxy to MCUs in local zone GK1BELGRANO : do not use proxy Outbound Calls to all other zones : from terminals in local zone GK1BELGRANO : use proxy

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 23: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 23 de 52

Fecha: 12/02/2004

Versión Ficha: 1

from gateways in local zone GK1BELGRANO : do not use proxy from MCUs in local zone GK1BELGRANO : do not use proxy

DONPI1 donpi.com 200.43.31.7 1719 LS BANDWIDTH INFORMATION (kbps) : Maximum total bandwidth : unlimited Current total bandwidth : 0 Current total bandwidth (w/ Alt GKs) : 0 Maximum interzone bandwidth : unlimited Current interzone bandwidth : 0 Current interzone bandwidth (w/ Alt GKs) : 0 Maximum session bandwidth : unlimited SUBNET ATTRIBUTES : All Other Subnets : (Enabled) PROXY USAGE CONFIGURATION : Inbound Calls from all other zones : to terminals in local zone DONPI1 : use proxy to gateways in local zone DONPI1 : do not use proxy to MCUs in local zone DONPI1 : do not use proxy Outbound Calls to all other zones : from terminals in local zone DONPI1 : use proxy from gateways in local zone DONPI1 : do not use proxy from MCUs in local zone DONPI1 : do not use proxy

iBasis.LOCAL iBasis.net 216.168.162.79 1719 RS

Sakon-3.05-6 sakon.com 65.198.126.69 1719 RS

GK-ATLANTEL atlantel.com 65.240.234.66 1719 RS

GK_ITXC itxc.net 64.7.112.209 1719 RS

GK_COMUNITEL comunitel.es 217.130.128.145 1719 RS

HITECH hitel.com.au 203.166.48.135 1719 RS

dalmsw01 vinculum.net 66.241.7.200 1719 RS

gk-eads-1 multicoms.net 208.49.146.230 1719 RS

gk-eads-2 multicoms.net 212.208.36.74 1719 RS

Show gatekeeper zone prefixEste comando muestra los prefijos configurados a las distintas zonas

GK1BELGRANO#sh gatekeeper zone prefix ZONE PREFIX TABLE =================GK-NAME E164-PREFIX------- -----------GK1BELGRANO 253*GK1BELGRANO 51*GK1BELGRANO 52*GK1BELGRANO 57*GK1BELGRANO 92*GK1BELGRANO 973*GK1BELGRANO *

Debugs utiles en Gatekeeper

Los debugs útiles en el GW son Debug RAS Debug h225 asn1

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 24: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 24 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Estos debugs sirven para verificar que la señalización entre los GWs y los GKs se esta recibiendo y enviando correctamente, Es aconsejable utilizar estos debug con cautela ya que cargan la CPU del Router, lo que puede producir caidas del mismo.

Debug RAS

Este debug permite ver la señalización que intercambia el GK con los diferentes Gateways y gatekeeper

GK1BELGRANO#Feb 12 11:18:43.995 AWT: IPSOCK_RAS_sendto: msg length 3 from 200.43.31.7:1719 to 200.43.184.205: 50838Feb 12 11:18:43.995 AWT: RASLib::RASSendDCF: DCF (seq# 63027) sent to 200.43.184.205Feb 12 11:18:45.983 AWT: RecvUDP_IPSockData successfully rcvd message of length 237 from 200.43.17.10:51021Feb 12 11:18:45.983 AWT: ARQ (seq# 32171) rcvdparse_arq_nonstd: ARQ Nonstd decode succeeded, remlen = 1634270844Feb 12 11:18:45.983 AWT: IPSOCK_RAS_sendto: msg length 183 from 200.43.31.7:1719 to 200.40.198.98: 1719Feb 12 11:18:45.983 AWT: RASLib::RASSendLRQ: LRQ (seq# 30973) sent to 200.40.198.98Feb 12 11:18:45.983 AWT: IPSOCK_RAS_sendto: msg length 7 from 200.43.31.7:1719 to 200.43.17.10: 51021Feb 12 11:18:45.983 AWT: RASLib::RASSendRIP: RIP (seq# 32171) sent to 200.43.17.10Feb 12 11:18:46.019 AWT: RecvUDP_IPSockData successfully rcvd message of length 217 from 200.40.198.98:1719Feb 12 11:18:46.019 AWT: LCF (seq# 30973) rcvdparse_lcf_nonstd: LCF Nonstd decode succeeded, remlen = 1634270844Feb 12 11:18:46.019 AWT: IPSOCK_RAS_sendto: msg length 163 from 200.43.31.7:1719 to 200.43.17.10: 51021Feb 12 11:18:46.019 AWT: RASLib::RASSendACF: ACF (seq# 32171) sent to 200.43.17.10Feb 12 11:18:46.119 AWT: RecvUDP_IPSockData successfully rcvd message of length 80 from 200.43.17.10:51021Feb 12 11:18:46.119 AWT: BRQ (seq# 32172) rcvdFeb 12 11:18:46.119 AWT: IPSOCK_RAS_sendto: msg length 5 from 200.43.31.7:1719 to 200.43.17.10: 51021Feb 12 11:18:46.119 AWT: RASLib::RASSendBCF: BCF (seq# 32172) sent to 200.43.17.10Feb 12 11:18:46.791 AWT: RecvUDP_IPSockData successfully rcvd message of length 63 from 208.208.209.209:1719Feb 12 11:18:46.791 AWT: LRQ (seq# 18366) rcvdparse_lrq_nonstd: LRQ Nonstd decode succeeded, remlen = 1637935864Feb 12 11:18:46.791 AWT: IPSOCK_RAS_sendto: msg length 126 from 200.43.31.7:1719 to 208.208.209.209: 1719Feb 12 11:18:46.791 AWT: RASLib::RASSendLCF: LCF (seq# 18366) sent to 208.208.209.209Feb 12 11:18:47.071 AWT: RecvUDP_IPSockData successfully rcvd message of length 130 from 200.43.17.10:51021Feb 12 11:18:47.071 AWT: ARQ (seq# 32173) rcvdparse_arq_nonstd: ARQ Nonstd decode succeeded, remlen = 1634270844Feb 12 11:18:47.071 AWT: IPSOCK_RAS_sendto: msg length 25 from 200.43.31.7:1719 to 200.43.17.10: 51021Feb 12 11:18:47.071 AWT: RASLib::RASSendACF: ACF (seq# 32173) sent to 200.43.17.10Feb 12 11:18:47.615 AWT: RecvUDP_IPSockData successfully rcvd message of length 237 from 200.43.17.10:51021Feb 12 11:18:47.615 AWT: ARQ (seq# 32174) rcvdparse_arq_nonstd: ARQ Nonstd decode succeeded, remlen = 1634270844Feb 12 11:18:47.615 AWT: IPSOCK_RAS_sendto: msg length 183 from 200.43.31.7:1719 to 200.40.198.98: 1719Feb 12 11:18:47.615 AWT: RASLib::RASSendLRQ: LRQ (seq# 30974) sent to 200.40.198.98Feb 12 11:18:47.615 AWT: IPSOCK_RAS_sendto: msg length 7 from 200.43.31.7:1719 to 200.43.17.10: 51021Feb 12 11:18:47.615 AWT: RASLib::RASSendRIP: RIP (seq# 32174) sent to 200.43.17.10Feb 12 11:18:47.647 AWT: RecvUDP_IPSockData successfully rcvd message of length 225 from 200.40.198.98:1719Feb 12 11:18:47.647 AWT: LCF (seq# 30974) rcvdparse_lcf_nonstd: LCF Nonstd decode succeeded, remlen = 1634270844Feb 12 11:18:47.651 AWT: IPSOCK_RAS_sendto: msg length 163 from 200.43.31.7:1719 to 200.43.17.10: 51021Feb 12 11:18:47.651 AWT: RASLib::RASSendACF: ACF (seq# 32174) sent to 200.43.17.10

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 25: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 25 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Feb 12 11:18:47.743 AWT: RecvUDP_IPSockData successfully rcvd message of length 80 from 200.43.17.10:51021Feb 12 11:18:47.743 AWT: BRQ (seq# 32175) rcvdFeb 12 11:18:47.743 AWT: IPSOCK_RAS_sendto: msg length 5 from 200.43.31.7:1719 to 200.43.17.10: 51021Feb 12 11:18:47.743 AWT: RASLib::RASSendBCF: BCF (seq# 32175) sent to 200.43.17.10Feb 12 11:18:47.871 AWT: RecvUDP_IPSockData successfully rcvd message of length 97 from 200.43.17.10:51021Feb 12 11:18:47.871 AWT: RRQ (seq# 32176) rcvdFeb 12 11:18:47.871 AWT: IPSOCK_RAS_sendto: msg length 103 from 200.43.31.7:1719 to 200.43.17.10: 51021Feb 12 11:18:47.871 AWT: RASLib::RASSendRCF: RCF (seq# 32176) sent to 200.43.17.10Feb 12 11:18:49.211 AWT: RecvUDP_IPSockData successfully rcvd message of length 116 from 200.43.17.10:51021Feb 12 11:18:49.211 AWT: DRQ (seq# 32177) rcvd

Debug h225 asn1En este debug se ve el mensaje completo de RAS, en el cual se puede ver su contenido del mismo.

Feb 12 11:49:45.742 AWT: RAS INCOMING ENCODE BUFFER::= 27 8887D800 F0003600 31004200 41003300 33004600 38003000 30003000 30003000 30003000 39010780 868308CB 757B9993 02018086 33400700 47005700 36004D00 55004E00 52004F40 05007A57 40B50000 125A8000 000EB801 800E1844 53302047 726F7570 20313A30 12204449 5520302D 34342D32 204F3455 4E495030 002D4941 4D2C0D0A 4743492C 38383462 38393730 35636131 31316438 39383031 38623539 38616361 65303630 0D0A0D0A 884B8970 5CA111D8 98018B59 8ACAE060 08E02600 01801100 884C2630 5CA111D8 98038B59 8ACAE060 01000C28 00014003 0A4F3455 4E495008 42054F34 554E4950Feb 12 11:49:45.746 AWT:Feb 12 11:49:45.746 AWT: RAS INCOMING PDU ::=

value RasMessage ::= admissionRequest : { requestSeqNum 34777 callType pointToPoint : NULL callModel direct : NULL endpointIdentifier {"61BA33F800000009"} destinationInfo { dialedDigits : "5350#59842486660" } srcInfo { dialedDigits : "5300", h323-ID : {"GW6MUNRO"} } bandWidth 1280 callReferenceValue 31319 nonStandardData { nonStandardIdentifier h221NonStandard : { t35CountryCode 181 t35Extension 0 manufacturerCode 18 } data '8000000EB801800E184453302047726F75702031...'H } conferenceID '884B89705CA111D898018B598ACAE060'H activeMC FALSE answerCall FALSE canMapAlias TRUE callIdentifier { guid '884C26305CA111D898038B598ACAE060'H } willSupplyUUIEs FALSE capacity {

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 26: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 26 de 52

Fecha: 12/02/2004

Versión Ficha: 1

currentCallCapacity { voiceGwCallsAvailable {

{ calls 3 group "O4UNIP" } } } } circuitInfo { sourceCircuitID { group { group "O4UNIP" } } } }

Feb 12 11:49:45.754 AWT: H225 NONSTD OUTGOING ENCODE BUFFER::= 82 87B31100 884C2630 5CA111D8 98038B59 8ACAE060 01801702 01808633 40070047 00570036 004D0055 004E0052 004F1220 44495520 302D3434 2D32204F 34554E49 5030002D 49414D2C 0D0A4743 492C3838 34623839 37303563 61313131 64383938 30313862 35393861 63616530 36300D0A 0D0AFeb 12 11:49:45.754 AWT:Feb 12 11:49:45.754 AWT: RAS OUTGOING PDU ::=

value RasMessage ::= locationRequest : { requestSeqNum 31726 destinationInfo { dialedDigits : "5350#59842486660" } nonStandardData { nonStandardIdentifier h221NonStandard : { t35CountryCode 181 t35Extension 0 manufacturerCode 18 } data '8287B31100884C26305CA111D898038B598ACAE0...'H } replyAddress ipAddress : { ip 'C82B1F07'H port 1719 } sourceInfo { h323-ID : {"GK1BELGRANO"} } canMapAlias TRUE circuitInfo { sourceCircuitID { group { group "O4UNIP" } } }

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 27: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 27 de 52

Fecha: 12/02/2004

Versión Ficha: 1

}Feb 12 11:49:46.302 AWT: RAS INCOMING ENCODE BUFFER::= 4F 7BEC00C8 28D1D206 B800C828 D1D2C2AB 40B50000 1280A380 01400900 32003600 31003100 5F007000 61007900 5F003112 0075006E 0069006F 00740065 006C002D 00750079 01100140 09003200 36003100 31005F00 70006100 79005F00 3100C828 D1D206B8 00000000 00000000 00000380 17020180 86334007 00470057 0036004D 0055004E 0052004F 3100002D 49414D2C 0D0A4743 492C3838 33313462 32363563 61313131 64383937 66653862 35393861 63616530 36300D0A 0D0A1D40 080B0107 00868308 CBA55B54 A0050880 01380008 42054F34 554E4950Feb 12 11:49:46.306 AWT:Feb 12 11:49:46.306 AWT: RAS INCOMING PDU ::=

value RasMessage ::= locationConfirm : { requestSeqNum 31725 callSignalAddress ipAddress : { ip 'C828D1D2'H port 1720 } rasAddress ipAddress : { ip 'C828D1D2'H port 49835 } nonStandardData { nonStandardIdentifier h221NonStandard : { t35CountryCode 181 t35Extension 0 manufacturerCode 18 } data '800140090032003600310031005F007000610079...'H } destinationInfo { dialedDigits : "5350#5987228217" } destinationType { gateway { protocol { voice : { } } } mc FALSE undefinedNode FALSE } circuitInfo {

sourceCircuitID { group { group "O4UNIP" } } } }Feb 12 11:49:45.666 AWT: H225 NONSTD OUTGOING ENCODE BUFFER::= 80 02018086 33400700 47005700 36004D00 55004E00 52004F01 07808683 08CB7555 C5980380 17020180 86334007 00470057 0036004D 0055004E 0052004F 3100002D 49414D2C 0D0A4743 492C3837 66346464 35353563 61313131 64383937 66623862 35393861 63616530 36300D0A 0D0AFeb 12 11:49:45.666 AWT:Feb 12 11:49:45.666 AWT: RAS OUTGOING PDU ::=

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 28: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 28 de 52

Fecha: 12/02/2004

Versión Ficha: 1

value RasMessage ::= admissionConfirm : { requestSeqNum 34775 bandWidth 1280 callModel direct : NULL destCallSignalAddress ipAddress : { ip 'C828D182'H port 1720 } irrFrequency 240 nonStandardData { nonStandardIdentifier h221NonStandard : { t35CountryCode 181 t35Extension 0 manufacturerCode 18 } data '8002018086334007004700570036004D0055004E...'H } destinationInfo { dialedDigits : "5350#59842229265" } willRespondToIRR FALSE

uuiesRequested { setup FALSE callProceeding FALSE connect FALSE alerting FALSE information FALSE releaseComplete FALSE facility FALSE progress FALSE empty FALSE } circuitInfo { sourceCircuitID { group {

group "O4UNIP" } } } }

Comandos utiles en los Gateways

Ademas de los comandos tipicos en un GW referentes a la funcionalidad de router tambien se pueden ejecutar los siguientes comandos:

Show gatewaysh controllers e1Show controllers e1 1 timeslots 1-31Show controller e1 call-countersShow isdn active / historyShow isdn service

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 29: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 29 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Show isdn statusShow isdn timersShow dial-peer voice summaryShow call active voiceShow call history voice

Show gatewayEste comando permite ver si el Gateway esta registrado y cuales son los GK que tiene configurado. Si un GW no esta registrado a ningun GK no podra enviar o recibir llamadas a traves de estos

GW3MUNRO#sh gatewayH.323 ITU-T Version: 4.0 H323 Stack Version: 0.1 Gateway GW3MUNRO is registered to Gatekeeper GK1BELGRANO

Alias list (CLI configured) H323-ID GW3MUNROAlias list (last RCF) H323-ID GW3MUNRO

H323 resource thresholding is Disabled Permanent Alternate Gatekeeper List priority 0 id GK1GOLF ipaddr 200.43.2.7 1719 register needed priority 40 id GK1BELGRANO ipaddr 200.43.31.7 1719 register needed Primary gatekeeper ID GK1BELGRANO ipaddr 200.43.31.7 1719GW3MUNRO#

sh controllers e1Con este comando se puede ver el estado de las E1, se pueden detectar errores en trama y AIS

E1 0 is up. Applique type is Channelized E1 - unbalanced Description: DIU 0-28-2 IBASIS<->TECO No alarms detected. alarm-trigger is not set Version info of slot 0: HW: 1, PLD Rev: 11 Framer Version: 0x8

Manufacture Cookie Info: EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x49, Board Hardware Version 3.1, Item Number 800-3883-02, Board Revision B0, Serial Number 20650891, PLD/ISP Version 0.1, Manufacture Date 18-Jun-2000.

Framing is NO-CRC4, Line Code is HDB3, Clock Source is Line Primary. Data in current interval (551 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail Secs Total Data (last 24 hours) 0 Line Code Violations, 0 Path Code Violations, 0 Slip Secs, 0 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins, 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 0 Unavail SecsE1 7 is down. Applique type is Channelized E1 - balanced Far End Block Errors Detected Receiver has loss of signal. alarm-trigger is not set Version info of slot 0: HW: 1, PLD Rev: 11 Framer Version: 0x8

Manufacture Cookie Info: EEPROM Type 0x0001, EEPROM Version 0x01, Board ID 0x49, Board Hardware Version 3.1, Item Number 800-3883-02,

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 30: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 30 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Board Revision B0, Serial Number 20650891, PLD/ISP Version 0.1, Manufacture Date 18-Jun-2000.

Framing is CRC4, Line Code is HDB3, Clock Source is Line Secondary. Data in current interval (618 seconds elapsed): 0 Line Code Violations, 0 Path Code Violations 26 Slip Secs, 618 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 618 Unavail Secs Total Data (last 24 hours) 0 Line Code Violations, 0 Path Code Violations, 3718 Slip Secs, 86400 Fr Loss Secs, 0 Line Err Secs, 0 Degraded Mins, 0 Errored Secs, 0 Bursty Err Secs, 0 Severely Err Secs, 86400 Unavail Secs

Show controllers e1 1 timeslots 1-31Este comando permite ver el estado de los timeslot y los bits de señalizacion R2.

GW3MUNRO#sh controllers e1 1 timeslots 1-31

SERVICE STATES CAS CHANNEL STATESinsvc = In Service down = Downoutofsvc = Out of Service idle = Idlemaint = Maintenance connected = Call Connected signaling = Signaling static-bo = Static Busyout dynamic-bo = Dynamic Busyout

ISDN CHANNEL STATES idle = Available proposed = Negotiating busy = Unavailable reserved = Reserved restart = Restart Pending maint_pend = Maintenance Pending reassigned = Reassigned prop'd_1tr6= Net may change channel #

E1 1 is up:Loopback: NONEDS0 Type Modem <-> Service Channel Rx Tx State State A B C D A B C D--------------------------------------------------------------------------- 1 cas - - insvc idle 1 0 0 1 1 0 0 1 2 cas - - insvc idle 1 0 0 1 1 0 0 1 3 cas - - insvc idle 1 0 0 1 1 0 0 1 4 cas - - insvc idle 1 0 0 1 1 0 0 1 5 cas - - insvc idle 1 0 0 1 1 0 0 1 6 cas - - insvc idle 1 0 0 1 1 0 0 1 7 cas - - insvc idle 1 0 0 1 1 0 0 1 8 cas - - insvc idle 1 0 0 1 1 0 0 1 9 cas - - insvc idle 1 0 0 1 1 0 0 110 cas - - insvc idle 1 0 0 1 1 0 0 111 cas - - insvc idle 1 0 0 1 1 0 0 112 cas - - insvc idle 1 0 0 1 1 0 0 113 cas - - insvc idle 1 0 0 1 1 0 0 114 cas - - insvc idle 1 0 0 1 1 0 0 115 cas - - insvc idle 1 0 0 1 1 0 0 117 cas - - insvc idle 1 0 0 1 1 0 0 118 cas - - insvc idle 1 0 0 1 1 0 0 119 cas - - insvc idle 1 0 0 1 1 0 0 120 cas - - insvc idle 1 0 0 1 1 0 0 121 cas - - insvc idle 1 0 0 1 1 0 0 122 cas - - insvc idle 1 0 0 1 1 0 0 123 cas - - insvc idle 1 0 0 1 1 0 0 124 cas - - insvc idle 1 0 0 1 1 0 0 125 cas - - insvc idle 1 0 0 1 1 0 0 126 cas - - insvc idle 1 0 0 1 1 0 0 127 cas - - insvc idle 1 0 0 1 1 0 0 1

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 31: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 31 de 52

Fecha: 12/02/2004

Versión Ficha: 1

28 cas - - insvc idle 1 0 0 1 1 0 0 129 cas - - insvc idle 1 0 0 1 1 0 0 130 cas - - insvc idle 1 0 0 1 1 0 0 131 cas - - insvc idle 1 0 0 1 1 0 0 1

Show controller e1 call-countersCon este comando se ve la cantidad de llamadas y suma de la duracion total de las llamadas que se cursaron por cada circuito

GW6MUNRO#sh controllers e1 1 call-countersE1 1: DS0's Active: 23 DS0's Active High Water Mark: 30 TimeSlot Type TotalCalls TotalDuration 1 cas 2599 6d13h 2 cas 2335 6d00h 3 cas 2242 5d16h 4 cas 2131 5d08h 5 cas 1974 5d02h 6 cas 1884 4d20h 7 cas 1695 4d13h 8 cas 1680 4d07h 9 cas 1597 4d02h 10 cas 1504 3d20h 11 cas 1446 3d14h 12 cas 1310 3d08h 13 cas 1239 3d06h 14 cas 1225 3d01h 15 cas 1192 2d21h 17 cas 1089 2d18h 18 cas 999 2d15h 19 cas 947 2d11h 20 cas 894 2d07h 21 cas 859 2d04h 22 cas 746 2d00h 23 cas 708 1d23h 24 cas 755 1d17h 25 cas 647 1d13h 26 cas 571 1d11h 27 cas 501 1d08h 28 cas 440 1d06h 29 cas 424 1d02h 30 cas 348 23:17:52 31 cas 334 21:46:51

Total DS0's Active High Water Mark: 59Total Calls since System Bootup: 52296

Show isdn active / historySe puede ver la cantidad de llamadas que salieron y entraron por los troncales ISDN.

GW1USA#sh isdn active-------------------------------------------------------------------------------- ISDN ACTIVE CALLS--------------------------------------------------------------------------------Call Calling Called Remote Seconds Seconds Seconds ChargesType Number Number Name Used Left Idle Units/Currency--------------------------------------------------------------------------------Out ---N/A--- 5112474990 1517 Unavail - 0Out ---N/A--- 5112416849 499 Unavail - 0Out ---N/A--- 5112258861 315 Unavail - 0Out ---N/A--- 5112643554 297 Unavail - 0In ---N/A--- +5981951249 130 Unavail -In +4946319229 +5981862720 117 Unavail -Out ---N/A--- 5112617239 57 Unavail - 0--------------------------------------------------------------------------------

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 32: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 32 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Show isdn serviceEste comando muestra el estado de los distintos circuitos de un troncal ISDN

GW1USA#sh isdn servicePRI Channel Statistics:ISDN Se0:23, Channel [1-24] Configured Isdn Interface (dsl) 0 Channel State (0=Idle 1=Proposed 2=Busy 3=Reserved 4=Restart 5=Maint_Pend) Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 State : 0 2 2 2 0 0 0 2 0 2 0 0 0 0 0 0 0 0 0 0 2 0 0 3 Service State (0=Inservice 1=Maint 2=Outofservice) Channel : 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 State : 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2

Show isdn statusMuestra el estado de las distintas capas de ISDN

GW1USA#sh isdn statusGlobal ISDN Switchtype = primary-niISDN Serial0:23 interface dsl 0, interface ISDN Switchtype = primary-ni Layer 1 Status: ACTIVE Layer 2 Status: TEI = 0, Ces = 1, SAPI = 0, State = MULTIPLE_FRAME_ESTABLISHED Layer 3 Status: 6 Active Layer 3 Call(s) CCB:callid=7BE0, sapi=0, ces=0, B-chan=21, calltype=VOICE CCB:callid=7BE1, sapi=0, ces=0, B-chan=4, calltype=VOICE CCB:callid=7BF1, sapi=0, ces=0, B-chan=10, calltype=VOICE CCB:callid=7BFB, sapi=0, ces=0, B-chan=3, calltype=VOICE CCB:callid=7BFD, sapi=0, ces=0, B-chan=2, calltype=VOICE CCB:callid=7C01, sapi=0, ces=0, B-chan=13, calltype=VOICE Active dsl 0 CCBs = 6 The Free Channel Mask: 0x806FEDF1 Number of L2 Discards = 0, L2 Session ID = 16

Show isdn timersSe pueden ver como estan seteados los timer de ISDN, este comando es util al momento de hacer troubleshooting en los cuales se caen llamadas por expiracion de timers

GW1USA#sh isdn timers ISDN Serial0:23 Timers (dsl 0) Switchtype = primary-ni ISDN Layer 2 values K = 7 outstanding I-frames N200 = 3 max number of retransmits T200 = 1.000 seconds T202 = 2.000 seconds T203 = 30.000 seconds ISDN Layer 3 values T301 = 300.000 seconds T303 = 4.000 seconds T304 = 20.000 seconds T305 = 30.000 seconds T306 = 60.000 seconds T307 = 180.000 seconds T308 = 4.000 seconds T309 Disabled T310 = 60.000 seconds T313 = 4.000 seconds T316 = 30.000 seconds T318 = 4.000 seconds T319 = 4.000 seconds T322 = 4.000 seconds

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 33: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 33 de 52

Fecha: 12/02/2004

Versión Ficha: 1

T3OOS = 5.000 seconds TGUARD= 8.000 seconds, Expiry = REJECT_CALL

Show dial-peer voice summaryEste comando muestra un resumen de cual será la ruta seleccionada por un GW para enrutar una llamada. Las dial peer pueden ser: POTS (Miran hacia la parte de TDM) o pueden ser VoIP (Miran hacia la parte IP) En el caso de los Dial-peer Voip, estos pueden enviar llamadas directamente a un GW o usando el GK (señalización RAS)

GW3MUNRO#sh dial-peer voice summarydial-peer hunt 0 AD PRE PASSTAG TYPE MIN OPER PREFIX DEST-PATTERN FER THRU SESS-TARGET PORT9999 voip up up .T 0 syst ras5900 pots down down 00 5900# 0 trunkgroup EDNPI25910 pots down down 0 5900#54 0 trunkgroup EDNPI25750 voip up up 5750# 0 syst ipv4:208.221.169.775700 pots up up 03832 pots up up 0 3832#54 0 trunkgroup I4IBIP3833 pots up up 00 1974# 0 trunkgroup I4IBIP38320 pots up up 0 trunkgroup O4IBIP5901 pots down down 00 5901# 0 trunkgroup EDNPI25911 pots down down 0 5901#54 0 trunkgroup EDNPI21234 pots up up 0 3:D4850 voip up up 4850# 0 syst ipv4:200.80.13.1675951 voip up up 5950# 0 syst ipv4:212.51.58.137

Show call active voicePermite ver las llamadas activas que esta cursando el GW, comando se puede mostrar un resumen de las llamadas (brief) o toda la info completa de la llamada.

GW1USA#sh call active voice brief<ID>: <start>hs.<index> +<connect> pid:<peer_id> <dir> <addr> <state> dur hh:mm:ss tx:<packets>/<bytes> rx:<packets>/<bytes> IP <ip>:<udp> rtt:<time>ms pl:<play>/<gap>ms lost:<lost>/<early>/<late> delay:<last>/<min>/<max>ms <codec> MODEMPASS <method> buf:<fills>/<drains> loss <overall%> <multipkt>/<corrected> last <buf event time>s dur:<Min>/<Max>s FR <protocol> [int dlci cid] vad:<y/n> dtmf:<y/n> seq:<y/n> <codec> (payload size) ATM <protocol> [int vpi/vci cid] vad:<y/n> dtmf:<y/n> seq:<y/n> <codec> (payload size) Tele <int>: tx:<tot>/<v>/<fax>ms <codec> noise:<l> acom:<l> i/o:<l>/<l> dBm MODEMRELAY info:<rcvd>/<sent>/<resent> xid:<rcvd>/<sent> total:<rcvd>/<sent>/<drops> speeds(bps): local <rx>/<tx> remote <rx>/<tx> Proxy <ip>:<audio udp>,<video udp>,<tcp0>,<tcp1>,<tcp2>,<tcp3> endpt: <type>/<manf> bw: <req>/<act> codec: <audio>/<video> tx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes> rx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes>

Telephony call-legs: 2SIP call-legs: 0H323 call-legs: 2MGCP call-legs: 0Total call-legs: 41202 : 28051hs.1 +1834 pid:1234 Answer 915715572 active dur 00:08:13 tx:14857/287868 rx:16765/332937 Tele 0:D:22: tx:502730/333810/0ms g729r8 noise:-46 acom:37 i/0:-42/-8 dBm

1202 : 28052hs.1 +1832 pid:5550 Originate 5550#59171034146 active dur 00:08:13 tx:16652/330696 rx:14857/287868 IP 200.61.100.2:19416 rtt:562ms pl:283100/4330ms lost:215/4/0 delay:56/56/70ms g729r8

1205 : 28601hs.1 +1182 pid:1234 Answer 34983850121 active

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 34: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 34 de 52

Fecha: 12/02/2004

Versión Ficha: 1

dur 00:08:14 tx:23578/468026 rx:23773/474079 Tele 0:D:24: tx:498810/474620/0ms g729r8 noise:-49 acom:6 i/0:-43/-36 dBm

1205 : 28602hs.1 +1180 pid:5550 Originate 5550#59171797604 active dur 00:08:14 tx:23660/471838 rx:23579/468046 IP 200.61.100.2:17932 rtt:564ms pl:466130/13160ms lost:660/3/0 delay:50/50/70ms g729r8

Telephony call-legs: 2SIP call-legs: 0H323 call-legs: 2MGCP call-legs: 0Total call-legs: 4

GW1USA#

Show call history voiceIdem anterior solo que muestra las llamadas que ya fueron liberadas, y muestra la causa de desconexion, lo que permitira un mejor troubleshooting.

GW1USA#sh call history v b<ID>: <start>hs.<index> +<connect> +<disc> pid:<peer_id> <direction> <addr> dur hh:mm:ss tx:<packets>/<bytes> rx:<packets>/<bytes> <disc-cause>(<text>) IP <ip>:<udp> rtt:<time>ms pl:<play>/<gap>ms lost:<lost>/<early>/<late> delay:<last>/<min>/<max>ms <codec> MODEMPASS <method> buf:<fills>/<drains> loss <overall%> <multipkt>/<corrected> last <buf event time>s dur:<Min>/<Max>s FR <protocol> [int dlci cid] vad:<y/n> dtmf:<y/n> seq:<y/n> <codec> (payload size) ATM <protocol> [int vpi/vci cid] vad:<y/n> dtmf:<y/n> seq:<y/n> <codec> (payload size) Telephony <int>: tx:<tot>/<voice>/<fax>ms <codec> noise:<lvl>dBm acom:<lvl>dBm MODEMRELAY info:<rcvd>/<sent>/<resent> xid:<rcvd>/<sent> total:<rcvd>/<sent>/<drops> disc:<cause code> speeds(bps): local <rx>/<tx> remote <rx>/<tx> Proxy <ip>:<audio udp>,<video udp>,<tcp0>,<tcp1>,<tcp2>,<tcp3> endpt: <type>/<manf> bw: <req>/<act> codec: <audio>/<video> tx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes> rx: <audio pkts>/<audio bytes>,<video pkts>/<video bytes>,<t120 pkts>/<t120 bytes>

Telephony call-legs: 22SIP call-legs: 0H323 call-legs: 19MGCP call-legs: 0Total call-legs: 41

11F6 : 21737hs.8 +-1 +1 pid:5550 Originate 5550#59171080996 dur 00:00:00 tx:0/0 rx:0/0 3 (no route to destination (3)) IP 0.0.0.0:0 rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 pre-ietf

11F6 : 21739hs.9 +-1 +1 pid:9999 Originate 5550#59171080996 dur 00:00:00 tx:0/0 rx:0/0 3 (no route to destination (3)) IP 0.0.0.0:0 rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 pre-ietf

11F6 : 21736hs.10 +-1 +4 pid:1234 Answer dur 00:00:00 tx:0/0 rx:0/0 3 (no route to destination (3)) Telephony 0:D:8: tx:0/0/0ms None noise:0dBm acom:0dBm

8A : 25330hs.20 +-1 +16 pid:6400 Originate 6400#15059802107 dur 00:00:00 tx:0/0 rx:0/0 2F (no resource (47)) Telephony 1:D (21): tx:0/0/0ms None noise:0dBm acom:0dBm

8A : 25270hs.21 +-1 +100 pid:9999 Answer 0287839940 dur 00:00:00 tx:0/0 rx:0/0 2F (no resource (47)) IP 203.166.6.138:18094 rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8

AC : 32140hs.22 +-1 +16 pid:6400 Originate 6400#15059802107 dur 00:00:00 tx:0/0 rx:0/0 2F (no resource (47))

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 35: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 35 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Telephony 1:D (29): tx:0/0/0ms None noise:0dBm acom:0dBm

AC : 32124hs.23 +-1 +56 pid:9999 Answer 0287839940 dur 00:00:00 tx:0/0 rx:0/0 2F (no resource (47)) IP 0.0.0.0:0 rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8

1202 : 28051hs.34 +1834 +55555 pid:1234 Answer 915715572 dur 00:08:57 tx:16989/328855 rx:18329/363959 10 (normal call clearing (16)) Telephony 0:D:22: tx:544180/363410/0ms g729r8 noise:-84dBm acom:51dBm

1202 : 28052hs.35 +1832 +55610 pid:5550 Originate 5550#59171034146 dur 00:08:57 tx:18216/361718 rx:17014/329317 10 (normal call clearing (16)) IP 200.61.100.2:19416 rtt:561ms pl:326480/4920ms lost:245/4/0 delay:56/56/70ms g729r8

1217 : 89038hs.40 +-1 +588 pid:1235 Answer dur 00:00:00 tx:0/0 rx:0/0 1F (normal, unspecified (31)) Telephony 1:D:44: tx:0/0/0ms None noise:0dBm acom:0dBm

1217 : 89040hs.41 +-1 +600 pid:9999 Originate 6450#61421085508 dur 00:00:00 tx:0/0 rx:0/0 1F (normal, unspecified (31)) IP 0.0.0.0:0 rtt:0ms pl:0/0ms lost:0/0/0 delay:0/0/0ms g729r8 pre-ietf

Debug utiles en los GatewaysLos siguientes debugs sirven para ver el enrutamiento de las llamadas y la interaccion con la red de CX.

Es importante quitar los debugs despues de usarlos ya que producen CRASH de los Gateways. El comando para deshabilitar un debug es Undebug all.

Debug isdn q931Muestra los mensajes de señalizacion de ISDN Q931 para el establecimiento y liberacion de cada llamada.

GW1USA#*Feb 16 09:55:22.910 AWT: ISDN Se0:23 Q931: TX -> RELEASE pd = 8 callref = 0x84A4*Feb 16 09:55:22.954 AWT: ISDN Se0:23 Q931: RX <- RELEASE_COMP pd = 8 callref = 0x04A4*Feb 16 09:55:23.258 AWT: ISDN Se0:23 Q931: RX <- SETUP pd = 8 callref = 0x09A2 Bearer Capability i = 0x9090A2 Standard = CCITT Transer Capability = 3.1kHz Audio Transfer Mode = Circuit Transfer Rate = 64 kbit/s Channel ID i = 0xA98392 Exclusive, Channel 18 Progress Ind i = 0x8281 - Call not end-to-end ISDN, may have in-band info Called Party Number i = 0x81, '59171071950' Plan:ISDN, Type:Unknown*Feb 16 09:55:23.722 AWT: ISDN Se0:23 Q931: TX -> CALL_PROC pd = 8 callref = 0x89A2 Channel ID i = 0xA98392 Exclusive, Channel 18*Feb 16 09:55:23.770 AWT: ISDN Se0:23 Q931: TX -> CONNECT pd = 8 callref = 0x9C85 Progress Ind i = 0x8182 - Destination address is non-ISDN*Feb 16 09:55:23.802 AWT: ISDN Se0:23 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x1C85*Feb 16 09:55:24.670 AWT: ISDN Se0:23 Q931: TX -> ALERTING pd = 8 callref = 0x8934*Feb 16 09:55:26.158 AWT: ISDN Se0:23 Q931: RX <- SETUP pd = 8 callref = 0x1FDC Bearer Capability i = 0x9090A2 Standard = CCITT Transer Capability = 3.1kHz Audio Transfer Mode = Circuit Transfer Rate = 64 kbit/s Channel ID i = 0xA98393 Exclusive, Channel 19 Calling Party Number i = 0x1183, '34963920292' Plan:ISDN, Type:International Called Party Number i = 0x81, '595971401091' Plan:ISDN, Type:Unknown*Feb 16 09:55:26.630 AWT: ISDN Se0:23 Q931: TX -> CALL_PROC pd = 8 callref = 0x9FDC Channel ID i = 0xA98393 Exclusive, Channel 19

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 36: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 36 de 52

Fecha: 12/02/2004

Versión Ficha: 1

*Feb 16 09:55:29.807 AWT: %ISDN-6-CONNECT: Interface Serial0:15 is now connected to 914141979*Feb 16 09:55:29.811 AWT: ISDN Se0:23 Q931: TX -> ALERTING pd = 8 callref = 0x9FDC*Feb 16 09:55:30.639 AWT: ISDN Se0:23 Q931: TX -> ALERTING pd = 8 callref = 0x89A2GW1USA#*Feb 16 09:55:38.247 AWT: ISDN Se0:23 Q931: TX -> CONNECT pd = 8 callref = 0x8934*Feb 16 09:55:38.303 AWT: ISDN Se0:23 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x0934*Feb 16 09:55:38.359 AWT: ISDN Se0:23 Q931: TX -> CONNECT pd = 8 callref = 0x89A2 Progress Ind i = 0x8182 - Destination address is non-ISDN*Feb 16 09:55:38.403 AWT: ISDN Se0:23 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x09A2*Feb 16 09:55:39.612 AWT: ISDN Se0:23 Q931: RX <- SETUP pd = 8 callref = 0x1374 Bearer Capability i = 0x9090A2 Standard = CCITT Transer Capability = 3.1kHz Audio Transfer Mode = Circuit Transfer Rate = 64 kbit/s Channel ID i = 0xA98394 Exclusive, Channel 20 Progress Ind i = 0x8083 - Origination address is non-ISDN Calling Party Number i = 0x2181, '915401858' Plan:ISDN, Type:National Called Party Number i = 0x81, '59177425634' Plan:ISDN, Type:Unknown*Feb 16 09:55:40.084 AWT: ISDN Se0:23 Q931: TX -> CALL_PROC pd = 8 callref = 0x9374 Channel ID i = 0xA98394 Exclusive, Channel 20*Feb 16 09:55:40.148 AWT: ISDN Se0:23 Q931: TX -> CONNECT pd = 8 callref = 0x9FDC*Feb 16 09:55:40.204 AWT: ISDN Se0:23 Q931: RX <- CONNECT_ACK pd = 8 callref = 0x1FDC

Debug CASIdem anterior solo que muestra la toma y liberacion de circuitos en señalizacion R2

GW6MUNRO#Feb 16 10:00:32.158 AWT: from Trunk(0): (1/9): Tx ANSWERED (ABCD=0101)Feb 16 10:00:33.566 AWT: from Trunk(0): (3/11): Tx IDLE (ABCD=1001)Feb 16 10:00:33.946 AWT: from Trunk(0): (3/11): Rx IDLE (ABCD=1001)Feb 16 10:00:33.986 AWT: from Trunk(0): (1/21): Rx IDLE (ABCD=1001)Feb 16 10:00:34.022 AWT: from Trunk(0): (3/29): Tx SEIZURE (ABCD=0001)Feb 16 10:00:34.066 AWT: from Trunk(0): (1/21): Tx IDLE (ABCD=1001)Feb 16 10:00:34.090 AWT: from Trunk(0): (3/29): Rx SEIZURE_ACK (ABCD=1101)Feb 16 10:00:35.014 AWT: from Trunk(0): (3/14): Tx SEIZURE (ABCD=0001)Feb 16 10:00:35.078 AWT: from Trunk(0): (3/14): Rx SEIZURE_ACK (ABCD=1101)Feb 16 10:00:35.358 AWT: from Trunk(0): (1/21): Rx SEIZURE (ABCD=0001)Feb 16 10:00:35.498 AWT: from Trunk(0): (1/21): Tx SEIZURE_ACK (ABCD=1101)Feb 16 10:00:35.710 AWT: from Trunk(0): (3/12): Tx IDLE (ABCD=1001)Feb 16 10:00:36.086 AWT: from Trunk(0): (3/12): Rx IDLE (ABCD=1001)Feb 16 10:00:38.562 AWT: from Trunk(0): (1/11): Rx IDLE (ABCD=1001)Feb 16 10:00:38.962 AWT: from Trunk(0): (1/11): Tx IDLE (ABCD=1001)Feb 16 10:00:40.106 AWT: from Trunk(0): (3/0): Tx IDLE (ABCD=1001)

Debug csm voice/cas Este comando se usa generalmente en conjunto con el DEBUG CAS. Este debug muestra las señales de registro en R2, mientras que el Debug CAS muestra la señalizacion de linea

GW4MUNRO#Feb 16 10:52:11.253 AWT: csm_vtsp_call_setup_request_54x (vtsp_cdb=0x62E7EA54, vtsp_sdb=0x62A098F0)Feb 16 10:52:11.253 AWT: VDEV_ALLOCATE: 1/114 is allocatedFeb 16 10:52:11.253 AWT: csm_vtsp_call_setup_request_54x (vtsp_cdb=0x62E7EA54, vtsp_sdb=0x62A098F0)Feb 16 10:52:11.253 AWT: csm_vtsp_call_setup_request_54x: tdm slot 1, dspm 1, dsp 2, dsp_channel 1Feb 16 10:52:11.253 AWT: csm_vtsp_call_setup_request_54x: tdm stream 4, channel 3, bank 0, bp_channel 18, bp_stream 1Feb 16 10:52:11.253 AWT: send_vtsp_setup_request_to_csm octet_mask 0x0Feb 16 10:52:11.253 AWT: send_vtsp_setup_request_to_csm calling_oct3a 0x0, octet_mask 0x1, present_ind 0Feb 16 10:52:11.253 AWT: send_vtsp_setup_request_to_csm calling_oct3:octet_mask 0x1Feb 16 10:52:11.253 AWT: send_vtsp_setup_request_to_csm called_oct3 0x80, octet_mask 0x5Feb 16 10:52:11.253 AWT: send_vtsp_setup_request_to_csm octet_mask 0x25Feb 16 10:52:11.253 AWT: : calling number: 7772422222,calling_oct3 0x80,called number: 0013214499507, called_oct3 0x80, oct3a 0x0, infoXcap=0x0Feb 16 10:52:11.253 AWT: send_vtsp_setup_request_to_csm: calling number: 7772422222, called number: 0013214499507, oct3a 0x0Feb 16 10:52:11.253 AWT: send_vtsp_setup_request_to_csm: endpoint=

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 37: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 37 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Feb 16 10:52:11.253 AWT: CSM_PROC_IDLE: CSM_EVENT_MODEM_OFFHOOK at slot 1, port 4Feb 16 10:52:11.253 AWT: csm_get_signaling_channel csm_call_info->bchan_num 0x7Feb 16 10:52:11.253 AWT: csm_get_signaling_channel dchan_index=25315,next_index=0,dchan_info=0x62A44B94Feb 16 10:52:11.253 AWT: CSM to NEAT:(DA03) EVENT_CALL_DIAL_OUT for slot 0 ctlr 0 chan 7Feb 16 10:52:11.257 AWT: from Trunk(0):DMFC: Got sig@ u117502 c0 tone7 group3Feb 16 10:52:11.257 AWT: CSM_RX_CAS_EVENT_FROM_NEAT:(DA03): EVENT_CHANNEL_LOCK at slot 1 port 4 on ctrlr 0 chan 7Feb 16 10:52:11.257 AWT: CSM_PROC_OC4_DIALING: CSM_EVENT_DSX0_BCHAN_ASSIGNED at slot 1, port 4Feb 16 10:52:11.257 AWT: csm_connect_pri_vdev: TS allocated at bp_stream 0, bp_Ch 19, vdev_common 0x62E3394C 1/4Feb 16 10:52:11.257 AWT: csm_connect_pri_vdev:vtsp cdb 0x62E7EA54Feb 16 10:52:11.257 AWT: vtsp:tdm_allocate_bp_ts() call. BP TS allocatedat bp_stream 0, bp_Ch19Feb 16 10:52:11.257 AWT: csm_vtsp_setup_for_oc_54x:vtsp cdb 0x62E7EA54Feb 16 10:52:11.257 AWT: vtsp:tdm_allocate_bp_ts() call. BP TS allocatedat bp_stream 0, bp_Ch19Feb 16 10:52:11.257 AWT: csm_vtsp_setup_for_oc (voice_vdev=0x62E338D8)Feb 16 10:52:11.257 AWT: from Trunk(0): (0/7): Tx SEIZURE (ABCD=0001)Feb 16 10:52:11.325 AWT: from Trunk(0): (0/7): Rx SEIZURE_ACK (ABCD=1101)Feb 16 10:52:11.361 AWT: CSM_RX_CAS_EVENT_FROM_NEAT:(DA03): EVENT_START_TX_TONE at slot 1 and port 4Feb 16 10:52:11.365 AWT: CSM_PROC_OC4_DIALING: CSM_EVENT_DSX0_START_TX_TONE at slot 1, port 4Feb 16 10:52:11.365 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_IDLE R2 Got Event R2_STARTFeb 16 10:52:11.365 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:11.365 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:11.477 AWT: CSM voice (1/4): Rcvd Digit detected(5)Feb 16 10:52:11.481 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 5Feb 16 10:52:11.481 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:11.557 AWT: CSM voice (1/4): Rcvd Digit detected(5)Feb 16 10:52:11.561 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:11.561 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:11.697 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:11.697 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:11.697 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:11.769 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:11.769 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:11.769 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:11.877 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:11.881 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:11.881 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:11.957 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:11.961 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:11.961 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:12.069 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:12.069 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:12.069 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:12.149 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:12.149 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:12.149 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:12.257 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:12.261 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:12.261 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:12.337 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:12.341 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:12.341 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:12.449 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:12.449 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:12.449 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:12.529 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:12.529 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:12.529 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:12.669 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:12.669 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:12.669 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:12.749 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:12.749 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 38: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 38 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Feb 16 10:52:12.749 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:12.857 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:12.861 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:12.861 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:12.937 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:12.937 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:12.941 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:13.049 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:13.049 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:13.049 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:13.129 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:13.129 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:13.129 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:13.237 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:13.237 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:13.241 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:13.317 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:13.317 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:13.321 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:13.429 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:13.429 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:13.429 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:13.509 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:13.509 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:13.509 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:13.617 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:13.617 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:13.617 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:13.697 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:13.697 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:13.697 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:13.809 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:13.809 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:13.809 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:13.889 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:13.889 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:13.889 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:13.997 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:13.997 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 1Feb 16 10:52:13.997 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:14.077 AWT: CSM voice (1/4): Rcvd Digit detected(1)Feb 16 10:52:14.077 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event R2_TONE_OFF

Feb 16 10:52:14.081 AWT: r2_restart_timer: timer interdigit outgoing = 24000 msFeb 16 10:52:20.981 AWT: CSM voice (1/4): Rcvd Digit detected(3)Feb 16 10:52:20.981 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_A R2 Got Event 3Feb 16 10:52:20.981 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:21.097 AWT: CSM voice (1/4): Rcvd Digit detected(3)Feb 16 10:52:21.097 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_B R2 Got Event R2_TONE_OFF

Feb 16 10:52:21.101 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:21.297 AWT: CSM voice (1/4): Rcvd Digit detected(6)Feb 16 10:52:21.301 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_PROCESS_B R2 Got Event 6Feb 16 10:52:21.301 AWT: vtsp_r2_generate_digits: vdev_common=0x62E3394C, string=0013214499507Feb 16 10:52:21.377 AWT: CSM voice (1/4): Rcvd Digit detected(6)Feb 16 10:52:21.381 AWT: R2 Outgoing Voice(1/4): DSX (E1 0:7): STATE: R2_OUT_WAIT_IDLE R2 Got Event R2_TONE_OFF

Feb 16 10:52:21.381 AWT: CSM_PROC_OC4_DIALING: CSM_EVENT_ADDR_INFO_COLLECTED at slot 1, port 4Feb 16 10:52:21.381 AWT: CSM to NEAT:(DA03) EVENT_END_TX_TONE for slot 0 ctlr 0 chan 7Feb 16 10:52:21.381 AWT: pop the dial state machineFeb 16 10:52:21.381 AWT: CSM_PROC_OC5_WAIT_FOR_CARRIER: CSM_EVENT_MODEM_OFFHOOK at slot 1, port 4Feb 16 10:52:21.381 AWT: vtsp_r2_end_dial: vdev_common=0x62E3394C, string=0013214499507

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 39: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 39 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Feb 16 10:52:21.381 AWT: csm_vtsp_process_dialing_complete (cdb=0x62E7EA54,vdev_common=0x62E3394C,voice_vdev=0x62E338D8)Feb 16 10:52:21.381 AWT: csm_vtsp_process_dialing_complete: type=2, val 6, country 1Feb 16 10:52:21.381 AWT: CSM_PROC_OC5_WAIT_FOR_CARRIER: CSM_EVENT_ADDR_INFO_COLLECTED at slot 1, port 4Feb 16 10:52:21.381 AWT: CSM Voice(1/4): Call Bridged (vtsp_cdb=0x62E7EA54, vdev_info=0x62E338D8)Feb 16 10:52:31.549 AWT: from Trunk(0): (0/7): Rx ANSWERED (ABCD=0101)Feb 16 10:52:31.589 AWT: CSM_RX_CAS_EVENT_FROM_NEAT:(DA03): EVENT_CHANNEL_CONNECTED at slot 1 and port 4Feb 16 10:52:31.589 AWT: CSM_PROC_OC5_WAIT_FOR_CARRIER: CSM_EVENT_DSX0_CONNECTED at slot 1, port 4Feb 16 10:52:31.589 AWT: vtsp_confirm_oc : (voice_vdev= 0x62E338D8)GW4MUNRO#GW4MUNRO#

Debug h225 asnDado que este debug es similar en forma que el ya mostrado para gatekeeper, no se procedera a mostrar en esta seccion, lo unico que cambia es el nombre de los mensajes y el contenido de los mismos. Estos mensajes siguen las secuencias descriptas para establecimiento y liberacion de llamadas que se intercambian entre los Gateways intervinientes en la llamada

Debug h245 asnEste nivel de debug proporciona toda la informacion referente al intercambio de Capabilities entre los Gateways intervinientes en una llamada telefonica. La cantidad de informacion generada por este debug es excesiva y solo tiene sentido ver estos debugs cuando se esta rastreando algun problema en particular referente a codecs y o negociacion de Bandwith. Por tal motivo no se mostrara este debug en este documento.

Causas de desconexion Q931

Value for Q931 Value for Q931 Description0 0 Uninitialized1 1 Unassigned number2 2 No route to the transit network3 3 No route to the destination4 4 Send information tone5 5 Misdialed trunk prefix6 6 Unacceptable channel7 7 Call awarded8 8 Preemption9 9 Preemption reserved10 16 Normal11 17 Busy12 18 No response from the user13 19 No answer from the user14 20 Subscriber is absent15 21 Call rejected16 22 Number has changed1A 26 Selected user is clearing1B 27 Destination is out of order1C 28 Invalid number1D 29 Facility rejected1E 30 Response to status inquiry22 34 No circuit available23 35 Requested VPCI VCI is not available24 36 VPCI VCI assignment failure25 37 Cell rate is not available26 38 Network is out of order27 39 Permanent frame mode is out of service28 40 Permanent frame mode is operational29 41 Temporary failure2A 42 Switch is congested2B 43 Access information has been discarded

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 40: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 40 de 52

Fecha: 12/02/2004

Versión Ficha: 1

2C 44 No required circuit2D 45 No VPCI VCI is available2E 46 Precedence call blocked2F 47 No resource available30 48 DSP error31 49 QoS is not available32 50 Facility is not subscribed35 53 Outgoing calls barred37 55 Incoming calls barred39 57 Bearer capability is not authorized3A 58 Bearer capability is not available3E 62 Inconsistency in the information and class3F 63 Service or option not available41 65 Bearer capability is not implemented42 66 Change type is not implemented46 70 Restricted digital information only4F 79 Service is not implemented51 81 Invalid call reference value52 82 Channel does not exist53 83 Call exists and call ID in use54 84 Call ID in use55 85 No call suspended56 86 Call cleared57 87 User is not in CUG58 88 Incompatible destination5A 90 CUG does not exist5B 91 Invalid transit network5D 93 AAL parameters not supported5F 95 Invalid message60 96 Mandatory information element (IE) is missing61 97 Message type is not implemented62 98 Message type is not compatible63 99 IE is not implemented64 100 Invalid IE contents65 101 Message in incomplete call state66 102 Recovery on timer expiration67 103 Nonimplemented parameter was passed on6E 110 Unrecognized parameter message discarded6F 111 Protocol error7F 127 Internetworking error80 128 Next node is unreachable81 129 Holst Telephony Service Provider Module (HTSPM) is out of service

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 41: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 41 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Configuraciones Típicas

Configuración de Gatekeeper

GK1BELGRANO#sh runBuilding configuration...

Current configuration : 6592 bytes!! Last configuration change at 13:18:55 AWT Wed Feb 4 2004 by r090481! NVRAM config last updated at 02:53:10 AWT Wed Feb 11 2004 by i001969!version 12.2service nagleservice tcp-keepalives-inservice timestamps debug datetime msec localtime show-timezoneservice timestamps log datetime msec localtime show-timezoneservice password-encryptionno service dhcp!hostname GK1BELGRANO!logging buffered 10000 debuggingaaa new-model!!aaa authentication attempts login 2aaa authentication login admin group tacacs+ localaaa authentication enable default group tacacs+ enableaaa authorization exec default group tacacs+ localaaa authorization commands 0 default group tacacs+ local if-authenticatedaaa authorization commands 1 default group tacacs+ local if-authenticatedaaa authorization commands 15 default group tacacs+ local if-authenticatedaaa authorization network default group tacacs+ localaaa accounting exec default start-stop group tacacs+aaa accounting commands 0 default start-stop group tacacs+aaa accounting commands 1 default start-stop group tacacs+aaa accounting commands 15 default start-stop group tacacs+aaa accounting network default start-stop group tacacs+aaa accounting system default start-stop group tacacs+aaa session-id commonenable secret 5 $1$sPEt$pfT7kLgtXbTSBTR1cKR.a.!username silence password 7 001703164A035C560Dclock timezone AWT -3ip subnet-zerono ip source-route!!ip domain name TELECOM.NET.ARip name-server 200.43.2.6ip name-server 200.43.31.6!no ip bootp server!!voice call carrier capacity active!!!!!!!!!!

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 42: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 42 de 52

Fecha: 12/02/2004

Versión Ficha: 1

!interface Loopback0 no ip address!interface FastEthernet0/0 no ip address no ip redirects no ip unreachables shutdown duplex auto speed auto no cdp enable!interface FastEthernet0/1 ip address 200.43.31.7 255.255.255.128 no ip redirects no ip unreachables speed 100 full-duplex no cdp enable!ip classlessip route 0.0.0.0 0.0.0.0 200.43.31.1ip route 200.43.9.0 255.255.255.0 200.43.31.2ip tacacs source-interface Loopback0no ip http server!!logging trap notificationslogging source-interface Loopback0logging 200.43.9.27access-list 1 remark Filtro de SNMP RW permitidasaccess-list 1 permit 200.43.9.127access-list 1 permit 200.43.9.5access-list 1 permit 200.43.9.18access-list 1 deny any logaccess-list 2 remark Filtro de SNMP RO permitidasaccess-list 2 permit 200.43.9.129access-list 2 permit 200.43.9.135access-list 2 permit 200.43.9.127access-list 2 permit 200.43.9.7access-list 2 permit 200.43.9.5access-list 2 permit 200.43.9.18access-list 2 deny any logaccess-list 5 remark Authenticacisn NTPaccess-list 5 permit 200.43.115.1access-list 5 permit 200.3.60.0 0.0.3.255access-list 10 remark Acceso a VTYaccess-list 10 permit 200.43.9.135access-list 10 permit 200.43.9.6access-list 10 permit 200.43.9.7access-list 10 permit 200.43.9.5access-list 10 permit 200.43.9.18access-list 10 permit 200.43.4.0 0.0.0.255access-list 10 deny any logaccess-list 101 permit ip host 80.74.225.14 any logaccess-list 101 permit ip any anyno cdp runtacacs-server host 200.43.9.15tacacs-server host 200.43.9.14tacacs-server key argentina2001snmp-server community jtroxell RW 1snmp-server community leeoff RO 2snmp-server community nh+peeb RO 2snmp-server enable traps tty!dial-peer cor custom!

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 43: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 43 de 52

Fecha: 12/02/2004

Versión Ficha: 1

!gatekeeper zone local GK1BELGRANO telecom.net.ar 200.43.31.7 zone local DONPI1 donpi.com zone remote iBasis.LOCAL2.NYC.GK iBasis.net 216.168.162.79 1719 zone remote local switchlab 80.74.226.190 1719 zone remote none switchlab 80.74.226.190 1719 zone remote uniotel-uy uniotel.uy 200.40.198.98 1719 zone remote GK-MICBOL telecel.com.bo 200.61.100.1 1719 zone remote GK-SES ses.com.ar 200.73.134.32 1719 zone remote GK_WIPTELECOM wip.com 198.79.2.54 1719 zone remote terra_msw terratelecom.net 208.208.209.209 1719 zone remote VoIP-GK dollarphone.com 216.187.88.55 1719 zone remote GCGK01 gatewaycomms.com 213.232.115.33 1719 zone remote uniotel-XO uniotel.uy 200.40.204.118 1719 zone remote Sakon-3.05-6 sakon.com 65.198.126.69 1719 zone remote GK_ITXC itxc.net 64.7.112.209 1719 zone remote GK_COMUNITEL comunitel.es 217.130.128.145 1719 zone remote HITECH hitel.com.au 203.166.48.135 1719 zone remote dalmsw01 vinculum.net 66.241.7.200 1719 zone remote gk-eads-1 multicoms.net 208.49.146.230 1719 zone remote gk-eads-2 multicoms.net 212.208.36.74 1719 zone cluster local TELECOM GK1BELGRANO element GK1GOLF 200.43.2.7 1719 ! zone cluster local DONPIC DONPI1 element DONPI2 200.43.2.7 1719 ! zone prefix GK1BELGRANO 253* gw-priority 10 GW1USA zone prefix GK1BELGRANO 51* gw-priority 10 GW1USA zone prefix GK1BELGRANO 52* gw-priority 10 GW1USA zone prefix GK1BELGRANO 57* gw-priority 10 GW1USA zone prefix GK1BELGRANO 92* gw-priority 0 GW1USA zone prefix GK1BELGRANO 973* gw-priority 10 GW1USA zone prefix GK1BELGRANO * gw-priority 3 GW1USA gw-type-prefix 5550#* hopoff GK-MICBOL gw-type-prefix 5551#* hopoff GK-MICBOL gw-type-prefix 38320#* hopoff iBasis.LOCAL2.NYC.GK gw-type-prefix 5350#* hopoff uniotel-uy gw-type-prefix 5650#* hopoff GK_WIPTELECOM gw-type-prefix 5900#* hopoff GK1BELGRANO gw-type-prefix 5950#* hopoff DONPI1 gw-type-prefix 6250#* hopoff GCGK01 gw-type-prefix 5340#* hopoff uniotel-XO gw-type-prefix 6650#* hopoff GK_ITXC gw-type-prefix 6450#* hopoff HITECH gw-type-prefix 6750#* hopoff GK_COMUNITEL gw-type-prefix 6850* hopoff dalmsw01 gw-type-prefix 5250#* hopoff gk-eads-1 hopoff gk-eads-2 no shutdown!banner motd ^CCC####################################################################################################################################### EL ACCESO NO AUTORIZADO A ESTE EQUIPO ESTA PROHIBIDO.# Quienes desatiendan esta advertencia, estaran sujetos# a acciones legales. Su direccisn IP ya fue registrada######################################################################################################################################^C!line con 0 exec-timeout 5 0 password 7 13041B110A023B2C24366D

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 44: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 44 de 52

Fecha: 12/02/2004

Versión Ficha: 1

login authentication adminline aux 0line vty 0 4 access-class 10 in exec-timeout 5 0 password 7 05080719245E1C58260A1D1D login authentication admin!ntp authentication-key 110602 md5 030A4F1B120A22431E5B 7ntp authenticatentp trusted-key 110602ntp clock-period 17180539ntp access-group peer 5ntp server 200.3.61.9 key 110602ntp server 200.3.61.11 key 110602ntp server 200.3.61.4 key 110602!end

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 45: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 45 de 52

Fecha: 12/02/2004

Versión Ficha: 1

Configuración de Gateways

GW3MUNRO#sh runBuilding configuration...

Current configuration : 12962 bytes!! Last configuration change at 14:50:59 AWT Wed Feb 11 2004 by r190690! NVRAM config last updated at 13:13:45 AWT Wed Feb 11 2004 by r190410!version 12.2service nagleno service padservice tcp-keepalives-inservice timestamps debug datetime msec localtime show-timezoneservice timestamps log datetime msec localtime show-timezoneservice password-encryptionno service dhcp!hostname GW3MUNRO!boot system flash c5300-is-mz.122-15.T8.binboot system tftp c5300-is-mz.122-3.bin 200.43.9.5logging queue-limit 100enable secret 5 $1$1B/t$DAuqGD3oYO8uchh82sqY21enable password 7 120D00141D!username silence password 7 08325C5E4741524710username 200.43.5.4 password 7 104D000A0618!!resource-pool disableclock timezone AWT -3clock calendar-valid!aaa new-model!!aaa authentication attempts login 2aaa authentication login admin group tacacs+ localaaa authentication login line_async noneaaa authentication login h323 group radiusaaa authentication enable default group tacacs+ enableaaa authorization exec default group tacacs+ localaaa authorization commands 0 default group tacacs+ local if-authenticatedaaa authorization commands 1 default group tacacs+ local if-authenticatedaaa authorization commands 15 default group tacacs+ local if-authenticatedaaa authorization network default group radius group tacacs+aaa accounting update newinfo periodic 10aaa accounting exec default start-stop group tacacs+aaa accounting commands 0 default start-stop group tacacs+aaa accounting commands 1 default start-stop group tacacs+aaa accounting commands 15 default start-stop group tacacs+aaa accounting network default start-stop group radiusaaa accounting connection h323 start-stop group radiusaaa accounting system default start-stop group tacacs+aaa session-id commonip subnet-zeroip tftp source-interface Loopback0no ip domain lookupip domain name TELECOM.NET.ARip name-server 200.43.2.6ip name-server 200.43.31.6!no ip bootp server!

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 46: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 46 de 52

Fecha: 12/02/2004

Versión Ficha: 1

!trunk group EDNPI2 carrier-id DOMPI!!trunk group P4PRIP translation-profile incoming CUBA!!trunk group I4IBIP carrier-id IBASIS!!trunk group O4IBIP description TECO->IBASIS translation-profile incoming IBASIS!isdn switch-type primary-net5!!voice service voip fax protocol t38 ls-redundancy 5 hs-redundancy 2 fallback cisco!voice class codec 1 codec preference 1 g729br8 bytes 40 codec preference 2 g729r8 bytes 40 codec preference 3 g711alaw codec preference 4 g711ulaw!!!!!!!no voice hpi capture bufferno voice hpi capture destination!voice source-group COMUNITEL access-list 74 disconnect-cause call-reject translation-profile incoming COMUNITEL-IN!voice source-group DOMPI access-list 62 disconnect-cause call-reject translation-profile incoming DOMPI-IN!voice source-group IBASIS access-list 64 disconnect-cause call-reject translation-profile incoming IBASIS-IN!voice source-group TELECOM access-list 59 disconnect-cause call-reject!voice source-group _BLOCK-UNKNOW access-list 60 disconnect-cause call-reject!voice translation-rule 3832 rule 1 /^3832#/ /3832#/ rule 2 /^1974#/ /1974#/ rule 15 reject /.*/!voice translation-rule 5300 rule 1 /^5300#/ /5300#/

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 47: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 47 de 52

Fecha: 12/02/2004

Versión Ficha: 1

rule 15 reject /.*/!voice translation-rule 5340 rule 1 /^/ /5340#541147214/!voice translation-rule 5750 rule 1 /^/ /5750#/!voice translation-rule 5900 rule 1 /^5900#/ /5900#/ rule 2 /^5901#/ /5901#/ rule 15 reject /.*/!voice translation-rule 6700 rule 1 /^6700#/ /6700#/ rule 15 reject /.*/!voice translation-rule 38320 rule 1 /^/ /38320#/!!voice translation-profile COMUNITEL-IN translate called 6700!voice translation-profile CUBA translate called 5750!voice translation-profile DOMPI-IN translate called 5900!voice translation-profile IBASIS translate called 38320!voice translation-profile IBASIS-IN translate called 3832!voice translation-profile UNIOTEL-HIFI-OUT translate called 5340!!fax interface-type modemmta receive maximum-recipients 0!!controller E1 0 framing NO-CRC4 clock source line primary line-termination 75-ohm ds0-group 0 timeslots 1-15 type r2-digital r2-compelled ds0-group 1 timeslots 17-31 type r2-digital r2-compelled cas-custom 0 country argentina answer-guard-time 300 trunk-group I4IBIP cas-custom 1 country argentina answer-guard-time 300 trunk-group O4IBIP description DIU 0-28-2 IBASIS<->TECO!controller E1 1 framing NO-CRC4 clock source line secondary 1 line-termination 75-ohm ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled cas-custom 0 country argentina answer-guard-time 300

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 48: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 48 de 52

Fecha: 12/02/2004

Versión Ficha: 1

trunk-group EDNPI2 description EDNPI2 DIU 0-37-1 DONPI->TECO!controller E1 2 framing NO-CRC4 clock source line secondary 1 line-termination 75-ohm ds0-group 0 timeslots 1-15,17-31 type r2-digital r2-compelled cas-custom 0 country argentina answer-guard-time 300 description P4VIP4 DIU 0-37-2!controller E1 3 line-termination 75-ohm pri-group timeslots 1-31 description (MUN2 DIU 2-01-2) ISDN prueba HIFI CALL!controller E1 4 shutdown clock source line secondary 4!controller E1 5 shutdown clock source line secondary 5!controller E1 6 shutdown clock source line secondary 6!controller E1 7 shutdown clock source line secondary 7gw-accounting aaa acct-template callhistory-detail!!!interface Loopback0 description GTCS MUN6 ip address 200.3.61.213 255.255.255.255!interface Ethernet0 no ip address shutdown no cdp enable!interface Serial0 no ip address shutdown clockrate 2015232 no fair-queue no cdp enable!interface Serial1 no ip address shutdown clockrate 2015232 no fair-queue no cdp enable!interface Serial2 no ip address shutdown clockrate 2015232 no fair-queue no cdp enable!

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 49: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 49 de 52

Fecha: 12/02/2004

Versión Ficha: 1

interface Serial3 no ip address shutdown clockrate 2015232 no fair-queue no cdp enable!interface Serial3:15 no ip address isdn switch-type primary-net5 isdn incoming-voice modem no cdp enable!interface FastEthernet0 ip address 200.43.5.5 255.255.255.240 no ip redirects no ip unreachables duplex full speed 100 no cdp enable h323-gateway voip interface h323-gateway voip id GK1BELGRANO ipaddr 200.43.31.7 1719 priority 40 h323-gateway voip id GK1GOLF ipaddr 200.43.2.7 1719 h323-gateway voip h323-id GW3MUNRO h323-gateway voip tech-prefix 5900# h323-gateway voip tech-prefix 3832# h323-gateway voip tech-prefix 1974# h323-gateway voip tech-prefix 5901# h323-gateway voip tech-prefix 8000# h323-gateway voip tech-prefix 6700#!ip classlessip route 0.0.0.0 0.0.0.0 200.43.5.1ip tacacs source-interface Loopback0no ip http server!!ip radius source-interface FastEthernet0!logging trap notificationslogging source-interface Loopback0logging 200.43.9.27logging 200.43.9.16access-list 1 permit 200.43.9.127access-list 1 remark Filtro de SNMP RW permitidasaccess-list 1 permit 200.43.9.5access-list 1 permit 200.43.9.18access-list 1 deny any logaccess-list 2 remark Filtro de SNMP RO permitidasaccess-list 2 permit 200.43.9.129access-list 2 permit 200.43.9.135access-list 2 permit 200.43.9.127access-list 2 permit 200.43.9.7access-list 2 permit 200.43.9.5access-list 2 permit 200.43.9.18access-list 2 permit 200.43.31.4access-list 2 deny any logaccess-list 5 remark Authenticacisn NTPaccess-list 5 permit 200.3.60.0 0.0.3.255access-list 10 permit 200.43.9.135access-list 10 permit 200.43.31.25access-list 10 permit 200.43.9.13access-list 10 permit 200.43.31.22access-list 10 permit 200.43.9.6access-list 10 remark Acceso a VTYaccess-list 10 permit 200.43.9.7access-list 10 permit 200.43.9.5access-list 10 permit 200.43.9.18

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 50: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 50 de 52

Fecha: 12/02/2004

Versión Ficha: 1

access-list 10 permit 200.43.5.0 0.0.0.255access-list 10 deny any logaccess-list 59 permit 200.43.17.9access-list 59 remark SOURCE-GROUP TELECOMaccess-list 59 permit 200.43.4.0 0.0.0.7access-list 59 permit 200.43.5.0 0.0.0.7access-list 59 permit 65.199.227.128 0.0.0.7access-list 60 remark SOURCE-GROUP BLOCK-UNKNOWaccess-list 60 deny any logaccess-list 62 remark SOURCE-GROUP DOMPIaccess-list 62 permit 212.51.58.137access-list 62 permit 212.51.58.136access-list 62 permit 212.51.58.139access-list 62 permit 212.51.48.70access-list 64 permit 216.168.163.43access-list 64 remark SOURCE-GROUP IBASISaccess-list 64 permit 216.168.160.0 0.0.31.255access-list 64 permit 216.49.192.0 0.0.15.255access-list 64 permit 202.63.0.0 0.0.31.255access-list 64 permit 62.93.128.0 0.0.31.255access-list 74 remark SOURCE-GROUP COMUNITELaccess-list 74 permit 217.130.128.145no cdp run!tacacs-server host 200.43.9.15tacacs-server host 200.43.9.14tacacs-server directed-requesttacacs-server key argentina2001snmp-server community jtroxell RW 1snmp-server community leeoff RO 2snmp-server community nh+peeb RO 2snmp-server community qqsclan RO 2snmp-server chassis-id FOX04365277snmp-server enable traps tty!radius-server host 200.43.115.2 auth-port 2074 acct-port 2075 key 7 120B04131B0A180B387F32273A25radius-server host 200.43.2.2 auth-port 2074 acct-port 2075 key 7 15000A080D2B3F2B3A67232D1A17radius-server host 200.43.31.4 auth-port 2074 acct-port 2075 key 7 0519070B284D5A060B51011D021Cradius-server timeout 10radius-server authorization permit missing Service-Typeradius-server vsa send accountingradius-server vsa send authenticationcall rsvp-sync!voice-port 0:0 echo-cancel coverage 32 compand-type a-law description DIU 0-28-2 I4IBIP!voice-port 0:1 echo-cancel coverage 32 compand-type a-law description DIU 0-28-2 O4IBIP!voice-port 1:0 echo-cancel coverage 32 compand-type a-law description DIU 0-37-1 EDNPI2!voice-port 2:0 echo-cancel coverage 32 compand-type a-law description DIU 0-37-2 P4VIP4!voice-port 3:D translation-profile incoming UNIOTEL-HIFI-OUT

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 51: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 51 de 52

Fecha: 12/02/2004

Versión Ficha: 1

echo-cancel coverage 32 description DIU 2-01-2 MUN2-DDE-PRUEBA!!mgcp profile default!dial-peer cor custom!!!dial-peer voice 9999 voip destination-pattern .T voice-class codec 1 session target ras fax rate 9600!dial-peer voice 100 pots answer-address .T direct-inward-dial port 0:0!dial-peer voice 101 pots answer-address . direct-inward-dial port 1:0!dial-peer voice 102 pots answer-address .T direct-inward-dial port 2:0!dial-peer voice 103 pots answer-address .T direct-inward-dial port 3:D!dial-peer voice 5900 pots trunkgroup EDNPI2 shutdown destination-pattern 5900# direct-inward-dial prefix 00!dial-peer voice 5910 pots trunkgroup EDNPI2 shutdown destination-pattern 5900#54 direct-inward-dial prefix 0!dial-peer voice 5750 voip destination-pattern 5750# voice-class codec 1 session target ipv4:208.221.169.77!dial-peer voice 5901 pots trunkgroup EDNPI2 shutdown destination-pattern 5901# direct-inward-dial prefix 00!dial-peer voice 5911 pots trunkgroup EDNPI2 shutdown destination-pattern 5901#54 direct-inward-dial prefix 0

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO

Page 52: Curso Avanzado de VoIP en H323

Curso Avanzado de Voice over IP en H323Página 52 de 52

Fecha: 12/02/2004

Versión Ficha: 1

!dial-peer voice 5951 voip destination-pattern 5950# session target ipv4:212.51.58.137!gateway!banner motd ^CCC####################################################################################################################################### EL ACCESO NO AUTORIZADO A ESTE EQUIPO ESTA PROHIBIDO.# Quienes desatiendan esta advertencia, estaran sujetos# a acciones legales. Su direccisn IP ya fue registrada######################################################################################################################################^C!line con 0 exec-timeout 5 0 password 7 13041B110A023B2C24366D login authentication adminline aux 0line vty 0 4 access-class 10 in password 7 15060E0001292429 login authentication admin!ntp authentication-key 110602 md5 1419061B18012924747A 7ntp authenticatentp trusted-key 110602ntp clock-period 17179809ntp source Loopback0ntp access-group peer 5ntp update-calendarntp server 200.3.61.9 key 110602ntp server 200.3.61.11 key 110602ntp server 200.3.61.4 key 110602end

Titulo: Curso Avanzado de Voice over Ip en H323Autor: : Mauro Cappelletti

Revisor:Mauro Cappelletti

Autorizador: Lugar Almacenaje:Loyal ISOTiempo Retención: Vida util del DocumentoConfidencialidad: USO INTERNO