Documentos de Académico
Documentos de Profesional
Documentos de Cultura
Introduccion SIP (Irontec)
Introduccion SIP (Irontec)
Mdulo I
IRONTEC - http://www.irontec.com
1
GorkaGorrotxategiIakiBaz
2
GorkaGorrotxategiIakiBaz
Conexinpuntoa
punto.
Inicialmente,
conmutacinmanual:
4
GorkaGorrotxategiIakiBaz
Enmuchoscasos:
comunicacinanalgica
hastalacentral.
Enlacentrallasealse
convierteadigital:PCMde
64kbps(prcticamentesin
prdidadecalidad).
Bucle de
Abonado
Central
5
GorkaGorrotxategiIakiBaz
6
GorkaGorrotxategiIakiBaz
7
GorkaGorrotxategiIakiBaz
Interconexin
Central
Central
9
GorkaGorrotxategiIakiBaz
10
GorkaGorrotxategiIakiBaz
GorkaGorrotxategiIakiBaz
12
GorkaGorrotxategiIakiBaz
Funciones de control
13
GorkaGorrotxategiIakiBaz
SNOM 360
SIPURA 841
14
GorkaGorrotxategiIakiBaz
LINKSYS PAP2
15
GorkaGorrotxategiIakiBaz
Skype
X-Lite
WengoPhone GoogleTalk
16
GorkaGorrotxategiIakiBaz
Avaya IP Office
17
GorkaGorrotxategiIakiBaz
GorkaGorrotxategiIakiBaz
19
GorkaGorrotxategiIakiBaz
20
GorkaGorrotxategiIakiBaz
21
GorkaGorrotxategiIakiBaz
22
GorkaGorrotxategiIakiBaz
23
GorkaGorrotxategiIakiBaz
25
GorkaGorrotxategiIakiBaz
Codec Bitrate
64 Kbps
8 kbps
4-44,2 Kbps
13,3 Kbps
6,3 Kbps
13,2 Kbps
Intervalo
10ms
10ms
30
30
37
20
A.Banda(Ethernet)
87 Kbps
31,2 Kbps
17,63 59,63 Kbps
30,83 Kbps
21,9 Kbps
28,63Kbps
27
GorkaGorrotxategiIakiBaz
28
GorkaGorrotxategiIakiBaz
29
GorkaGorrotxategiIakiBaz
31
GorkaGorrotxategiIakiBaz
Capacidades de SIP:
Localizacin del usuario.
Disponibilidad del usuario: determinacin de la voluntad del
receptor de la llamada de participar en las comunicaciones.
Capacidad del usuario: Determinacin del medio y de sus
parmetros.
Gestin de la sesin: transferencia, terminacin de sesiones,
modificacin de los parmetros de la sesin desde el propio
'User Agent'.
En SIP, el usuario es el 'dueo' de su sesin.
33
GorkaGorrotxategiIakiBaz
Dos Canales:
Sealizacin(UDP 5060): Establecimiento, Negociacin,Fin...)
Streaming RTP (UDP 10000-20000 normalmente) y control
RTCP.
34
GorkaGorrotxategiIakiBaz
36
GorkaGorrotxategiIakiBaz
37
GorkaGorrotxategiIakiBaz
Origen
INVITE sip:fulano@foo.com
100 Trying
INVITE sip:fulano@foo.com
100 Trying
180 Ringing
180 Ringing
200 OK
200 OK
ACK
Flujo RTP
BYE
200 OK
38
GorkaGorrotxategiIakiBaz
39
GorkaGorrotxategiIakiBaz
40
GorkaGorrotxategiIakiBaz
42
GorkaGorrotxategiIakiBaz
Direcciones SIP
Similar a direcciones de correo:
sip:fulanito@foo.com
+349440123455.4.3.2.1.0.4.4.9.4.3.e164.arpa
Internet
1. Llamar a fulanito@foo.com
Origen
2.
PBX
foo.com
a
ar
m
Lla
m
co
.
o
fo
@
to
i
lan
u
f
Destino
sip:fulanito@foo.com
44
GorkaGorrotxategiIakiBaz
e
i
pu
tic
s
e
e
P
R
1.
2.
Servidor DNS
Internet
s
cin de dato
a
ic
n
u
m
o
C
5.
Origen
3. Ll
ama
r a fu
lanit
o@f
oo.c
om
RTP
4.
PBX
sip.foo.com
(Paso opcional)
ar
m
Lla
m
co
.
o
Destino
fo
fulanito@foo.com
o@
t
i
n
ula
f
a
46
GorkaGorrotxategiIakiBaz
Comprobacin:
#>hosttsrv_sip._udp.foo.com
_sip._udp.foo.comhasSRVrecord005060192.168.0.111.
47
GorkaGorrotxategiIakiBaz
+349440123455.4.3.2.1.0.4.4.9.4.3.e164.arpa
Ejemplo:
Llamada desde un telfono IP al +34944991234
3. Llamar a sip:fulano@foo.com
2.
Re
Origen
spu
sip esta:
1.
ma :fula
Co
ilto no@
nsu
:fu
lta
lan foo.
4.3
o@ com
.2.
gm
1.9
ail.
.9.
co
4.4
m
.9.
4.3
.e1
64
.ar
pa
Destino
Servidor DNS
49
GorkaGorrotxategiIakiBaz
51
GorkaGorrotxategiIakiBaz
Prefijo 8.
Compartido con el servicio telefnico fijo.
El usuario contrata el nmero al operador asignado por
la CMT.
Ofrece el servicio slo donde reside el abonado.
Ejemplo:
Vizcaya:846
+348463123456
Ms informacin:
BOE Jueves 18 agosto 2005:
http://www.boe.es/boe/dias/2005/08/18/pdfs/A2886828871.pdf
52
GorkaGorrotxategiIakiBaz
http://www.uct.cl/biblioteca/tesis-on-line/heinz-herlitz/tesis.pdf
53
GorkaGorrotxategiIakiBaz
Problema en salida:
encapsulacin IP
y puerto de RTP
a nivel de aplicacin
Internet
Router NAT
Red local
IP's privadas:
192.168.0.0/16
172.16.0.0/12
10.0.0.0/8
Problema en entrada:
mapeo de puertos
54
GorkaGorrotxategiIakiBaz
2050
2050
Mquina interna
4702
4702
Router NAT
3590
Irontec
55
GorkaGorrotxategiIakiBaz
2050
1025
Mquina interna
4702
2231
1025
1025
Router NAT
3590
Irontec
56
GorkaGorrotxategiIakiBaz
2050
4702
2231
125
125
Mquina interna
Router NAT
3590
Irontec
57
GorkaGorrotxategiIakiBaz
2050
4702
Google
2050
Mquina interna
9055
Router NAT125
80
2231
Irontec
58
GorkaGorrotxategiIakiBaz
59
GorkaGorrotxategiIakiBaz
60
GorkaGorrotxategiIakiBaz
61
GorkaGorrotxategiIakiBaz
Control
Telfono IP RTP
dentro de puerto
NAT
16384
Servidor STUN
Router NAT
IP: 80.55.212.49
Puerto: 14560
62
GorkaGorrotxategiIakiBaz
Test I:
El cliente STUN solicita al servidor STUN (UDP port
3478) la IP y puerto exterior suyas (del cliente).
Test II:
El cliente STUN repite la peticin pero solicitando al
servidor STUN que responda desde otra IP y puerto.
Test III:
Igual que el Test II pero solicitando slo que responda
desde otro puerto.
63
GorkaGorrotxategiIakiBaz
Test II
S
Respuesta
?
No
Bloqueo
UDP
contina...
Misma IP
?
No
Test II
Respuesta
?
No
Firewall
UDP
simtrico
S
Internet
directo
64
GorkaGorrotxategiIakiBaz
No
Misma IP
?
Test II
No
Test I
[2da IP STUN]
Respuesta
?
S
Test III
NAT
full cone
Respuesta
?
No
NAT
puerto
restringido
S
NAT
restringido
65
GorkaGorrotxategiIakiBaz
Sitios Web
Copyright2006Irontec<contacto@irontec.com>
Detalles de la licencia
http://creativecommons.org/licenses/by/2.5/es/deed.es
67
GorkaGorrotxategiIakiBaz