Sei sulla pagina 1di 61

NGN SIP

025-2871355
Email:dai.yuning@mail.zte.com.cn

http://www.itibia.com
info@itibia.com
Itibia Technologies
Confidential

Topic Index
SIP, H.323 and H.248
SIP?
SIP --
SIP
SIP
SIP
SIP
SDP
SIP
SIP
SIP
SIP
SIP
SIP-T(SIP for Telephone)
SIP H.323
SIP

http://www.itibia.com info@itibia.com

SIP, H.323 and H.248

H.323
H.225
H.245

Q.931

SIP

H.248/Megaco

RAS

RTP

TCP

RTCP

RTSP

UDP
IP

http://www.itibia.com info@itibia.com

SIP, H.323 and H.248


H.248/Megaco
IETF ITU-T

H.323:
H.323
ITU-T H.32x
.
H.323 1 2 H.245 over TCP, Q.931 over TCP
RAS over UDP.
H.323 3 4 H.245 over UDP/TCP and Q.931
over UDP/TCP RAS over UDP.
http://www.itibia.com info@itibia.com

SIP?

Session Initiation Protocol -


IETF

IP

http://www.itibia.com info@itibia.com

SIP?

SIP MMUSIC IETF 1995


IETF 1999

SIP Web HTTP SMTP

SIP
WWW.SIPFORUM.ORG.

http://www.itibia.com info@itibia.com

SIP?
SIP

RTP/RTCP SDP RTSP DNS

Presence Instant
Message QQ

http://www.itibia.com info@itibia.com

SIP
--
SIP

LDAP

LDAP
Location
Server

Redirect
Server SIP

SIP

SIP

Registrar
Server SIP

SIP

PSTN
User Agent

Gateway
Proxy
Server

Proxy
Server
http://www.itibia.com info@itibia.com

SIP
--
User Agents -

.
User Agent Clients (UAC) SIP
.
User Agent Server (UAS) SIP
.
UAC UAS - .

http://www.itibia.com info@itibia.com

SIP
--
Proxy Server -
Redirect Server
Proxy Server
SIP
UAC UAS .

.
SIP .

10

http://www.itibia.com info@itibia.com

SIP
--
Location Server -

SIP (Redirect
Server) (proxy server)
.

http://www.itibia.com info@itibia.com

11

SIP
--
Redirect Server -
Location Server
, LDAP

proxy server ,
redirect server .
user agent , redirect
server .

12

http://www.itibia.com info@itibia.com

SIP
--
Registrar Server -
REGISTER

13

http://www.itibia.com info@itibia.com

SIP
SIP Proxy Server Redirect
Server Register Server Location Server
SIP

SIP
UAC UAS Proxy Server Redirect Server
UA UAC
UAS
Location Server SIP
SIP
LDAP Light Directory Access Protocol
14
http://www.itibia.com info@itibia.com

SIP
SIP
UA

CGAS Convergency Application service

SIP

15

http://www.itibia.com info@itibia.com

SIP
SIP
Stateful Unstateful
Call Stateful

SIP
SIP

16

http://www.itibia.com info@itibia.com

SIP

SIP

17

http://www.itibia.com info@itibia.com

SIP
Client/Server HTTP

18

http://www.itibia.com info@itibia.com

SIP
SIP

SIP URL Email

SDP Session
Describle Protocol

INVITE

Re INVITE Cseq

BYE CANCEL

19

http://www.itibia.com info@itibia.com

SIP

INVITE ACK 200 OK

Proxy-Authentication
HTTP Digest

20

http://www.itibia.com info@itibia.com

SIP
SIP SIP ,
Client/Server
SIP :
INVITE
.
ACK - UAC
INVITE
INVITE .
BYE - USER AGENT
.
CANCEL -

.
REGISTER
To .
OPTIONS .
INFO ,
DTMF .

SIP :
1xx - .
2xx - .
3xx - .
4xx - Client .
5xx - Server .
6xx - Global .

21

http://www.itibia.com info@itibia.com

SIP

INVITE sip:Liming@sz.com.cn SIP/2.0


Via: SIP/2.0/UDP zhangli.sz.com.cn
From: Zhangli <sip:zhangli@sz.com.cn>
To: Liming <sip:liming@sz.com.cn>
Call-ID: 662606876@zhangli.sz.com.cn

CSeq: 1 INVITE
Contact: <sip: zhangli@sz.com.cn >
Content-Type: application/sdp
Content-Length: ...
v=0
o=bell 53655765 2353687637 IN IP4
128.3.4.5

s=Mr. Liming, have a chat.


t=0 0
c=IN IP4 liming.sz.com.cn
m=audio 3456 RTP/AVP 0
a=rtpmap:0 PCMU/8000 http://www.itibia.com info@itibia.com22

SIP

REGISTER sip:sz.com.cn SIP/2.0


Via: SIP/2.0/UDP liming@sz.com.cn
From: Zhangli <sip: liming@sz.com.cn >
To: Liming <sip:liming@sz.com.cn>
Call-ID: 662606876@zhangli.sz.com.cn
CSeq: 1 REGISTER
Contact: <sip: liming@sz.com.cn >
Expires: 3600

23

http://www.itibia.com info@itibia.com

SIP

SIP/2.0 180 Ringing


Via: SIP/2.0/UDP zhangli.sz.com.cn
From: Zhangli <sip:zhangli@sz.com.cn>
To: Liming <sip:liming@sz.com.cn>
Call-ID: 662606876@zhangli.sz.com.cn
CSeq: 1 INVITE
Contact: < sip:liming@sz.com.cn >
Content-Length: 0

24

http://www.itibia.com info@itibia.com

SIP

SIP/2.0 200 OK
Via: SIP/2.0/UDP zhangli.sz.com.cn
From: Zhangli <sip:zhangli@sz.com.cn>
To: Liming <sip:liming@sz.com.cn>
Call-ID: 662606876@zhangli.sz.com.cn
CSeq: 1 INVITE
Contact: < sip:liming@sz.com.cn >
Content-Type: application/sdp
Content-Length: 193

v=0
o=Pingtel 5 5 IN IP4 100.2.0.8
s=phone-call
c=IN IP4 100.2.0.8
t=0 0

25

http://www.itibia.com info@itibia.com

SIP
SIP SIP URL , :
user@host-- @ ( ).
SIP URL :
sip:hostname@chinatelecom.org
sip:hostname@192.168.10.1
sip:14083831088@zte.com
sip:192.168.10.1

26

http://www.itibia.com info@itibia.com

SDP
SDP
IP

27

http://www.itibia.com info@itibia.com

SDP

v=0
o=bell 53655765 2353687637 IN IP4 128.3.4.5
s=Mr. Watson, come here.
i=A Seminar on the session description protocol

t=3149328600 0

c=IN IP4 128.3.4.5

m=audio 3456 RTP/AVP 0 3 4 5


a=rtpmap:0 PCMU/8000

a=rtpmap:3 GSM/8000

a=rtpmap:4 G723/8000
a=rtpmap:5 DVI4/8000
28

http://www.itibia.com info@itibia.com

Registration -
SIP
( PC,IP PHONE),
/

SIP

Proxy Server

SIP Phone
User

Location/
Registration
Server

REGISTER

REGISTER

200

200

SIP Messages:
REGISTER Registers the address listed in the To
header field.
200 OK.

29

http://www.itibia.com info@itibia.com

SIP

SIP :
1 . , .
2 . -- SDP .
3 . .
4 . .
5 . .
6 . .

30

http://www.itibia.com info@itibia.com

SIP
100.1.0.252

100.1.0.25

100.2.0.2

100.2.0.8

User Agent
1
INVITE
2

Proxy Server

100 (Trying)

INVITE

100 (Trying)

INVITE

100 (Trying)

180 (Ringing)

180 (Ringing)

180 (Ringing)

12

200 (OK)

11

200 (OK)

10

200 (OK)

13
15

16

ACK

14

ACK

OPTIONS
200 (OK)

RTP MEDIA PATH

User Agent

Proxy Server

18

BYE

17

19

200 (OK)

20

BYE
200 (OK)

31

http://www.itibia.com info@itibia.com

SIP

Proxy Server

User Agent
INVITE

Location/Redirect Server
INVITE
302
(Moved Temporarily)

User Agent

Proxy Server

ACK
INVITE

180 (Ringing)
200 (OK)
ACK

180 (Ringing)
200 (OK)
ACK

INVITE
180 (Ringing)
200 (OK)
ACK

RTP MEDIA PATH


BYE

BYE

BYE

200 (OK)

200 (OK)

200 (OK)

32

http://www.itibia.com info@itibia.com

100.1.0.252

SIP

100.1.0.25

User Agent
1
INVITE
2

100.2.0.2

Proxy Server

100 (Trying)

INVITE

100 (Trying)

INVITE

100 (Trying)

180 (Ringing)

180 (Ringing)

180 (Ringing)

12

200 (OK)

11

200 (OK)

10

200 (OK)

13
15
16

ACK

14

ACK

OPTIONS
200 (OK)

RTP MEDIA PATH

User Agent

Proxy Server

100.2.0.8

18

BYE

17

19

200 (OK)

20

BYE
200 (OK)

33

http://www.itibia.com info@itibia.com

SIP
1.

INVITE sip:02220002@100.1.0.25;user=phone SIP/2.0


Via: SIP/2.0/UDP 100.1.0.252
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>
Call-ID: 3733973800@100.1.0.252
CSeq: 1 INVITE
Contact: <sip:02120001@100.1.0.252;user=phone;transport=udp>
User-Agent: Cisco ATA v2.11 ata186 (0803a)
Expires: 300
Content-Length: 245
Content-Type: application/sdp
v=0
o=02120001 573 573 IN IP4 100.1.0.252
s=ATA186 Call
c=IN IP4 100.1.0.252
t=0 0
m=audio 10000 RTP/AVP 0 4 8 101
a=rtpmap:0 PCMU/8000/1
a=rtpmap:4 G723/8000/1
a=rtpmap:8 PCMA/8000/1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

34

http://www.itibia.com info@itibia.com

SIP

2.

SIP/2.0 100 Trying


Via: SIP/2.0/UDP 100.1.0.252
Call-ID: 3733973800@100.1.0.252
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>
CSeq: 1 INVITE
Content-Length: 0

3.

INVITE sip:02220002@100.2.0.2:5060;user=phone SIP/2.0


Via: SIP/2.0/UDP 100.1.0.25:5060;branch=beb4b540-65a2ea80-f79d94fd-6870ff45-1
Via: SIP/2.0/UDP 100.1.0.252
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>
Call-ID: 3733973800@100.1.0.252
CSeq: 1 INVITE
Contact: <sip:02120001@100.1.0.252;user=phone;transport=udp>
User-Agent: Cisco ATA v2.11 ata186 (0803a)
Expires: 300
Content-Length: 245
Content-Type: application/sdp
v=0
o=02120001 573 573 IN IP4 100.1.0.252
s=ATA186 Call
c=IN IP4 100.1.0.252
t=0 0
m=audio 10000 RTP/AVP 0 4 8 101
a=rtpmap:0 PCMU/8000/1
a=rtpmap:4 G723/8000/1
a=rtpmap:8 PCMA/8000/1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

35

http://www.itibia.com info@itibia.com

SIP

4.

SIP/2.0 100 Trying


Via: SIP/2.0/UDP 100.1.0.25:5060;branch=beb4b540-65a2ea80-f79d94fd-6870ff45-1
Via: SIP/2.0/UDP 100.1.0.252
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>
Call-ID: 3733973800@100.1.0.252
CSeq: 1 INVITE
Content-Length: 0

5.

INVITE sip:02220002@100.2.0.8:5060 SIP/2.0


Via: SIP/2.0/UDP 100.2.0.2:5060
Via: SIP/2.0/UDP 100.1.0.25:5060;branch=beb4b540-65a2ea80-f79d94fd-6870ff45-1
Via: SIP/2.0/UDP 100.1.0.252
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>
CSeq: 1 INVITE
Call-ID: 3733973800@100.1.0.252
Content-Length: 245
Contact: <sip:02120001@100.1.0.252;transport=udp;user=phone>
Content-Type: application/sdp
Expires: 300
User-Agent: Cisco ATA v2.11 ata186 (0803a)
Record-Route: <sip:02220002@100.2.0.2:5060;maddr=100.2.0.2>
v=0
o=02120001 573 573 IN IP4 100.1.0.252
s=ATA186 Call
c=IN IP4 100.1.0.252
t=0 0
m=audio 10000 RTP/AVP 0 4 8 101
a=rtpmap:0 PCMU/8000/1
a=rtpmap:4 G723/8000/1
a=rtpmap:8 PCMA/8000/1
a=rtpmap:101 telephone-event/8000
a=fmtp:101 0-15

36

http://www.itibia.com info@itibia.com

SIP

6.

SIP/2.0 100 Trying


From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>;tag=14502
Call-Id: 3733973800@100.1.0.252
Cseq: 1 INVITE
Via: SIP/2.0/UDP 100.2.0.2:5060
Via: SIP/2.0/UDP 100.1.0.25:5060;branch=beb4b540-65a2ea80-f79d94fd-6870ff45-1
Via: SIP/2.0/UDP 100.1.0.252
Contact: sip:20002@100.2.0.8
User-Agent: Pingtel/1.1.1 (VxWorks)
Content-Length: 0

7.

SIP/2.0 180 Ringing


From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>;tag=14502
Call-Id: 3733973800@100.1.0.252
Cseq: 1 INVITE
Via: SIP/2.0/UDP 100.2.0.2:5060
Via: SIP/2.0/UDP 100.1.0.25:5060;branch=beb4b540-65a2ea80-f79d94fd-6870ff45-1
Via: SIP/2.0/UDP 100.1.0.252
Contact: sip:20002@100.2.0.8
User-Agent: Pingtel/1.1.1 (VxWorks)
Content-Length: 0

8.

SIP/2.0 180 Ringing


Via: SIP/2.0/UDP 100.1.0.25:5060;branch=beb4b540-65a2ea80-f79d94fd-6870ff45-1
Via: SIP/2.0/UDP 100.1.0.252
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>;tag=14502
Cseq: 1 INVITE
Call-Id: 3733973800@100.1.0.252
Content-Length: 0
Contact: sip:20002@100.2.0.8
User-Agent: Pingtel/1.1.1 (VxWorks)

37

http://www.itibia.com info@itibia.com

SIP

9.

SIP/2.0 180 Ringing


Via: SIP/2.0/UDP 100.1.0.252
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>;tag=14502
CSeq: 1 INVITE
Call-ID: 3733973800@100.1.0.252
Content-Length: 0
Contact: sip:20002@100.2.0.8
User-Agent: Pingtel/1.1.1 (VxWorks)

10.

SIP/2.0 200 OK
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>;tag=14502
Call-Id: 3733973800@100.1.0.252
Cseq: 1 INVITE
Content-Type: application/sdp
Content-Length: 193
Via: SIP/2.0/UDP 100.2.0.2:5060
Via: SIP/2.0/UDP 100.1.0.25:5060;branch=beb4b540-65a2ea80-f79d94fd-6870ff45-1
Via: SIP/2.0/UDP 100.1.0.252
Record-Route: <sip:02220002@100.2.0.2:5060;maddr=100.2.0.2>
Contact: sip:20002@100.2.0.8
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY
User-Agent: Pingtel/1.1.1 (VxWorks)
v=0
o=Pingtel 5 5 IN IP4 100.2.0.8
s=phone-call
c=IN IP4 100.2.0.8
t=0 0
m=audio 8766 RTP/AVP 0 8 101
a=rtpmap:0 pcmu/8000/1
a=rtpmap:8 pcma/8000/1
a=rtpmap:101 telephone-event/8000/1

38

http://www.itibia.com info@itibia.com

11.

SIP

SIP/2.0 200 OK
Via: SIP/2.0/UDP 100.1.0.25:5060;branch=beb4b540-65a2ea80-f79d94fd-6870ff45-1
Via: SIP/2.0/UDP 100.1.0.252
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>;tag=14502
Cseq: 1 INVITE
Call-Id: 3733973800@100.1.0.252
Content-Length: 193
Allow: INVITE
Allow: ACK
Allow: CANCEL
Allow: BYE
Allow: REFER
Allow: OPTIONS
Allow: NOTIFY
Contact: sip:20002@100.2.0.8
Content-Type: application/sdp
Record-Route: <sip:02220002@100.2.0.2:5060;maddr=100.2.0.2>
User-Agent: Pingtel/1.1.1 (VxWorks)
v=0
o=Pingtel 5 5 IN IP4 100.2.0.8
s=phone-call
c=IN IP4 100.2.0.8
t=0 0
m=audio 8766 RTP/AVP 0 8 101
a=rtpmap:0 pcmu/8000/1
a=rtpmap:8 pcma/8000/1
a=rtpmap:101 telephone-event/8000/1

39

http://www.itibia.com info@itibia.com

12.

SIP

SIP/2.0 200 OK
Via: SIP/2.0/UDP 100.1.0.252
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>;tag=14502
CSeq: 1 INVITE
Call-ID: 3733973800@100.1.0.252
Content-Length: 193
Allow: INVITE, ACK, CANCEL, BYE, REFER, OPTIONS, NOTIFY
Contact: sip:20002@100.2.0.8
Content-Type: application/sdp
Record-Route: <sip:02220002@100.2.0.2:5060;maddr=100.2.0.2>
User-Agent: Pingtel/1.1.1 (VxWorks)
v=0
o=Pingtel 5 5 IN IP4 100.2.0.8
s=phone-call
c=IN IP4 100.2.0.8
t=0 0
m=audio 8766 RTP/AVP 0 8 101
a=rtpmap:0 pcmu/8000/1
a=rtpmap:8 pcma/8000/1
a=rtpmap:101 telephone-event/8000/1

13.

ACK sip:02220002@100.2.0.2 SIP/2.0


Route: <sip:20002@100.2.0.8:5060>
Via: SIP/2.0/UDP 100.1.0.252
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>;tag=14502
Call-ID: 3733973800@100.1.0.252
CSeq: 1 ACK
User-Agent: Cisco ATA v2.11 ata186 (0803a)
Content-Length: 0

40

http://www.itibia.com info@itibia.com

SIP

14.

ACK sip:20002@100.2.0.8:5060 SIP/2.0


Via: SIP/2.0/UDP 100.1.0.252
From: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
To: <sip:02220002@100.1.0.25;user=phone>;tag=14502
CSeq: 1 ACK
Call-ID: 3733973800@100.1.0.252
Content-Length: 0
User-Agent: Cisco ATA v2.11 ata186 (0803a)

15.

OPTIONS sip:02220002@100.2.0.2:5060;maddr=100.2.0.2 SIP/2.0


Route: <sip:02120001@100.1.0.252;transport=udp;user=phone>
From: <sip:02220002@100.1.0.25;user=phone>;tag=14502
To: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
Call-Id: 3733973800@100.1.0.252
Cseq: 1 OPTIONS
Accept-Language: en
Supported: sip-cc, sip-cc-01, timer
User-Agent: Pingtel/1.1.1 (VxWorks)
Via: SIP/2.0/UDP 100.2.0.8
Content-Length: 0

16.

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 100.2.0.8
From: <sip:02220002@100.1.0.25;user=phone>;tag=14502
To: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
Call-ID: 3733973800@100.1.0.252
Cseq: 1 OPTIONS
Content-Length: 0

41

http://www.itibia.com info@itibia.com

SIP

17.

BYE sip:02220002@100.2.0.2:5060;maddr=100.2.0.2 SIP/2.0


Route: <sip:02120001@100.1.0.252;transport=udp;user=phone>
From: <sip:02220002@100.1.0.25;user=phone>;tag=14502
To: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
Call-Id: 3733973800@100.1.0.252
Cseq: 2 BYE
Accept-Language: en
Supported: sip-cc, sip-cc-01, timer
User-Agent: Pingtel/1.1.1 (VxWorks)
Via: SIP/2.0/UDP 100.2.0.8
Content-Length: 0

18.

SIP/2.0 200 Ok
Via: SIP/2.0/UDP 100.2.0.8
From: <sip:02220002@100.1.0.25;user=phone>;tag=14502
To: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
Call-ID: 3733973800@100.1.0.252
Cseq: 2 BYE
Content-Length: 0

19.

BYE sip:02120001@100.1.0.252;transport=udp;user=phone SIP/2.0


Via: SIP/2.0/UDP 100.2.0.2:5060
Via: SIP/2.0/UDP 100.2.0.8
From: <sip:02220002@100.1.0.25;user=phone>;tag=14502
To: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
Cseq: 2 BYE
Call-Id: 3733973800@100.1.0.252
Content-Length: 0
Supported: sip-cc
Supported: sip-cc-01
Supported: timer
Accept-Language: en
User-Agent: Pingtel/1.1.1 (VxWorks)

42

http://www.itibia.com info@itibia.com

20.

SIP

SIP/2.0 200 OK

Via: SIP/2.0/UDP 100.2.0.2:5060


Via: SIP/2.0/UDP 100.2.0.8

From: <sip:02220002@100.1.0.25;user=phone>;tag=14502
To: <sip:02120001@100.1.0.25;user=phone>;tag=1981486230
Call-Id: 3733973800@100.1.0.252
Cseq: 2 BYE
Server: Cisco ATA v2.11 ata186 (0803a)
Content-Length: 0

43

http://www.itibia.com info@itibia.com

SIP
Bob-current location
John-current location
Susan-current location

Bob

SIP Network

Location
Server

Redirect
Server

Register Presence
Server
Server

Media
Server
PSTN

Susan

Gateway/MGC
Proxy
Server A

Proxy
Server B

Yes
Is Bob online right now?
John

Demo Presence and Confercenc Call

44

http://www.itibia.com info@itibia.com

SIP
Location
Server
Location
Server

Redirect
Server

Register
Server

Presence
Server

liming@nj.com.cn--liming
%40nj.com.cn@sz.com.cn

Redirect
Server

Register
Server

Is lao li online right now?

PSTN

PSTN

Gate
Proxy
Server

Proxy
Server

Presence
Server

Gateway/MGC

Gate
Proxy
Gateway/MGC
302 contact:liming%40nj.com.cn@sz.com.cn
Server

Proxy
Server

liming@nj.com.cn--current_Proxy-current_IPAddr

Yes Liming@nj.com.cn
INVITE
Location
Server

Redirect
Server

Register
Server

Presence
Server

PSTN

INVITE liming%40nj.com.cn@sz.com.cnGateway/MGC
Gate
Proxy
Server

Proxy
Server

Gi

GGSN/SGSN

Comm. Tower

Demo Personal Mobility

45

http://www.itibia.com info@itibia.com

SIP-T(SIP for Telephone)


SIP VoIP PSTN

SIP-T PSTN-SIP

SIP T SIP PSTN


RFC3204 RFC3372 RFC3398
SIP T SIP ISUP
ITU T Q.1912
SIP ISUP
46

http://www.itibia.com info@itibia.com

SIP-T(SIP for Telephone)


SIP T
SIP ISUP
ISUP SIP
INFO

47

http://www.itibia.com info@itibia.com

SIP-T(SIP for Telephone)


SIP T
Softswitch A

SIGTRAN

SG

SIP T

H.248/MGCP

Softswitch B

H.248/MGCP

TG

SIGTRAN
TG

SG

Media Stream
NO.7 LINK
PSTN Exchange

NO.7 LINK

PSTN Exchange

48

http://www.itibia.com info@itibia.com

SIP-T(SIP for Telephone)


SIP T
SIP T
SS A

PSTN
IAM

SS B
INVITE

PSTN
IAM

Trying 100
ACM

Ringing 180

ACM

Ring Tone
ANM

OK 200

ANM

ACK
Conversation

REL
RLC

BYE
OK 200

REL

RLC

49

http://www.itibia.com info@itibia.com

Presence
<<draft-ietf-simple-presence-00.txt>>
SIP Presence Agent(PA),
Register Server , A B
, (Subscribe) PA,
B URL , PA Register Server
, B ,Register Server
PA, PA (Notify) A,
B .
B , , A
B ,
B , .

50

http://www.itibia.com info@itibia.com

SIP H.323
SIP H.323
-
-

51

http://www.itibia.com info@itibia.com

H.323
H.323 IP

H.323 IP
H.323

H.323
H.323
H.323 NGN

52

http://www.itibia.com info@itibia.com

SIP
SIP

SIP H.323
SIP RTSP HTTP
SIP H.323

SIP INVITE

53

http://www.itibia.com info@itibia.com

SIP H.323
Information

SIP

H.323

Standards Body

IETF.

ITU.

Relationship

Peer-to-Peer.

Peer-to-Peer.

Origins

Internet based and web centric. Borrows syntax and


messages from HTTP.

Telephony based. Borrows call signaling protocol from


ISDN Q.SIG.

Client

Intelligent user agents.

Intelligent H.323 terminals.

Core servers

SIP proxy, redirect, location, and registration servers.

H.323 Gatekeeper.

Current Deployment

Interoperability testing between various vendors products


is ongoing at SIP bakeoffs.
SIP is gaining interest.

Widespread.

Interoperability

IMTC sponsors interoperability events among SIP, H.323, and MGCP. For more information, visit: http://www.imtc.org/

54

http://www.itibia.com info@itibia.com

SIP H.323
Information

SIP

H.323

Capabilities Exchange

SIP uses SDP protocol for capabilities exchange. SIP does


not provide as extensive capabilities exchange as H.323.

Supported by H.245 protocol. H.245 provides structure for


detailed and precise information on terminal capabilities.

Control Channel Encoding


Type

Text based UTF-8 encoding.

Binary ASN.1 PER encoding.

Server Processing

Stateless or stateful.

Version 1 or 2 Stateful.
Version 3 or 4 Stateless or stateful.

Quality of Service

SIP relies on other protocols such as RSVP, COPS, OSP to


implement or enforce quality of service.

Bandwidth management/control and admission control is


managed by the H.323 gatekeeper.
The H323 specification recommends using RSVP for resource
reservation.

55

http://www.itibia.com info@itibia.com

SIP H.323
Information

SIP

H.323

Security

Registration - User agent registers with a proxy server.


Authentication - User agent authentication uses HTTP
digest or basic authentication.
Encryption - The SIP RFC defines three methods of
encryption for data privacy.

Registration - If a gatekeeper is present, endpoints register


and request admission with the gatekeeper.
Authentication
and
Encryption
-H.235
provides
recommendations for authentication and encryption in H.323
systems.

Endpoint Location and Call


Routing

Uses SIP URL for addressing.


Redirect or location servers provide routing information.

Uses E.164 or H323ID alias and a address mapping


mechanism if gatekeepers are present in the H.323 system.
Gatekeeper provides routing information.

56

http://www.itibia.com info@itibia.com

SIP H.323
Information

SIP

H.323

Features

Basic call features.

Basic call features.

Conferencing

Basic conferencing without conference or floor control.

Comprehensive audiovisual conferencing support.


Data conferencing or collaboration defined
specification.

Service or Feature Creation

Supports flexible and intuitive feature creation with SIP using


SIP-CGI and CPL.

H.450.1 defines a framework for supplementary service


creation.

by

T.120

Some example features include presence, unified messaging,


or find me/follow me.

Note: Basic call features include: call hold, call waiting, call transfer, call forwarding, caller identification, and call park.

57

http://www.itibia.com info@itibia.com

SIP
3COM Lucent Level(3)
Communication ERICSSON
SIP Microsoft
H.323 NetMeeting
Windows XP SIP
SIP
SIP
www.sipforum.org SIP

58

http://www.itibia.com info@itibia.com


IP

SIP(IETF RFC2543)

SIP H.323
SIP

59

http://www.itibia.com info@itibia.com

!
60

http://www.itibia.com info@itibia.com

SIP

61

http://www.itibia.com info@itibia.com

Potrebbero piacerti anche