
ab8472c4d24bd8ea4841f9ab771a0c31.ppt
- Количество слайдов: 68
Vo. IP TDC 364 1
What is Vo. IP Used For? • Reduced long-distance costs – Some cite this as a large business savings – Residential customers too • More calls with less bandwidth – New technologies allow voice to travel in less than 64 kbps channels (new voice compression techniques – Silence suppression 2
What Else is Vo. IP Used For? • More and better enhanced services – Vo. IP can be recorded, stored, processed, converted, etc. by the same hardware used for data – Computer telephony integration – Unified messaging • Most efficient use of IP – One common protocol 3
Four Additional Uses of Vo. IP • International calling • Telemarketing – PC and LAN dial one number after another – Worker reads from a script on their monitor – Depending upon answers/stored data, script changes dynamically – Telephone call goes through the pc 4
Four Additional Uses of Vo. IP • Call center – Telemarketing is outbound Vo. IP, call center is inbound Vo. IP – Automated attendant, automatic call distribution, interactive voice response – Call centers today are as dependent on the pc and LAN as they are on the telephone 5
Four Additional Uses of Vo. IP • Fax – The fax is not going away • • • Can be a legal document Is tangible Is by definition a copy of the original Transcends languages and national borders Millions of existing fax machines – But fax standards are antiquated – Fax over IP makes more sense 6
A Model for Vo. IP • From business to business – Use: Faxing, tie-line replacement – Need: Better Qo. S for IP, managed IP network? – Outlook: Do it now • From business to residential – Use: Telemarketing – Need: IP-enabled PBX, ISP to PSTN gateways – Outlook: Do it carefully 7
A Model for Vo. IP • From residential to business – Use: Call centers, catalog sales – Need: Voice-enabled Web site, IP-enabled ACD – Outlook: Do it carefully • From residential to residential – Use: Long distance replacement – Need: Many PSTN gateways, basic voice Qo. S – Outlook: Long distance now, local later? 8
What is the Basic Vo. IP Layout? Voice CODEC Compression Create voice datagram Add header (RTP, UDP, IP, etc) Network 9
What is the Basic Vo. IP Layout? Network Process header Re-sequence and buffer delay Decompression CODEC Voice 10
Traditional Network Characteristics • Voice • Data – – – --Short delay Constant delay No loss No retransmission Direct pass through Low error rate Reasonable delay Variable Delay Packet Loss Retransmission Uses protocols 11
Packet Network Technologies • Same components, different performance – Internet – Routing (TCP/IP), frame relay, ATM – Intranet – Routing (TCP/IP), frame relay, ATM • Voice over networks – Internet – No goals, no guarantees – Intranet – Controlled environment, performance objectives, designed to perform 12
Voice Over Requirements • Compression – Reduced bps vs. quality • • • Silence suppression Signaling Echo control Qo. S Voice enhancements (calling features) 13
An Example: A Voice-Enabled Web Site • People talk on the telephone • People look at the web • What about voice and the web? – Visual orientation with human interaction – Flexible – Unlimited information – Wide availability (location and time) 14
Examples • Airline reservations (“Can I connect through Philadelphia instead? ”) • Hotel reservations (“Does that room have a view of the ocean? ”) • Ticket sales (“Can I get four seats together? ”) • Stock trading (“Will I make the split requirements? ”) 15
Call Center Without Vo. IP 1. User clicks Web Call 2. User enter information Call Me 5. User answers call, Conversation begins Enter Information: Name: Account #: Phone #: PSTN 3. Web site forwards To call center Call information, Account Information, Etc. 4. Agent places PSTN call 16
Call Center With Vo. IP 3. Web site forwards all Info to call center 1. User clicks Web Vo. IP Call 2. Vo. IP software uses same IP connection to Web site Vo. IP Call information, Account information, Etc. Internet Multimedia pc with Vo. IP software 4. Conversation through Vo. IP software 17
The Web Added to the Call Center PSTN Vo. IP Gateway Internet Web Server PBX/ ACD Voice network to telephones Agent with telephone and pc Database Still two networks 18
The Web Added to the Integrated Call Center PSTN PBX/ACD Vo. IP Gateway Only one network Internet Web Server Database Agent with telephone and pc 19
The Vo. IP Gateway • The device that converts a traditional analog telephone call (voice and signals) into digital data that is sent over an IP network • Gateway functions include: – Destination lookup: converting a telephone number to an IP address – IP connection management: the use of protocols to establish, maintain, and teardown a call 20
The Vo. IP Gateway • Gateway functions continued – Compression and digitization – IP packetization and transport – Advanced IP/PSTN signaling – Authorization, access, and accounting 21
The Vo. IP Gatekeeper • An optional device, not required for H. 323 • Typically found in systems of significant size • Gatekeeper functions include – Address translation (supports the use of proprietary addressing schemes, such as mnemonics, nicknames, or e-mail address) – Admissions control (control the setup of Vo. IP calls between their terminals and gateways and the rest of the world; access granted or denied based on authentication, source or destination address, time of day, etc. ; essentially a security mechanism) 22
The Vo. IP Gatekeeper • More functions: – Bandwidth management (controls calls and the bandwidth of each channel) – Zone management (a zone is a combo gatekeeper, gateway, terminals, etc; gatekeeper controls calls within its zone) – Call signaling (may act as a signaling proxy for terminals it represents; or as an initial point of contact for callers) 23
Vo. IP Protocols • There are two basic sets of protocols for supporting Vo. IP: – ITU-T’s H. 323 • First issued in early 1996 – IETF’s SIP (Session Initiation Protocol) • Introduced in 1998 24
Vo. IP Protocols continued • Interesting facts about the two protocols: – H. 323 is named packet-based multimedia communications systems – H. 323 originally designed for X. 25 and ATM – SIP designed specifically for voice over the Internet by the people that should know the Internet the best • Let’s talk about H. 323 first 25
H. 323 Video Audio H. 261 H. 263 (video coding) G. 711 G. 722 G. 723 G. 728 G. 729 RTP RTCP RTP Control H. 225 Term. To Call Gatekeeper signaling Data T. 120 (multipoint H. 245 data transfer) RTCP UDP TCP IP 26
The Various Pieces – G. 711 • G. 711 is the international standard for encoding telephone audio on an 64 kbps channel. It is a pulse code modulation (PCM) scheme operating at a 8 k. Hz sample rate, with 8 bits per sample, fully meeting ITU-T recommendations. 27
The Various Pieces – G. 722 • ITU-T G. 722 is the benchmark coder for wideband speech coding quality. The speech signal is sampled at 16000 samples/second. G. 722 can handle speech and audio signal bandwidth up to 7 k. Hz, compared to 3. 6 k. Hz in narrow band speech coders. G. 722 coder is based on the principle of Sub Band Adaptive Differential Pulse Code Modulation (SBADPCM). The signal is split into two sub bands and samples from both bands are coded using ADPCM techniques. The system involving G. 722 coder can be used to work in three modes 64, 56 and 48 kbit/s. The latter two modes will allow an auxiliary data channel of 8 and 16 kbit/s respectively, within the 64 kbit/s channel. 28
The Various Pieces – G. 723 • G. 723. 1 is a speech compression algorithm standardized by ITU. G. 723. 1 has dual coding rates at 5. 3 and 6. 3 kbps. The vocoders process signals with 30 ms frames and have a 7. 5 ms look-ahead and low distortion while passing DTMF tones through. The input/output of this algorithm is 16 bit linear PCM samples. 29
The Various Pieces – G. 728 • ITU-T G. 728 is low delay speech coder standard, for compressing toll quality speech (8000 samples/second). The typical application of this speech coder is in telephony over packet networks, especially voice over cable and Vo. IP. This is a very robust speech coder, with very good speech quality, comparable to 32 kbit/s ADPCM. G. 728 coders are based on the principle of Low Delay. Code Excited Linear Prediction (LD-CELP). 30
The Various Pieces – G. 729 • G. 729 is an 8 kbps Conjugate-Structure Algebraic-Code. Excited Linear Prediction (CS-ACELP) speech compression algorithm approved by ITU-T. G. 729 Annex A is a reduced complexity version of the G. 729 coder. G. 729 AB speech coder was developed for use in multimedia simultaneous voice and data applications. The coder processes signals with 10 ms frames and has a 5 ms look-ahead which results in a total of 15 ms algorithmic delay. The input/output of this algorithm is 16 bit linear PCM samples. • Forward error correction (FEC) is incorporated in the algorithm to achieve noise immunity of the data stream by including control bits into it. 31
The Various Pieces – H. 225 • H. 225 call signaling is used to set up connections between H. 323 endpoints (terminals and gateways), over which the real-time data can be transported. • Call signaling involves the exchange of H. 225 protocol messages over a reliable call-signaling channel. For example, H. 225 protocol messages are carried over TCP in an IP–based H. 323 network. 32
The Various Pieces – H. 225 • H. 225 messages are exchanged between the endpoints if there is no gatekeeper in the H. 323 network. • When a gatekeeper exists in the network, the H. 225 messages are exchanged either directly between the endpoints or between the endpoints after being routed through the gatekeeper. • The first case is direct call signaling. The second case is called gatekeeper-routed call signaling. The method chosen is decided by the gatekeeper. 33
The Various Pieces – H. 245 • H. 245 control signaling consists of the exchange of end-to-end H. 245 capability messages between communicating H. 323 endpoints. • The H. 245 control messages are carried over H. 245 control channels. The H. 245 control channel is the logical channel 0 and is permanently open, unlike the media channels. • The messages carried include messages to exchange capabilities of terminals and to open and close logical channels. 34
RTP – Real-time Transport Protocol • Provides support for the transport of real-time data such as video and audio • Used in conjunction with RTCP to get feedback on quality of data transmission (next) • The Internet has unpredictable delay and jitter. To help alleviate these problems, RTP provides timestamping, sequence numbering, and other mechanisms. 35
RTP – Real-time Transport Protocol • Timestamps are created by the originator as the data is sampled. These timestamps are then used to play the data back at the same rate. • Since RTP is usually run over UDP, RTP adds a sequence number to all packets (some packets are broken into smaller packets, all with the same timestamp, thus the need for a sequence number) 36
RTP – Real-time Transport Protocol • Payload type identifier specifies the payload format as well as the encoding and compression schemes. • Source identification informs the receiver where the data is coming from (example – in an audio conference, a user can tell who is doing the talking) 37
RTCP – Real-time Control Protocol • In an RTP session, participants periodically send RTCP packets to convey feedback on quality of data delivery and information of membership. • Five types of RTCP packets defined: – – – Receiver Report Sender Report Source DEScription BYE APPlication specific functions 38
H. 323 Call Stages • Discovery and Registration (RAS) – This is who I am • Call Setup (RAS/H. 225/Q. 931) – This is who I want to call • Call Negotiation (H. 245) – These are our capabilities 39
H. 323 Call Stages • Media Channel Setup (H. 245) – Let’s open an audio channel • Media Transport (RTP/RTCP) – Send audio datagrams • Call termination (H. 245/H. 225/RAS) – We are done 40
41
42
43
44
45
46
47
LAN Telephony (A Little More Detail) PSTN Access Gateway Ethernet Phones Ethernet LAN Analog Phones Converter Gateway Gatekeeper PC-based Virtual Phones IP Router WAN or Internet 48
SIP Session Initiation Protocol • An application layer control (signaling) protocol for creating, modifying and terminating sessions with one or more participants • These sessions include multimedia conferences, Internet telephone calls, and multimedia distribution 49
SIP Session Initiation Protocol • SIP has important features: – Scalability – Interoperability – Extensibility – Flexibility – Mobility 50
SIP Session Initiation Protocol • SIP first initiates a session • It can also modify and end a session • In order to initiate a session SIP has to first locate the user • After finding the user SIP delivers a description of the session in order to inform the user 51
SIP Session Initiation Protocol • SIP only conveys the descriptions of the session and doesn’t know anything about the session itself • Most common protocol to describe the session is the Session Description Protocol (SDP) • After locating the user and conveying the description of the session, SIP conveys the response of the user • The user can accept, reject, or forward the session. 52
SIP Session Initiation Protocol • If the session is accepted then an active session has been initiated • After initiation, SIP can also modify the session by sending a new description • SIP is based on the request-response paradigm 53
SIP Session Initiation Protocol • Some methods manage the sessions: – Invite: indicates that the user is invited to a session (session description also included) – Ack: to confirm a session establishment (via Invite) – Bye: terminates session – Cancel: cancel a pending Invite 54
SIP • More methods to manage the sessions: – Options: used to query the server for its capabilities – Register: used to bind a permanent address to the current location of the user 55
SIP • To establish a session, the caller sends an Invite to the user with whom they want to talk • The user’s address has form sip: johnsmith@students. depaul. edu • User responds to Invite with Ack and session is established. 56
SIP • There are numerous response codes: – Informational • 100 Trying • 180 Ringing • 181 Call is being forwarded – Success • 200 OK – Redirection • 300 Multiple choices • 301 Moved permanently • 302 Moved temporarily 57
SIP • More response codes: – Client error • • 400 Bad request 401 Unauthorized 482 Loop detected 486 Busy here – Server failure • 500 Server internal error – Global failure • Busy everywhere 58
SIP • The messages are not directly sent to the user - instead delivered to a proxy server • Proxy server responsible for routing and delivering messages to the called party • Proxy servers also relay call signaling 59
SIP • There are several types of proxy servers: – Call-stateful: track call state and provide a lot of services, but are not fast – Transaction-stateful: track the request and responses but not the call state or session – Stateless: just receive requests, forward them, then forget them; fast but few services 60
SIP • Redirect Servers – Redirect the requestor to the other servers instead of forwarding them – Redirection is useful if a user moves or changes the provider • SIP Registrars – Accept the registration requests of the users 61
ENUM and E. 164 • SIP addresses are like email addresses - both can be resolved by DNS • What if you only have a telephone number? • You need ENUM and E. 164 • ENUM is a protocol that resolves fully qualified telephone numbers to fully qualified domain name addresses using a DNS-based architecture • ENUM relies on E. 164 62
ENUM and E. 164 • E. 164 is an international telephone numbering plan • A fully qualified E. 164 number is designated by a country code, an area or city code, and a phone number • ENUM allows users to access Internet-based services and resources from Internet-aware telephones, ordinary telephones connected to Internet gateways or proxy servers, and other Internet-connected devices where input is limited to numeric digits. 63
How Does ENUM Work? • Phone number is translated into a fully qualified E. 164 number: +1 -312 -362 -5175 (first 1 is North America, + means fully qualified) • All non-digits characters are removed: 13123625175 64
How Does ENUM Work? • The order of digits are reversed: 57152632131 (Why? DNS names are structured from right to left. ) • Dots are placed between each digit: 5. 7. 1. 5. 2. 6. 3. 2. 1. 3. 1 (Why? Helps with administration) • Domain “e 164. arpa” appended to end: 5. 7. 1. 5. 2. 6. 3. 2. 1. 3. 1. e 164. arpa 65
TRIP • TRIP (telephony routing over IP) servers maintain and exchange information on what gateways are available to establish calls to ranges of telephone numbers • TRIP allows multiple service providers to route calls through each other’s gateways 66
Example SIP Dialogue • • • INVITE sip: bob@acme. com SIP/2. 0 Via: SIP/2. 0/UDP alice_ws. radvision. com From: Alice A.
Example SIP Dialogue • • • Content-Length: 182 v=0 o=Alice 53655765 2353687637 IN IP 4 128. 3. 4. 5 s=Call from Alice. c=IN IP 4 alice_ws. radvision. com m=audio 3456 RTP/AVP 0 3 4 5 • Response Message would then follow 68