1 / 25

SIP Introduction and Packet Analysis

SIP Introduction and Packet Analysis. 97598050 王謙志. Outline. SIP Introduction Call Flow Point to Point Flow Transfer Flow Conference Flow Exception How to use JPcap Future Work Reference. SIP Introduction.

taurus
Télécharger la présentation

SIP Introduction and Packet Analysis

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. SIP Introduction and Packet Analysis 97598050 王謙志

  2. Outline • SIPIntroduction • Call Flow • Point to Point Flow • Transfer Flow • Conference Flow • Exception • How to use JPcap • Future Work • Reference

  3. SIP Introduction • Session Initiation Protocol,透過IP封包來完成多媒體通訊訊號的控制。第一個被提議的標準版本在RFC 2543中定義。在RFC 3261中對這個協議有更深入的解釋。 • 由五個元件組成,User Agent、Proxy Server、Redirect Server、Registrar、LocationServer。

  4. SIP Architecture

  5. 程式設計環境: Proxy Server、 Redirect Server、Registrar、 LocationServer。 SIPRMA

  6. Request methods

  7. Request methods

  8. Response codes

  9. Point to Point Call

  10. INVITERequest

  11. 200 OK Response • 200OK可以用來回應如:INVITE、REGISTER、BYE等Request method。 • CSeq: INVITE Request 200 OK

  12. BYE Request

  13. Transfer Call

  14. Transfer Call • REFER Request

  15. Conference Call • 目前沒有Conference這項功能的Request method。 • 由Conference發起人送出INVITE去邀請另一個人加入。 • 若是發起人掛斷電話,則Conference結束。

  16. Conference call flow

  17. 201 202 203

  18. Exception:CANCEL Request

  19. CANCEL Request

  20. 486 Busy Here Response

  21. 486 Busy Here Response

  22. How to use JPcap • JAVA本身的API並不能抓取到底層的網路數據,JPcap乃是一種提供Windows或Unix系統進行捕捉或發送封包的Java API。 • JpcapCaptorJpcap=JpcapCaptor.openDevice():設定網路卡。 • JpcapCaptorjpcap.processPacket():裝取封包,抓到後將封包丟至PacketReceiver。 • 到PacketReceiver裡的void receivePacket(Packet packet)function去處理抓到的封包。

  23. Future Work • 錄製語音檔。 • 加入資料庫管理。 • 使用者介面設計。

  24. Reference • RFC 3261 • RFC3515 • 馬兆緯,” JPANDDR:網路協定分析、診斷、與資料重組系統之研製”,國立台北科技大學資訊工程所,July 2007 • http://netresearch.ics.uci.edu/kfujii/jpcap/doc/index.html, JPcap • http://en.wikipedia.org/wiki/Session_Initiation_Protocol, Session Initiation Protocol - Wikipedia, the free encyclopedia

  25. Thanks for your attention

More Related