P2P VoIP Speaker : Ching Chen Chang Date: 2007/09/27.

Slides:



Advertisements
Similar presentations
VoIP PRESENTATION BY HÜSEYİN SAVRAN OUTLINE PSTN an brief history of telephone.
Advertisements

1 IP Telephony (VoIP) CSI4118 Fall Introduction (1) A recent application of Internet technology – Voice over IP (VoIP): Transmission of voice.
Tom Behrens Adam Muniz. Overview What is VoIP SIP Sessions H.323 Examples Problems.
Voice over IP Fundamentals
Lync Audio and Video Lync Online User Education & Training.
January 23-26, 2007 Ft. Lauderdale, Florida An introduction to SIP Simon Millard Professional Services Manager Aculab.
Voice over IP Skype.
1 SIP-based VoIP Lab. 2 Step 1: Connect Your PC to The Network Get your laptop connected to the campus WLAN. –Run ipconfig to show your own IP address.
Session Initiation Protocol (SIP) By: Zhixin Chen.
SIP/RTP/RTCP Implementation by George Fu, UCCS CS 525 Semester Project Fall 2006.
VoIP Using SIP/RTP by George Fu, UCCS CS 522 Semester Project Fall 2004.
Modeling the SIP proxy using Promela Jong Yul Kim December 21, 2009.
 3G is the third generation of tele standards and technology for mobile networking, superseding 2.5G. It is based on the International Telecommunication.
CS158B Project By Shing Chau Jerry Ko Ying Li
CSc 461/561 CSc 461/561 Multimedia Systems Part C: 2. SIP.
SIP, Session Initiation Protocol Internet Draft, IETF, RFC 2543.
VoIP & Mobile VoIP 梁紀翔 NETLab. 2 Topics ► Voice over Internet Protocol  H.323, SIP, Skype  Adoption  Benefits  Challenge ► Mobile VoIP 
TCP: Software for Reliable Communication. Spring 2002Computer Networks Applications Internet: a Collection of Disparate Networks Different goals: Speed,
K. Salah 1 Chapter 28 VoIP or IP Telephony. K. Salah 2 VoIP Architecture and Protocols Uses one of the two multimedia protocols SIP (Session Initiation.
Introduction to SIP Speaker: Min-Hua Yang Advisor: Ho-Ting Wu Date:2005/3/29.
Secure Telephony Enabled Middle-box (STEM) Maggie Nguyen Dr. Mark Stamp SJSU - CS 265 Spring 2003 STEM is proposed as a solution to network vulnerabilities,
Session Initiation Protocol Tutorial Ronen Ben-Yossef VP of Products - RADCOM
1 SIP-based VoIP Lab. 2 Step 1: Connect Your PC to The Network Get your laptop connected to the campus network (both WLAN or wireline will work). –Run.
3. VoIP Concepts.
Copyrights © All rights Reserved. Introduction to VoIP Chetan Vaity August 2006.
Developing A Sip User Agent Using The Jain Sip Stack. Robert.V Masango Supervisors: Alfredo Terzoli, Ming Hsieh.
Session Initiation Protocol Team Members: Manjiri Ayyar Pallavi Murudkar Sriusha Kottalanka Vamsi Ambati Girish Satya LeeAnn Tam.
ITNW 1380 COOPERATIVE EDUCATION – NETWORKING Spring 2010 Seminar # 4 VOIP Network Solutions.
NAT Traversal Speaker: Chin-Chang Chang Date:
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 8 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
VoIP Study and Implementation VoIP Ecosystem and Strategy Version 1.0 – Author : Marc PYBOURDIN / Julien BERTON Last Update : 15/05/2012.
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 4 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
Computer Networks: Multimedia Applications Ivan Marsic Rutgers University Chapter 3 – Multimedia & Real-time Applications.
Internet Addresses. Universal Identifiers Universal Communication Service - Communication system which allows any host to communicate with any other host.
Network Technologies essentials Week 9: Distributed file sharing & multimedia Compilation made by Tim Moors, UNSW Australia Original slides by David Wetherall,
Call Control with SIP Brian Elliott, Director of Engineering, NMS.
1 TAC2000/ LABORATORY 117 Outline of the Hands-on Tutorial  SIP User-Agent Register Register Make calls Make calls  Fault-Finding Tools Observe.
IP Multicast A convention to identify a multicast address Each node must translate between an IP multicast address and a list of networks that contain.
Computer and Information Science Ch1.3 Computer Networking Ch1.3 Computer Networking Chapter 1.
1 SIP-based VoIP Lab. 2 Step 1: Connect Your PC to The Network Get your laptop connected to the campus WLAN. –Run ipconfig to show your own IP address.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
H.323 An International Telecommunications Union (ITU) standard. Architecture consisting of several protocols oG.711: Encoding and decoding of speech (other.
1 © NOKIA FILENAMs.PPT/ DATE / NN Helsinki University of Technology Department of Electrical and Communications Engineering Jarkko Kneckt point to point.
Presented By Team Netgeeks SIP Session Initiation Protocol.
1 NAT & RTP Proxy Date: 2009/7/2 Speaker: Ni-Ya Li Advisor: Quincy Wu.
SIP, SDP and VoIP David A. Bryan CSCI 434/534 December 6, 2003.
ﺑﺴﻢﺍﷲﺍﻠﺭﺣﻣﻥﺍﻠﺭﺣﻳﻡ. Group Members Nadia Malik01 Malik Fawad03.
Streaming Media Control n The protocol components of the streaming n RTP/RTCP n RVSP n Real-Time Streaming Protocol (RTSP)
Countermeasures of Spam over Internet Telephony in SIP.edu Campuses with MySQL and LDAP Support Speaker: Chang-Yu Wu Adviser: Dr. Quincy Wu School: National.
NATIONAL INSTITUTE OF SCIENCE & TECHNOLOGY VOICE OVER INTERNET PROTOCOL SHREETAM MOHANTY [1] VOICE OVER INTERNET PROTOCOL SHREETAM MOHANTY ROLL # EC
Simon Millard Professional Services Manager Aculab – booth 402 The State of SIP.
Omar A. Abouabdalla Network Research Group (USM) SIP – Functionality and Structure of the Protocol SIP – Functionality and Structure of the Protocol By.
SEMS Speaker: Changyu Wu Adviser: Quincy Wu Date:2006/11/13.
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
VoIP Signaling Protocols A signaling protocol is a common language spoken by telephones and call-management servers, the PSTN, and legacy PBX systems as.
Session Initiation Protocol (SIP) Chapter 5 speaker : Wenping Zhang data :
Lecture 10. P2P VoIP D. Moltchanov, TUT, Fall 2014
E Multimedia Communications Anandi Giridharan Electrical Communication Engineering, Indian Institute of Science, Bangalore – , India Multimedia.
The Session Initiation Protocol - SIP
3/10/2016 Subject Name: Computer Networks - II Subject Code: 10CS64 Prepared By: Madhuleena Das Department: Computer Science & Engineering Date :
Chapter 11 Panko and Panko Business Data Networks and Security, 11 th Edition Copyright © 2016 Pearson Finally, Layer 5!
The Online World DATA EXCHANGE. Introduction data devices/componentsperipheral Data exchange is the term used to cover all methods of passing data (including.
VoIP ALLPPT.com _ Free PowerPoint Templates, Diagrams and Charts.
IP Telephony (VoIP).
VoIP over Wireless Networks
Session Initiation Protocol
VOICE AND VIDEO OVER IP VOIP, RTP, RSVP.
Session Initiation Protocol (SIP)
Net 431: ADVANCED COMPUTER NETWORKS
SIP Basics Workshop Dennis Baron July 20, 2005.
Presentation transcript:

P2P VoIP Speaker : Ching Chen Chang Date: 2007/09/27

2 Outline Motivation Related Work  P2P  Enum  GSM 6.10 P2P VoIP beta 1.1  Description  Protocol  Scenario  Update  Packages Conclusion Reference

3 Motivation SIP Proxy Server SIP UA1 UA2 If we use SIP, we usually need a SIP server to handle the signaling. RTP

4 Motivation(2/2) CalleeCaller INVITE 180 Ringing SIP Server ACK INVITE 180 Ringing 200 OK ACK RTP BYE 200 OK

5 Related Work P2P  Point To Point. Enum  Enumeration, a user-defined type of C/C++. GSM 6.10  An audio codec is usually used by the cell phone.

6 P2P P2P(Point To Point). A link commonly used to establish a direct connection between two nodes.

7 Enum An enumeration is a user-defined type consisting of a set of named constants called enumerators. #define SPRING 0 #define SUMMER 1 #define FALL 2 #define WINTER 3 enum { SPRING, SUMMER, FALL, WINTER };

8 GSM 6.10(1/2) GSM(Global System for Mobile Communications) A lossy CBR(Constant Bit Rate) audio compression codec. GSM is also a popular global mobile phone standard.

9 GSM 6.10(2/2) FormatPCMGSM 6.10 Samples per second8000 HZ Bit Rate (bits/second)128kbs13kbs Channelmono Bits per sample

10 Description(1/2) P2P Internet Phone. Open Source code.  Only work in a local network. It works without SIP and RTP. It defines its own communication protocol. Simultaneous work with maximal 5 clients

11 Connect RecordReceive Send Play Call out Encode Decode End call The voice packages are transmitted in a format GSM6.10. Voice packages and service information use one and the same UDP port: Description(2/2)

12 Protocol(1/2) enum _PROTOCOL { _NULL_ = 0,_PROGRAMM_ABORT, _CONTACT_REFRESH,_CONTACT_ERASE, _CONTACT_ADD,_CONTACT_PING, _CONTACT_PING_IN,_CONTACT_PING_OUT, _CONTACT_PONG,_CONTACT_PONG_IN, _CONTACT_PONG_OUT, _CONTACT_OFFLINE,_CONTACT_OFFLINE_IN, _CONTACT_OFFLINE_OUT,_CLIENT_SHEET_SHOW, _CLIENT_SHEET_HIDE,_CLIENT_SHEET_NAME, _CLIENT_SHEET_IMAGEINDEX,_CLIENT_CONNECT_DURATION, _CLIENT_PROTOCOL,_TIME_OUT, CALL_IN_,CALL_OUT_,_I_,_I_180_,_I_200_, _I_480_,_A_,_G_,_G_200_,_G_486_, _C_,_C_200_,_C_480_,_LA_,_LG_, _ERROR_PLAY, };

13 Protocol(2/2) _CONTACT_PING  5 10  5 16 _CONTACT_PONG  8 10  8 16 _CONTACT_OFFLINE   b 16 _I_   _I_180_   _I_200_   _A_   1b 16 _C_   1f 16 _C_200_   _LA_   22 16

14 Ping(1/2) User online _CONTACT_PONG _CONTACT_PING _CONTACT_PING_IN _CONTACT_PONG_OUT _CONTACT_PING_OUT _CONTACT_PONG_IN Ping all contacts on the contact list per minute. ……

15 Ping(2/2) User offlineUser online _CONTACT_PING _CONTACT_PING_OUT _CONTACT_PING Resend two times if the contact doesn’t respond. …… _CONTACT_PING …… 1 minutes

16 Call _I_ _I_180_ _I_200_ CalleeCaller _C_200_ _C_ _A_ _I_180_ _I_200_ _A_ _I_ Voice transmission _C_ _C_200_ state == CALL OUT state == CALL IN

17 Cancel _I_ _I_180_ CalleeCaller _C_200_ _C_ _I_180_ _I_ _C_ _C_200_ state == CALL OUT state == CALL IN

18 No answer _I_ _I_180_ CalleeCaller _I_180_ _I_ _LA_ If state == CALL IN && receive _LA_ state == CALL OUT state == CALL IN If state == CALL OUT && 6 seconds _LA_ …….… …… If state == CALL OUT && 6 seconds If state == CALL IN && receive _LA_

19 Log out User 2 would modify the information of User 1. If two users are on the phone, User 2 would pretend to receive an _C_ protocol to terminate the call. _CONTACT_OFFLINE_IN User 2 User 1 _CONTACT_OFFLINE

20 Packages Signaling – 4 bytes of the data contains the protocol. Voice packages – 33 bytes data. The first message of the call has the data including the 4-byte protocol and the caller’s account.

21 Update 2 Timers  Timer1 (Interval 100ms) Contacts List Clients List Speaker & Microphone Volume  Timer2 (Interval 500ms) Ring Start Voice

22 Conclusion SIP server can provide more service. P2P would produce less delay.

23 Reference Phonesnd - Network&Sound Software Audio Compression Manager -- Wave File Compression Codecs Compared