H 323 Intelligent monitoring and recording system implementation
































![Log n 格式: [Time] [Type] [Description] 33 Log n 格式: [Time] [Type] [Description] 33](https://slidetodoc.com/presentation_image/6fe7bbe811a364e17bb339414867f116/image-33.jpg)







- Slides: 40
客製化H. 323協定之智慧型網路 電話監控與錄音系統 Intelligent monitoring and recording system implementation for Customized H. 323 -based Internet phone 研究生 : 蔡家瑞 指導教授 : 柯開維 Date: 2009/07/23 1
Outline n n n Motivation and Goal Background Implementation of System ¨ System Environment of Network ¨ System Architecture ¨ Design flow chart ¨ Audio Recording n n Conclusion and Future Works DEMO 2
Background n Standard H. 323 network structure ¨ H. 323 protocol stack ¨ H. 323 call flow chart ¨ H. 323 related protocol ¨ n Customized H. 323 Customized Signal ¨ Customized H. 323 Call Flow ¨ 5
H. 323 Network Structure 7
H. 323 Protocol Stack 8
Standard H. 323 Call Flow Chart 9
H. 323 Related Protocol n RAS (Connect with Gatekeeper) n H. 225/Q. 931 (Call Control) n H. 245 (Media Control) n RTP (Media Transport) 10
RAS(Registration, Admission and Status) n n n 閘道管理員搜尋(Gatekeeper Discovery) 端點註冊(Endpoint Registration) 端點定址(Endpoint Location) 允入控制(Admission Control) 頻寬管理(Bandwidth Management) 狀態查詢、脫離以及閘道資源指示(Status, Disengage and Resource Indicate) 11
RRQ: Registration Request RCF: Registration Confirmation ARQ: Admission Request ACF: Admission Confirmation DRQ: Disconnect Request DCF: Disconnect Confirmation T RRQ RCF GK (endpoint is registered) ARQ ACF (endpoint may place call) DRQ (call has terminated) DCF Symbol Key: T GK Terminal Gatekeeper 12
H. 225/Q. 931 n n H. 225/Q. 931 call signaling is used to establish a H. 323 call. Q. 931 header Structure Name Protocol Discriminator Length(Octets) 1 Note Always 0 x 08 Call Reference 1, 2, or 3 Message Type 2 See Appendix various see Appendix IEs (Information Elements) The call reference field 13
H. 245 function definition Function Note Master-Slave Determination Determines which terminal is the master. Capability Exchange Contains information about a terminal's capability. Open and Close Transport of audio and data of Logical information. Channels Close the H. 245 Indicates the end of the Control Channel H. 245 session. 15
RTP n n P : Padding Ex : Extension CSRC : contributing source identifiers count M : Mark 16
RTP Payload Type RTP PT Name Type Clock rate (Hz) Audio channels References 0 PCMU Audio 8000 1 RFC 3551 2 G 721 Audio 8000 1 RFC 3551 3 GSM Audio 8000 1 RFC 3551 8 PCMA Audio 8000 1 RFC 3551 9 G 722 Audio 8000 1 RFC 3551 15 G 728 Audio 8000 1 RFC 3551 18 G 729 Audio 8000 1 17
Customized H. 323 n What is customized H. 323 ? ¨ n 部份的H. 323終端設備製造商為了賺取更高的利潤而藉由更改H. 323 的標準, 使他們的產品差異化, 藉此提供Standard H. 323所沒有的額外 功能或是使自家產品與其它廠牌產品無法相容 What’s difference about standard and customized H. 323? Call Signal ¨ Call Flow ¨ 18
5 -bytes Customized Signal 話機按鍵 Hook鍵壓下(On-hook) Hook鍵彈起(Off-hook) DROP Conference Transfer Hold 撥號數字 1~0 *字號 #字號 訊息 05 38 00 80 01 05 38 00 80 02 05 38 00 60 03 05 38 00 60 04 05 38 00 60 05 05 38 00 7 F 01~0 A 05 38 00 7 F 0 B 05 38 00 7 F 0 C 8 -bytes Customized Signal 描述 訊息 話機於號碼撥完時收到 08 38 11 20 A 3 83 04 42 受話端收到呼叫時 08 38 11 20 A 2 80 05 40 受話端接受呼叫時由發話端收到 08 38 11 20 A 3 80 18 07 21
19 -bytes Customized Signal 內線通話 外線通話 19 38 11 20 AE E 3 50 20 53 6 F 66 74 50 68 6 F 6 E 65 31 20 (softphone 1) 13 38 11 20 AE E 3 55 54 53 49 44 45 20 43 41 4 C 4 C 20 20 (outsidecall) 25 -bytes Customized Signal 分機號碼 通話結束訊 號 19 38 11 20 AE E 3 1 B 5 B 00 3 B 1 D 48 20 XX XX 20 20 A 5 E 3 20 20 1 B 45 19 38 11 20 A 2 80 06 AD E 3 1 B 5 B 00 3 B 00 48 16 5 B 02 4 B 1 B 45 A 3 80 2 F 0 E 22
Customized H. 323 Call Flow n The difference between standard and customized H. 323 call flow n P 2 P call flow chart *Call Transfer flow chart(see Appendix) *Conference call flow chart(see Appendix) 23
The difference between standard and customized H. 323 call flow 24
Register flow Detail 25
P 2 P Call flow Detail 26
P 2 P Call flow Detail (Cont. ) 27
Implementation of System n System Environment of Network n System Architecture n Design flow chart ¨ User Interface ¨ Log n Audio Recording 28
System Environment of Network 29
System Architecture 30
Design flow chart 31
User Interface 32
Log n 格式: [Time] [Type] [Description] 33
Audio Recording n RTP封包處理 n 音訊還原解碼 34
Q&A 40








































