b8d394b007811cf6e1d3f6ce637bb028.ppt
- Количество слайдов: 44
Telephony Features with SIP Dong. Mei Jiang Yong He March 24, 2002 1
Contents Introduction n Internet telephony n SIP telephony features n Case studies n Pros and Cons n Conclusion n 2
Features and Services n Features n “management-based capabilities which a a unit of one or more telecommunications or telecommunications network provides to a user” n Services n A set of features (not a very clear distinction) 3
Telephony features history n In-band signaling n n n Out-of-band signaling Intelligent networks n n n only dial and receive calls 800 service , call forward, three way calling Voice over IP Internet telephony n Wide range, flexible and new features such as Caller selection etc. 4
Feature Classification n Basic Features (unit to provide base capabilities to a user) Network features (supported by network) n Client Features (depend on end devices or stream n contents) n Bundle Features (package of basic features) 5
Traditional Features n (ITU-T) Descriptions of features n n n New features n n Q. 1211: Introduction to Intelligent Network CS 1 (CW) Q 1221: Introduction to Intelligent Network CS 2 (SCF) wireless services, multimedia services and service management services etc. No standard specifications for features n One feature may have different name (ex. CFU and CF) 6
Internet Telephony n Internet telephony is all about IP Runs on top of IP and utilizes the IP service model. n It is not about re-engineering PSTN -PSTN is good enough! n 7
Calls over the Internet PC-to-PC n PC-to-Phone n Phone-to-PC n Phone-to-Phone n 8
Protocols Needed n Signaling Protocol n n Media Transport Protocol n n locate users, set up, modify and tear down sessions transmission of packetized audio/video Supporting Protocol n Gateway location, Qo. S, address translation, etc. 9
Protocols We Have n Signaling n n Media n n RTP Transport n n SIP (IETF), H. 323 (ITU-T) TCP, UDP Supporting n DNS, RSVP, TRIP, etc 10
What is SIP? n n n Session Initiation Protocol Defined in FRC 2543 (March 1999). “… is an application-layer control protocol that can establish, modify and terminate multimedia sessions or calls. ” Modeled after protocols SMTP and HTTP One of the protocols supporting Internet Telephony End-to-end, client/server 11
General Purpose Protocol SIP is NOT transport protocol n SIP is not limited to Internet telephony n Arbitrary services could be built on top of SIP. n 12
SIP Placement SIP TCP or UDP IP IP Lower layer Internet 13
Other Protocols 14
Proxy and Redirect Servers 15
SIP Methods n n n INVITE BYE OPTIONS ACK REGISTER CANCEL 16
Message Structure First Line Headers METHOD “URL” “SIP version” Via: “URL” From: “URL” To: “URL” Call-ID: “URL” Cseq: 1 INVITE Contact: “URL” Expires: “time” Message Body Via: “URL” Subject: “Description of subject “ Call-ID: “an IP Address” Content-Endcoding: “Appropriate Information” 17
Message Example: INVITE First line INVITE sip: u. B@lucent. com SIP/2. 0 Headers Via: SIP/2. 0/UDP lucent. com: 4545 From: User A
SIP Response Codes n Borrowed from HTTP. 1 xx n 2 xx n 3 xx n 4 xx n 5 xx n 6 xx n Informational Success Redirection Client Error Server Failure Global Failure 19
SIP Functions n Name translation and user location n Feature negotiation n n Allows a group of participants to negotiate on the media exchanged and parameters preferred Call participant management n n Mapping names to identify a callee and the eventual location It may be depend on caller and callee preferences In the course of a call, media session composition is still adjustable when necessary Call feature changes n Can adjust the session composition in the session processing 20
Telephony features with SIP n Solve some existing problems in PSTN n n Signal overloading etc. Wide range, high flexibility of services Take over PSTN telephony features n Enhance PSTN telephony features n Introduce new telephony features not realizable in PSTN n n Low cost 21
Some new Features with SIP n n n n n Integration of data, voice and fax Sound grading Video telephony Unified messaging A virtual second line Web-based call centers Low-cost voice calls Real-time billing Remote teleworking Enhanced teleconferencing 22
PSTN Features with SIP Features Implemented by SIP Phone n n n n Call answering: 200 OK sent Busy: 483 Busy Here sent Call rejection: 603 Declined sent Caller-ID: present in From header Hold: a re-INVITE is issued with IP Addr =0. 0 Selective Call Acceptance: using From, Priority, and Subject headers Camp On: 181 Call Queued responses are monitored until 200 OK is sent by the called party Call Waiting: Receiving alerts during a call 23
PSTN Features with SIP Features Implemented by SIP Server n n n Call Forwarding: server issues 301 Moved Permanently or 302 Moved Temporarily response with Contact info Forward Don’t Answer: server issues 408 Request Timeout response Voicemail: server 302 Moved Temporarily response with Contact of Voicemail Server Follow Me Service: Use forking proxy to try multiple locations at the same time Caller-ID blocking - Privacy: Server encrypts From information 24
Personal Mobility Personal mobility v. s. terminal mobility n Person uses different Devices and possibly address n REGISTER binds a person to a device n Proxy and redirect translate address to location and device n 25
SIP For Presence n n n Instant messaging (IM) and presence based services, offered by AOL, Yahoo! and MSN, nearly 100 million users. Proprietary technology, with no technical standard to support interoperability. SIP extension, SIP for Instant Messaging and Presence Leveraging Extensions (SIMPLE) SIMPLE is built in Microsoft Windows XP. AOL has committed to using SIMPLE. 26
Case Study 1: n Simple Call Hold Scenario n n n successful call A to B B put A on hold B returns to A 27
Case study 2: Call Forward Unconditionally n Scenario n n n A calls to B The call is forward to C A talks to C 28
Case Study 3: Call Forking IN VI “Contact 1234@10. 1. 1. 1, 1234@10. 1. 1. 2 and 1234@10. 1. 1. 3” TE Location Database sip : 12 34 INV ITE @ 10. 1. 3 sip: 1234 @10 “Where is sip: 1 -800 -GO-CISCO@cisco. com? ” . 1. 1. 2 INVITE sip: 1234@10. 1. 1. 1 Proxy / Redirect Server INVITE sip: 1 -800 -GO-CISCO@cisco. com LOCAL PSTN Forked Calls can be in parallel or sequential. The first phone to answer will get the call, the others will get a CANCEL from the Proxy Server. 29
Case study 4: Home Phone 30
Home Phone Scenario n n One caller sends a SIP INVITE to smith_family@isp. com(1) the internet service provider (ISP) consults its database(2), the proxy server forks and sends out three INVITE requests to family member 1, 2 and 3 (3, 4, 5). When first member phone is picked up(6), all other phones are not ringing anymore (7, 8). Server forwards call acceptance back to caller(9). When one member is talking on the phone, other member can also join the talk by picking up their phones (10). 31
Case study 5: Personal Mobility 32
Personal Mobility Scenario Bob has • a single published IP telephony phone address: bob@lucent. com is registered in Lucent SIP server and an office (at Lucent Technologies location) • a lab and an office (Columbia University) At Columbia • register Lucent SIP server with his Columbia address bob@columbia. edu as a forwarding address (1) • registers the lab machine bob@lab. columbia. edu and the office machine bob@office. columbia. edu with the Columbia SIP server (2, 3). • Set his lab’s computer forward calls to his Lucent address Call from Jack • When bob is at his office in Columbia, Jack initialize a call to bob placed to bob@lucent. com at Lucent Technologies location (4). 33
Personal Mobility Scenario (cont’n) • • • The server checks its registration and policy in database and decides to forward the request to bob@columbia. edu by looking up columbia. edu in Name Domain System (DNS) and get the main Columbia SIP server address (5, 6). Columbia server find Bob@columbia. edu in database and two end devices listed under the address, forks and sends a call request to lab and office machine (7, 8, 9) cause office phone to ring. Lab phone sends request to Lucent server by its previous configuration (10). Using an loop detection capability in SIP, Lucent server detected the loop error occurred and send error response back to lab machine (11). In turn, returns an error code to the Columbia server (12) Bob answer the phone call in the office, sending an acceptance response back to the Columbia server (13). Received both response back, the server forwards the call acceptance back to Lucent server (14), which forwards the request back to the original caller, Jack (15). All Sip session states in both server can be destroyed now. Call setup and processed by intermediate servers between Jack and Bob (16) 34
Case study 6: Caller Selection Configuration: § Caller phone destination for the address sysadmins@company. com to a particular multicast address § S 1, S 2, S 3 listen for calls request to on this address 35
Caller Selection Scenario n n Caller send message to sysadmins@company. com multicast address, all S 1, S 2 and S 3 get the INVITE request (1) S 1 answers first with response multicast. Like CANCEL, S 2 and S 3 phones stop ring. Call is established between caller and S 1 (2) S 2 join the answer session with his/her acceptance is also multicast (3) Received S 2 acceptance, the caller can take any an action • • Accept both S 1 and S 2 to a multicast media conference Accept one and hang up anther one Hang up both S 1 and S 2 Accept S 1 and redirect S 2 to a voice mail 36
Case Study 7: Sipc 1. 72 • • SIP User Agent 37
Sipc 1. 72 : Incoming call window 38
Sipc 1. 72 Overview n n sipc is a SIP user agent that can be used for Internet telephony calls, multimedia conferences, instant messaging, web browsing sharing and device control. It supports a range of media types, such as audio, video, text and white board, and can be extended easily to additional media types. sipc can communicate with SIP redirect, proxy and registration servers such as sipd and other SIP user agents. It includes a user agent client which can send requests to SIP servers and a user agent server which handles incoming calls. sipc runs on a range of platforms: Windows 95/98/NT/2000/XP, Linux and Solaris. sipc does not provide audio and video functionality itself; rather, it uses external media application for handling media streams. Currently, it uses rat (Robust Audio Tool) as its audio application for both Unix and Windows version, vic as the video application, wb (for Unix) and wbd (for Windows) as white board application. 39
Key Benefits with SIP n Simplicity n n n Extensibility n n Built in a rich set of extensibility and compatibility functions by learning lessons from HTTP and SMTP Modularity n n n Only 99 page long specification, 42 headers SIP message encoded as text, parsing and generation are simple Call signaling, user location, basic registration reside in SIP Other functions such as QOS, session content description etc. are orthogonal and reside in different protocols Integration n HTTP, SMTP, RTSP etc. 40
Problems and Difficulties n Potential problems n n n Qo. S challenges n n n Private address passing firewall and accepted by internet Discussed at internet conference, Birds of A Feature session Unlike PSTN, a circuit-switched network, IP telephone Qo. S faces technical challenges such as loss, delay, and jitter. New protocols and techniques need to be incorporated. (being carried out by the Differentiated Service and IP telephony groups of IETF) Many effect factors n n Features existed in PSTN Non architecture New feature issues (standards etc. ) Feature distribution and interaction 41
Other Concerns n Feature interaction Old feature interaction n New feature interaction n n Features distribution n n Inside end device or on internet Security n Packets go through public Internet 42
Conclusion n SIP is: n n n Relatively easy to implement Gaining vendor and carrier acceptance Very flexible in service creation Extensible and scaleable Appearing in products right now SIP is not: n n Going to make PSTN interworking easy Going to solve all IP Telephony issues (Qo. S) 43
Conclusion (cont’n) SIP, next generation telephony signaling protocol n Internet telephony with SIP provides wealthy telephony features with low price n It is a long way to go to realize the next generation telephony, an common application over internet n 44