Lista de Verificación Configuración VoIP: SIP, Media, NAT, Seguridad, Enrutamiento e Integración

Desplegar un sistema VoIP fiable (PBX on-prem, UCaaS alojado, o troncal SIP) requiere configuración cuidadosa en diez dominios. Usa esta checklist durante instalación o auditoría.

1. Configuración Servidor SIP / Proveedor

  • IP Registrador/Proxy o FQDN (ej. sip.proveedor.com).
  • Puerto: 5060 (UDP/TCP), 5061 (TLS).
  • Transporte: UDP (defecto), TCP, TLS (recomendado).
  • Intervalo registro: 300–600 seg.

2. Cuenta SIP / Endpoint

  • Usuario (extensión/DID), Contraseña (fuerte, 16+ chars).
  • Nombre Mostrado (Caller ID Name).
  • Dominio SIP / Realm.
  • Auth ID (si difiere de usuario).

3. Perfil Media / Codec

  • Audio: Opus (mejor), G.722 (banda ancha), G.711 μ-law/A-law (fallback).
  • Video: H.264 / VP8 / H.265 (si soportado).
  • ptime: 20 ms (estándar).
  • DTMF: RFC 4733 (telephone-event) — evita in-band.

4. Travesía NAT

  • Servidor STUN (ej. stun.l.google.com:19302).
  • Servidor TURN (para NAT simétrico) — credenciales del proveedor.
  • ICE activado en endpoints.
  • Keep-alive: SIP OPTIONS / binding STUN cada 15–30 seg.
  • Port forwarding (si IP fija): UDP 5060, rango RTP (10000–20000).

5. Reglas Firewall / SBC

  • Permitir señalización SIP (UDP/TCP 5060, TLS 5061).
  • Permitir RTP/RTCP UDP rango (configurado en PBX).
  • Bloquear todo otro entrante a subred VoIP.
  • Geo-IP bloquear países alto riesgo (opcional).

6. QoS / Priorización Tráfico

  • DSCP EF (46) para RTP; CS3 (24) para SIP.
  • Separación VLAN (Voice VLAN).
  • Reserva ancho de banda / shaping en borde WAN.

7. Seguridad

  • TLS para SIP (SIPS), SRTP para media (obligatorio).
  • Gestión certificados: Let's Encrypt / DigiCert / CA autofirmada.
  • Auth digest + fail2ban / rate-limit en registrador.
  • Cifra backups de configuración.

8. Enrutamiento Llamadas y Funciones

  • Rutas salientes: patrones, selección troncal, failover.
  • DID entrante → IVR / Grupo Timbrado / Cola / Extensión.
  • Desvío (CFU, CFB, CFNR), Follow-Me, No Molestar.
  • Emergencia (E911) — dirección registrada por endpoint.

9. Buzón Voz e IVR

  • VM a email (adjunto WAV/MP3), transcripción.
  • Menús IVR: simple/multi-nivel, TTS o prompts grabados.
  • Política retención (ej. 90 días).

10. Integración PSTN / Legacy

  • Troncal SIP → Proveedor (primario) + Troncal respaldo.
  • Pasarela Analógica (FXO/FXS) para fax, alarma, teléfonos ascensor.
  • Pasarela PRI/T1/E1 si circuitos TDM permanecen.

Pasos de Validación

  1. Registra endpoint → verifica REGISTER 200 OK.
  2. Llamada prueba → comprueba flujo RTP (Wireshark: rtcp).
  3. Verifica CDR, puntuación MOS (>4.0), jitter <30 ms, pérdida <1%.
  4. Test failover: quita troncal principal → respaldo activa.

Documenta cada ajuste; versiona configs (Git). Automatiza despliegue con Ansible/Terraform para reproducibilidad.