Sie sind auf Seite 1von 29

EL PROTOCOLO SIP

SESSION INICIALIZATION PROTOCOL

Ing. Jess Vlchez Sandoval


javs2112@gmail.com

INTRODUCCION
Documentacin y Caractersticas

Ing. Jess Vlchez Sandoval

RFC 3261
El protocolo SIP se encuentra documentado por la IETF en el RFC 3261 desde
junio del 2002 en reemplazo del RFC 2543

Ing. Jess Vlchez Sandoval

CLIENTE-SERVIDOR
El protocolo SIP es un protocolo de tipo cliente servidor.

Ing. Jess Vlchez Sandoval

Ing. Jess Vlchez Sandoval

Ing. Jess Vlchez Sandoval

Ing. Jess Vlchez Sandoval

Ing. Jess Vlchez Sandoval

TELEPRESENCIA
Voz, Video y Datos

Ing. Jess Vlchez Sandoval

TCP & UDP


El protocolo SIP puede trabajar tanto con el protocolo TCP como con el
protocolo UDP.

Ing. Jess Vlchez Sandoval

Unicast & Multicast


El protocolo SIP soporta comunicacin unicast y multicast en la direccin
224.0.1.75
Fuente: http://www.iana.org/assignments/multicast-addresses/multicast-addresses.xhtml
Ing. Jess Vlchez Sandoval

FUNCIONAMIENTO
Inicio, establecimiento y gestin de sesiones

Ing. Jess Vlchez Sandoval

Localizacin

Disponibilidad

Capacidades

Establecimiento
de sesin

Gestin
de sesin

Ing. Jess Vlchez Sandoval

ENTIDADES SIP
El protocolo SIP define varias entidades y es vital comprender el rol de
cada una dentro de cualquier arquitectura SIP.

User
Agent

Redirect
Server

Registrars

Proxy
Server

Location
Servers
Ing. Jess Vlchez Sandoval

USER AGENT
UA (user Agent), interactua con el usuario. Y podemos encontrarlo en
forma de aplicacin instalada en un computador (softphone),
telfono SIP, o ATA SIP.

Ing. Jess Vlchez Sandoval

REDIRECT SERVERS
RS, ayuda a localizar los SIP UAs, provee ubicaciones alternativas
donde puede localizar al SIP UA.
Sip server en Company.com
(2) Mejor debes intentar buscarlo en
SIP:bob@university.com

(1) Invitacion a sesin para


SIP:bob.jhonson@Company.com

(5) Invitacion a sesin para


SIP:bob@estacion1234.university.com

estacion1234.university.com
(4) Podras localizarlo en
SIP:bob@estacion1234.university.com

Sip server en university.com

(3) Invitacion a sesin para


SIP:bob@university.com

PROXY SERVERS
El proxy sip se encarga de gestionar la comunicacin por si mismo.
Proxy Sip server en Company.com

(1) Invitacion a sesin para


SIP:bob.jhonson@Company.com

(3) Invitacion a sesin para


SIP:bob@estacion1234.university.com

(2) Invitacion a sesin para


SIP:bob@university.com

estacion1234.university.com

Proxy Sip server en university.com

Ing. Jess Vlchez Sandoval

REGISTRAR SERVERS
Se refiere a un servidor que acepta registros (login), son normalmente
coubicados con un proxy o redirect server.
Registrar Sip server en Company.com
(1) Hola soy Sara Connor hoy estare
localizable en:
SIP:sara@172.16.1.12

Ing. Jess Vlchez Sandoval

LOCATION SERVERS
Un Location server no se considera una entidad SIP, pero son
considerados una parte importante dentro de la arquitectura SIP. Un
location server almacena y retorna posibles ubicaciones de un UA.
Location Sip server
en Company.com
(2) Hola soy Sara Connor hoy estare
localizable en:
SIP:sara@172.16.1.12

(Registrar|proxy) Sip server


en Company.com

(1) Hola soy Sara Connor hoy estare


localizable en:
SIP:sara@172.16.1.12

Ing. Jess Vlchez Sandoval

LOCATION SERVERS
Location Sip server
en Company.com

(3) Intentalo en:


sip :Bob@131.160.1.112

(2) Donde localizo a :


SIP:bob.jhonson@Company.com??

(1) Invitacion a sesion para:


SIP:bob.jhonson@Company.com
(4) Invitacion a sesin para:
sip :Bob@131.160.1.112

131.160.1.112

(Registrar|proxy) Sip server


en Company.com

Ing. Jess Vlchez Sandoval

METODOS SIP
INVITE Pide una sesin
ACK Respuesta final a INVITE
OPTIONS Aade capacidades de servidor
CANCEL Cancela una peticin pendiente
BYE Termina una sesin
REGISTER Enva direccin de usuario a servidor

Ing. Jess Vlchez Sandoval

RESPUESTAS SIP
1XX
2XX
3XX
4XX
5XX
6XX

Provisional 100 Trying


Exito 200 OK
Redireccin 302 Moved Temporarily
Error de Cliente 404 Not Found
Error de Servidor 504 Server Time-out
Falla Global 603 Decline

Ing. Jess Vlchez Sandoval

FLUJO BASICO SIP

Ing. Jess Vlchez Sandoval

REGISTRO SIP

Ing. Jess Vlchez Sandoval

FLUJO VIA SIP PROXY

Ing. Jess Vlchez Sandoval

FLUJO VIA GATEWAY SIP

Ing. Jess Vlchez Sandoval

CARACTERISTICAS SIP

Ing. Jess Vlchez Sandoval

FIN
GRACIAS POR SU ATENCION

Ing. Jess Vlchez Sandoval


javs2112@gmail.com

Das könnte Ihnen auch gefallen