?? ? : RTP - PowerPoint PPT Presentation

About This Presentation
Title:

?? ? : RTP

Description:

Title: PowerPoint Presentation Last modified by: Yu-Jie Created Date: 1/1/1601 12:00:00 AM Document presentation format: Other titles – PowerPoint PPT presentation

Number of Views:85
Avg rating:3.0/5.0
Slides: 31
Provided by: csieNtuE73
Category:
Tags: rtp | mgcp

less

Transcript and Presenter's Notes

Title: ?? ? : RTP


1
?? ? RTP
  • ????
  • ??????RTP??????????
  • ???RTP?RTCP??????????
  • ????

IP Network
SIP Signaling
RTP Media Stream
??cclRTP(?????),??RTP??????,?????????
2
??cclRTP(????????,??object code)
  • ??RTP??????(cclRtp.h cclRtp.c rtp.h rtp.c)
  • ????????(WavInOut.h WavInOut.c)
  • ?RTP?????????,???????RTP??(SimRTPDlg.h
    SimRTPDlg.c)

3
???? (1/3)
  • ????????????????????????IP
  • CSimRTPDlgCSimRTPDlg???cclRTPStartup(2)
  • ?RTP????????
  • ????channel??2
  • RTPOpenPort()??RTP port

4
???? (2/3)
  • void CSimRTPDlgOnOK()??WavIO??
  • ??RTPPeerConnect(ConnectIP,ConnectPort)?RTP???????
  • IP?ConnectIP
  • port?ConnectPort(?????9000)
  • ?????IO,???????RTP

5
???? (3/3)
  • ???????

????????
????IP
?????? ?Exit??
6
????
  • ??? CSimRTPDlgCSimRTPDlg
  • ???cclRTP?WavIOObj
  • ??RTP port?
  • ???????,?????OnOK function
  • ???WavIO
  • ???RTP??,???target ip?port?
  • ???target ip?port??
  • ?????buffer??
  • ???WavIO,???????

7
??? SIP User Mobility
  • ????
  • ??Location Server?Redirect Server???,????SIP??????
    ???
  • ????
  • (1)???? Location Server ??? SIP REGISTER ,??
  • ?? REGISTER ? Contact header ??URI???? ?

8
  • (2)???? Redirect Server ??? SIP INVITE Requests ,
  • ???INVITE Request ?? SIP 302 Moved
    Temporarily
  • Response,??????????? URI ?? Contact
  • header??

9
Sample 1/5
  • CCL SIP User Agent

(1)Preference (????)
10
Sample 2/5
??(????Proxy)
??Registar?IP,Port
11
Sample 3/5
???????
??????Port
12
Sample 4/5
Jay_at_ntu.edu.tw
REGISTER ToJay_at_hinet.net ContactJay_at_ntu.edu.tw
200 OK
13
Sample 5/5
Jay_at_ntu.edu.tw
Flora_at_nctu.edu.tw
(1)SIPJay_at_hinet.net
(2)SIPJay_at_ntu.edu.tw
(3)SIPJay_at_ntu.edu.tw
SIPJay_at_hinet.net
14
??????
  • Location Server, Redirect Server??????????,??Java
    Socket, WinSock, Perl, Berkely Socket
  • ??????

?Location Information ??????????
??????, ????Parse
??INVITE??, ????Parse
??302 Move Temporarily ? SIP Message
15
??? MGCP
  • ????
  • ?????MGCP???????????,??MGCP??????,???Call
    Agent?????,????????????
  • ????

?? CA ??????
CA
SS7
SG
MGCP
TGW
RGW
CO
PSTN
RTP
16
???? (1/4)
??RGW
??CA
????????
17
???? (2/4)
???CA
????
???RGW
???Endpoint
18
???? (3/4)
????????
19
???? (4/4)
CA????????????
RGW????????? ????CA????
??????
20
CA?? (1/3)
???????port
???????IP
21
CA?? (2/3)
  • ????RGW?????

?CA?????IP
CA???port
22
CA?? (3/3)
RGW??IP
RGW??port
CA?????????
???id
23
RGW??(?Voice Support)
??RGW?????
??CA?????
?????????????????(?????RGW???Domain Name?????port)
????RGW?????ID(endpointID)???
24
RGW??(?Voice Support)
??RGW?????
??CA?????
?????????????????(?????RGW???Domain Name?????port)
???RGW?????????????
25
????????
??????????? ???? ??endpointID ??
??????(hd??)
??????(hu??)
????????
??????(??????)
26
???????(1/4)
  • ????? ????? (???????????)

??????? ??????
?? message flow
??CA?finite state machine
27
???????(2/4)
  • MGCP?????????

28
???????(3/4)
  • ????????? (?????????)

29
???????(4/4)
  • ????? Call Agent ????
  • (A),(B)?? call agent simulator, (B)?mgcLoop?????
    (C)RGW ?MGCP Msg, ????(A)???????,???????,??caller?
    callee?????,?????????,????Ack????MGCP?????caller,c
    allee????????????????(A)???,?CASim.cpp??????

30
?? ???(Follow-me Service)
Write a Comment
User Comments (0)
About PowerShow.com