Download presentation
Presentation is loading. Please wait.
1
Session Initiation Protocol (SIP)
Speaker: Ni-Ya Li Date: 2010/07/15
2
What Is SIP? A signaling protocol (通訊協定)
Create, modify, terminate a multimedia session For Voice over Internet Protocol (VoIP) communication, use port 5060 Defined in RFC (Request For Comments) 3261 A client-server architecture User Agent Server (UAS) User Agent Client (UAC) User Agent (UA) = UAS + UAC 2018/7/23
3
What Is SIP? (cont’d) SIP addressing (Uniform Resource Indicator)
(SIP-URI) SIP request methods REGISTER, {INVITE, BYE, CANCEL, ACK}, OPTIONS SIP request syntax INVITE SIP/2.0 SIP response status code 100 Trying, 200 OK, 302 Moved temporarily, 403 Forbidden 2018/7/23
4
What Is SIP (cont’d) Work with Session Description Protocol (SDP)
c = connection information, ex: c = IN IP m = media description, ex: m = audio 7078 RTP/AVP 0 a = media attribute, ex: a = rtpmap:0 PCMU/8000/1 Real-time Transport Protocol (RTP) SIP SDP RTP 2018/7/23
5
SIP Call Flow (UA to UA) 2018/7/23
6
Three Types of Server Proxy server Registrar Redirect server
Accept requests/responses and forward them onward Registrar Provide a server with an address at which the user can be reached for SIP sessions Redirect server Response with a alternative contact address Can be installed on the same device 2018/7/23
7
Proxy Server 2018/7/23
8
Redirect Server 2018/7/23
9
Registrar 2018/7/23
10
SIP Call through Proxy Server
Conversation 2018/7/23
11
Call Forking INVITE INVITE INVITE OK CANCEL OK Conversation 2018/7/23
12
SIP Method - OPTIONS Determine the ability of UA 2018/7/23
13
SIP - Instant Message (IM)
Defined in RFC 3428 MESSAGE method 2018/7/23
14
Review A signaling protocol use port 5060 Client/Server architecture
Addressing way Response status code Six request methods Three proxies Call flow Call forking Instant message (IM) 2018/7/23
15
References lab orientation session Daniel Collins, “Carrier Grade Voice over IP,” McGraw-Hill, September 2002 “Session Initiation Protocol,” IETF RFC 3261, June 2002 2018/7/23
16
X-Lite / Linphone Speaker: Ni-Ya Li
17
X-Lite 2018/7/23
18
Show Menu 2018/7/23
19
Account Setting (cont’d)
2018/7/23
20
Account Setting (cont’d)
2018/7/23
21
Account Setting (cont’d)
2018/7/23
22
Register Successfully
2018/7/23
23
Make A Call 2018/7/23
24
Terminate A Call 2018/7/23
25
Add A Contact User 2018/7/23
26
Add A Contact User (cont’d)
2018/7/23
27
Send Instant Message 2018/7/23
28
Send Instant Message (cont’d)
2018/7/23
29
Send Instant Message (cont’d)
2018/7/23
30
Linphone 2018/7/23
31
Account Setting 2018/7/23
32
Account Setting (cont’d)
2018/7/23
33
Account Setting (cont’d)
2018/7/23
34
Register Successfully
2018/7/23
35
Make A Call 2018/7/23
36
Terminate A Call 2018/7/23
37
Add A Contact User 2018/7/23
38
Send Instant Message 2018/7/23
39
References X-Lite user guide Linphone startup guide 2018/7/23
40
Exercise X-Lite/Linphone 擇一安裝 註冊上163.22.21.194,帳號/密碼是您的學號
開啟Wireshark,並且撥打一通電話給您隔壁的同學,由封包觀察SIP如何建立通話 同上,這次改送一則即時訊息給您隔壁的同學 2018/7/23
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.