Professional Documents
Culture Documents
juan.salvador@mobilesrevices-group.com
Protocolo SIP
Mensaje Función
INVITE Inicia un nuevo dialogo o sesión
ACK Respuesta a un mensaje INVITE
BYE Fin de sesión
CANCEL Cancela una petición no terminada
REGISTER Registrarse
OPTIONS Preguntar sobre los atributos del servidor
INFO Opciones interactivos para una llamada
MESSAGE Short Message
SUBSCRIBE Suscribirse a un evento
NOTIFY Envío de un evento
SIP Request (cont.)
• INVITE
INVITE sip:bob@biloxi.com SIP/2.0
Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8
Max-Forwards: 70 To: Bob <sip:bob@biloxi.com>
From: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710 CSeq: 314159
INVITE Contact: sip:alice@pc33.atlanta.com
Content-Type: application/sdp
Content-Length: 142
• REGISTER
REGISTER sip:registrar.biloxi.com SIP/2.0
Via: SIP/2.0/UDP bobspc.biloxi.com:5060;branch=z9hG4bKnashds7
Max-Forwards: 70
To: Bob sip:bob@biloxi.com
From: Bob <sip:bob@biloxi.com>;tag=456248
Call-ID: 843817637684230@998sdasdh09
CSeq: 1826 REGISTER
Contact: sip:bob@192.0.2.4
Expires: 7200 Content-Length: 0
SIP Response
Status Codes
1xx Respuesta provisional
2xx Respuesta Exitosa
3xx Redirección
4xx Error del cliente
5xx Error del Servidor
6xx Falla Global
SIP Response (cont.)
1xx Respuesta Temporal
100 Trying
180 Ringing
2xx Respuesta Exitosa
200 OK
202 Accepted
3xx Redireccion
301 Moved Permanently
302 Moved Temporarily
4xx Error del Cliente
480 Temporarily Unavailable
486 Busy Here
5xx Error del Servidor
500 Server Internal Error
503 Server Unavailable
6xx Falla Global
600 Busy Everywhere
606 Not Acceptable
SIP Response (cont)
• 100 Trying
SIP/2.0 100 Trying
Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8
To: Bob sip:bob@biloxi.com
From: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
CSeq: 314159 INVITE Content-Length: 0
• 180 Ringing
SIP/2.0 180 Ringing
Via: SIP/2.0/UDP pc33.atlanta.com;branch=z9hG4bKnashds8
To: Bob <sip:bob@biloxi.com>;tag=a6c85cf
From: Alice <sip:alice@atlanta.com>;tag=1928301774
Call-ID: a84b4c76e66710
Contact: sip:bob@192.0.2.4
CSeq: 314159 INVITE Content-Length: 0
Flujo de llamada
SIP-T SIP-I
• Definido por la RFC3372 de la • Definido por TRQ.2815 y Q.1912.5
IETF. de la ITU.
• Es una extensión de SIP, por lo • Contiene requerimientos técnicos
que contiene la misma flexibilidad. de interoperabilidad entre 3GPPSIP
• Proporciona compatibilidad con y BICC/ISUP, SIP y BICC/ISUP y
telefonía tradicional lo que le hace SIP-I y BICC/ISUP en detalle.
adecuado para redes IP. • SIP-I hace uso de numerosos
• Permite a los mensajes SIP llevar estándares y drafts del IETF que
información de señalización ISUP. contienen no solo llamadas básicas
• Solo se concentra en la sino también la interoperabilidad de
interoperabilidad de llamadas los servicios suplementarios de
básicas y no incluye servicios BICC/SIP.
suplementarios.
Relación entre SIP y ISUP
• De acuerdo a los estándares mencionados anteriormente
existe un mapeo de mensajes y parámetros entre SIP y
ISUP.
F6
UPDATE sip :10.211.12. 96:5072 SIP/2 .0 Content-Length :257
Via:SIP/2.0/UDP public.apollon.tas.com:5060;branch=z9hG4bK2hUUhBUUiUUd3fD1
From:<sip:User.0@apollon.tas.com>;tag=3Va08dZg15fd1e7U To:<sip:User.1@apollon.tas.com>;tag=14383101f9
Call-ID: 681EE514642E6F6729E00549
CSeq:3 UPDATE
Contact:<sip:10.211.7. 112 :5060>
Allow:ACK,BYE, CANCEL, INVITE,MESSAGE,OPTIONS,PRACK,REGISTER,UPDATE Max-Forwards :70
Record-Route:<sip:AAZUB8gBCqUIAH+ArAGNzjAAG@10.211.7.112:5060;lr> Reason: X.int ;cause=0x000007FF
Content-Type: application/sdp
v=0
o=- 0 2 IN IP4 10.211.7.158
s=MSS call
c=IN IP4 17.10.9.10
t=0 0
m=audio 2500 RTP/AVP 8
b=AS:64
a=rtpmap:8 PCMA/8000
a=curr:qos local sendrecv
a=curr:qos remote sendrecv
a=des:qos mandatory local sendrecv a=des:qos mandatory remote sendrecv
Call Flow MSS
• SIP/2.0 200 OK
Via:SIP/2.0/UDP public.apollon.tas.com:5060;branch=z9hG4bK2hUUhBUUiUUd3fD1 From: <sip:User. 0@apollon.tas
.com>;tag=3Va08dZg15fd1e7U
To: <sip:User. 1@apollon.tas .com>;tag=14383101f9
Call-ID: 681EE514642E6F6729E00549
CSeq:3 UPDATE
Content-Type: application/sdp
Content-Length: 256
v=0
o=- 222222 112224 IN IP4 172.24.175.10
s=
c=IN IP4 172.24.175.10 t=0 0
m=audio 3456 RTP/AVP 8 a=rtpmap: 8 PCMA/8000 a=curr:qos local sendrecv a=curr:qos remote sendrecv
a=des:qos mandatory local sendrecv
a=des:qos mandatory remote sendrecv
• SIP/2.0 200 OK
Via: SIP/2.0/UDP public.apollon.tas.com:5060;branch=z9hG4bK13Cg4CBA.eVZ3Xhb
From: <sip:User. 0@apollon.tas.com>;tag=3Va08dZg15fd1e7U
To: <sip:User. 1@apollon.tas .com>;tag=14383101f9
Call-ID: 681EE514642E6F6729E00549 CSeq: 1 INVITE
Contact: <sip:10.211.12 .96:5072>
Record-Route:< sip:AAZUB8gBCqUIAH+ArAGNzjAAG@10.211.7.112:5060;lr>
Content-Length: 0