SIP and ENUM. Overview. 2005-03-01 ENUM-Tag @ DENIC. Introduction to SIP. Addresses and Address Resolution in SIP ENUM & SIP



Similar documents
SIP and Mobility: IP Multimedia Subsystem in 3G Release 5

SIP Registration and Location

Media Gateway Controller RTP

Service Announcements for Hot-Spots: Enabling Automated Access and Provider Selection for (WLAN-based) Voice Upperside WiFi Voice 2005

SIP: Protocol Overview

Session Initiation Protocol (SIP) The Emerging System in IP Telephony

Voice over IP (SIP) Milan Milinković

Session Initiation Protocol (SIP)

EE4607 Session Initiation Protocol

ARCHITECTURES TO SUPPORT PSTN SIP VOIP INTERCONNECTION

Voice over IP & Other Multimedia Protocols. SIP: Session Initiation Protocol. IETF service vision. Advanced Networking

3.1 SESSION INITIATION PROTOCOL (SIP) OVERVIEW

Session Initiation Protocol and Services

Session Initiation Protocol

NAT TCP SIP ALG Support

IP-Telephony SIP & MEGACO

NTP VoIP Platform: A SIP VoIP Platform and Its Services

Request for Comments: August 2006

Internet Voice, Video and Telepresence Harvard University, CSCI E-139. Lecture #5

Multimedia & Protocols in the Internet - Introduction to SIP

Chapter 10 Session Initiation Protocol. Prof. Yuh-Shyan Chen Department of Computer Science and Information Engineering National Taipei University

SIP Essentials Training

SIP : Session Initiation Protocol

SIP Basics. CSG VoIP Workshop. Dennis Baron January 5, Dennis Baron, January 5, 2005 Page 1. np119

802.11: Mobility Within Same Subnet

Advanced Networking Voice over IP & Other Multimedia Protocols Some SIP Advanced Topics

Formación en Tecnologías Avanzadas

Three-Way Calling using the Conferencing-URI

For internal circulation of BSNL only

Session Initiation Protocol (SIP) 陳 懷 恩 博 士 助 理 教 授 兼 計 算 機 中 心 資 訊 網 路 組 組 長 國 立 宜 蘭 大 學 資 工 系 TEL: # 340

internet technologies and standards

This specification this document to get an official version of this User Network Interface Specification

SIP Session Initiation Protocol

ENUM: Migrating to VoIP. P2P Voice Applications

TSIN02 - Internetworking

SIP: Ringing Timer Support for INVITE Client Transaction

Preparatory Meeting for Phase 2 of Philippine National ENUM Trial

Session Initiation Protocol (SIP)

10 Signaling Protocols for Multimedia Communication

Internet Services & Protocols Multimedia Applications, Voice over IP

Internet Services & Protocols Multimedia Applications, Voice over IP

Part II. Prof. Ai-Chun Pang Graduate Institute of Networking and Multimedia, Dept. of Comp. Sci. and Info. Engr., National Taiwan University

A Comparative Study of Signalling Protocols Used In VoIP

Overview ENUM ENUM. VoIP Introduction (2/2) VoIP Introduction (1/2)

NTP VoIP Platform: A SIP VoIP Platform and Its Services 1

Lehrstuhl für Informatik 4 Kommunikation und verteilte Systeme

SIP Introduction. Jan Janak

NAT Traversal in SIP. Baruch Sterman, Ph.D. Chief Scientist David Schwartz Director, Telephony Research

SIP for Voice, Video and Instant Messaging

SIP OVER NAT. Pavel Segeč. University of Žilina, Faculty of Management Science and Informatics, Slovak Republic

VoIP. What s Voice over IP?

Internet Working 15th lecture (last but one) Chair of Communication Systems Department of Applied Sciences University of Freiburg 2005

Voice over IP (VoIP) Part 2

SIP A Technology Deep Dive

IP Office Technical Tip

The use of IP networks, namely the LAN and WAN, to carry voice. Voice was originally carried over circuit switched networks

Implementing Intercluster Lookup Service

Alcatel OmniPCX Enterprise R11 Supported SIP RFCs

MOHAMED EL-SHAER Teaching Assistant. Room TASK Exercises Thu., Nov. 17, 2014 CONTENT

Special Module on Media Processing and Communication

End-2-End QoS Provisioning in UMTS networks

VoIP. Overview. Jakob Aleksander Libak Introduction Pros and cons Protocols Services Conclusion

Internet Technology Voice over IP

VIDEOCONFERENCING. Video class

SIP Tutorial. VoIP Workshop Terena 2005 Poznan Poland. By Stephen Kingham

Denial of Services on SIP VoIP infrastructures

How To Send A Connection From A Proxy To A User Agent Server On A Web Browser On A Pc Or Mac Or Ipad (For A Mac) On A Network With A Webmail Web Browser (For Ipad) On An Ipad Or

Chapter 2 PSTN and VoIP Services Context

Session Initiation Protocol (SIP)

Computer Networks. Voice over IP (VoIP) Professor Richard Harris School of Engineering and Advanced Technology (SEAT)

DNS SRV Usage June 22, 2011

How To Understand The Purpose Of A Sip Aware Firewall/Alg (Sip) With An Alg (Sip) And An Algen (S Ip) (Alg) (Siph) (Network) (Ip) (Lib

SIP and PSTN Connectivity. Jiri Kuthan, iptel.org September 2003

ENUM - Mapping the E.164 number space into the DNS

SIP Conferencing. Audio/video tools + protocols for A/V over IP Conference announcement and control protocols. Audio + video (+ sometimes slides)

Creating your own service profile for SJphone

Session Initiation Protocol (SIP) Chapter 5

How To Interwork On An Ip Network

How to make free phone calls and influence people by the grugq

Telecommunication Services Engineering (TSE) Lab. Chapter V. SIP Technology For Value Added Services (VAS) in NGNs

SIP Messages. 180 Ringing The UA receiving the INVITE is trying to alert the user. This response MAY be used to initiate local ringback.

Developing Higher Density Solutions with Dialogic Host Media Processing Software

IP Phone Presence Setup

Firewall Support for SIP

TECHNICAL SUPPORT NOTE. 3-Way Call Conferencing with Broadsoft - TA900 Series

SIP Session Initiation Protocol Nicolas Montavont

The SIP School- 'Mitel Style'

SIP, Session Initiation Protocol used in VoIP

Session Announcement (SAP, RFC 2974) Session Description (SDP, RFC 2327) (SDP, draft-ietf-mmusic-sdp-new-11)

CommuniGate Pro Real-Time Features. CommuniGate Pro Internet Communications VoIP, , Collaboration, IM

Real-time communication on IP networks

Voice over IP Fundamentals

Transcription:

and ENUM 2005-03-01 ENUM-Tag @ DENIC Jörg Ott <jo@netlab.hut.fi> 2005 Jörg Ott 1 Overview Introduction to Addresses and Address Resolution in ENUM & Peer-to-Peer for Telephony Conclusion 2005 Jörg Ott 2

IETF Conferencing Session Description Workshop 1. Create Descr.: Upperside 2005 Orig.: J.Ott jo@tzi.org 327689113 Info: http://www.tzi.org/dmn/ Start: 25.01.2005 / 09:30 End: 25.01.2005 / 17:30 Media: Audio PCM 234.5.6.7/39000 Media: Video H.263 234.5.6.8/29000 Media: Slides PDF 234.5.6.9/49000 3. Join 2a. Announcement Announcement Protocol Netnews WWW 2b. Request Streaming Protocol 2c. Invitation E-Mail Invitation Protocol 3. Join 4. Media streams 2005 Jörg Ott 3 Session Initiation Protocol (, RFC 3261) Initiate, terminate, and modify sessions Multimedia(!) sessions (not just voice!) Point-to-point and multiparty Support for caller and callee authentication / call authorization privacy for call signaling and media streams media path with ensured QoS policy-based control mechanisms Flexible service creation end-to-end principle ( dumb network ) support through servers (located anywhere) Extensible protocol to cover new communication aspects such as presence and instant messaging 2005 Jörg Ott 4

Terminology User Agent User Agent (UAS) User Agent Client (UAC) User Agent = Endpoint, Gateway Registrar Location Redirect Proxy Back-to-Back (B2B) User Agent IP Telephony Application s 2005 Jörg Ott 5 Local Architecture Registrar Endpoint Administrative Entity ( ) Redirect / Proxy Endpoint Location Local IP network Endpoint Gateway UA Gateway UA Gateway UA PSTN ISDN GSM H.323 UA UA UA 2005 Jörg Ott 6

Naming: URIs sip: / sips: Separating names (permanent) and addresses (temporary) Basic mobility support Two roles reflected in Naming a user; typically sip:user@domain Contact address of a user; typically contains host name or IP address, port, transport protocol,... May also refer to a domain as a whole URIs may carry additional parameters URIs may also identify services 2005 Jörg Ott 7 URI Addressing Examples sip:tzi.org sips:192.168.42.1 sip:john@example.com sip:john@host1.example.com sip:john@192.168.42.9:9950 sip:voicemail@service.com sip:conf-1234@confserv.com sips:user34@anonymizer.org Registration domain or IP address URI to call (AoR) address of actual user location Service identifier; semantics opaque to the user 2005 Jörg Ott 8

Further Common URI Schemes Telephony (RFC 3966) tel:+1-555-12345678 tel:7595;phone-context=+49421218 ITU-T H.323 Protocol h323:user@example.com Instant Messaging im:user@example.com Presence pres:user@example.com 2005 Jörg Ott 9 Message Syntax: Request Start line Message headers INVITE sip:user@example.com /2.0 To: John Doe <sip:user@example.com> From: sip:jo@tzi.uni-bremen.de;tag=4711 Subject: Congratulations! Content-Length: 117 Content-Type: applicaton/sdp Call-ID: 2342344233@134.102.218.1 CSeq: 49581 INVITE Contact: sip:jo@134.102.224.152:5083 ;transport=udp Via: /2.0/UDP 134.102.218.1 Message body (SDP content) v=0 o=jo 75638353 98543585 IN IP4 134.102.218.1 s= call t=0 0 c=in IP4 134.102.224.152 m=audio 47654 RTP/AVP 0 1 4 2005 Jörg Ott 10

Message Syntax: Response Start line Message headers 200 OK /2.0 To: John Doe <sip:user@example.com>;tag=428 From: sip:jo@tzi.uni-bremen.de;tag=4711 Subject: Congratulations! Content-Length: 121 Content-Type: applicaton/sdp Call-ID: 2342344233@134.102.218.1 CSeq: 49581 INVITE Contact: sip:jdoe@somehost.domain Via: /2.0/UDP 134.102.218.1 Message body (SDP content) v=0 o=jdoe 28342 98543601 IN IP4 134.102.20.22 s= call t=0 0 c=in IP4 134.102.20.38 m=audio 61002 RTP/AVP 0 4 2005 Jörg Ott 11 Example: Direct Call UA UA Internet Alice Bob Call signaling Media streams 2005 Jörg Ott 12

tzi.org INVITE sip:bob@foo.bar.com 100 Trying Direct Call bar.com Note: Three-way handshake is performed only for INVITE requests. alice@ruin 180 Ringing 200 OK ACK Media Streams BYE 200 OK bob@foo Caller knows callee s hostname or address Called UA reports status changes After Bob accepted the call, OK is signaled Calling UA acknowledges, call is established Media data are exchanged (e. g. RTP) Call is terminated by one participant 2005 Jörg Ott 13 How to Find The Callee? Direct calls require knowledge of callee s address provides abstract naming scheme: sip:user@domain Define mapping from URI to real locations: Explicit registration: UA registers user s name and current location Location service: Use other protocols to find potentially correct addresses Caller sends INVITE to any server knowing about the callee s location Receiving server may either redirect, refuse or proxy 2005 Jörg Ott 14

Finding the Next Hop UAC may use a (manually) configured outbound proxy Outbound proxy may also have be learned upon registration If request URI contains IP address and port, message can be sent directly Otherwise, determine next hop server name via DNS Use NAPTR RR (+D2U/D2T/D2S, S+D2T/D2S) to obtain SRV records Query for SRV RR: _sip._udp, _sip._tcp, _sips._tcp for all supported transport protocols If entries found, try as specified in RFC 2782 If no entries found, use UDP for sip: URIs and TCP for sips: URIs Query A or AAAA records for IP address For specified domain name (Deprecated: For specified sip.domain ) 2005 Jörg Ott 15 Simple Scenario of a Call Calling Bob... 2 Incoming call from Alice 1 3 I am Bob, please route calls to my current address... Alice 4 Bob Call signaling Media streams 2005 Jörg Ott 16

Proxied Call tzi.org alice@ruin Lookup sip.bar.com User Lookup bar.com bob@foo INVITE sip:bob@bar.com 100 Trying 200 OK INVITE sip:bob@foo.bar.com 100 Trying 200 OK ACK Media Streams Subsequent requests 2005 Jörg Ott 17 Global Architecture backbone network Local domain Provider X domain signaling for initial call routing and setup Provider Y domain in-call signaling Endpoint Endpoint RTP media streams Endpoint Endpoint 2005 Jörg Ott 18

Address Resolution Steps Domain Name System Proxy 1 Proxy 2 3 UA 1 sip:ob@tzi.org 2 1 UA 2 sip:jo@acm.org 2005 Jörg Ott 19 Address Resolution Steps Domain Name System Proxy 1 Proxy 2 UA 1 sip:ob@tzi.org 1. Client uses configuration information to locate outbound proxy. May use DNS for address resolution. All requests sent to proxy. UA 2 sip:jo@acm.org 2005 Jörg Ott 20

Address Resolution Steps Domain Name System Proxy 1 Proxy 2 UA 1 sip:ob@tzi.org 2. Proxy checks for domain suffix. Consults location service (e.g., DNS). Uses DNS to locate remote domain. DNS yields address of proxy 2. UA 2 sip:jo@acm.org 2005 Jörg Ott 21 Address Resolution Steps Domain Name System Proxy 1 Proxy 2 UA 1 sip:ob@tzi.org 3. Proxy checks for domain suffix. Consults location service (registration) to determine current address of jo@acm.org. UA 2 sip:jo@acm.org 2005 Jörg Ott 22

Address Resolution Steps Domain Name System Proxy 1 Proxy 2 UA 1 sip:ob@tzi.org 4. UA 2 validates the URI against active users to alert the right one or reject. UA 2 sip:jo@acm.org 2005 Jörg Ott 23 Address Resolution for Phone Numbers Domain Name System Proxy 1 Proxy 2 UA 1 sip:+49-421-218-1 tel:+49-421-201-7028??? UA 2 tel:+49-421-201-7028 2005 Jörg Ott 24

Finding the Next Hop for tel: URIs UAC may use a (manually) configured outbound proxy Outbound proxy may also have be learned upon registration If request URI contains IP address and port, message can be sent directly Otherwise, determine next hop server via DNS Use NAPTR RR (+D2U/D2T/D2S, S+D2T/D2S) to obtain SRV records Query for SRV RR: _sip._udp, _sip._tcp, _sips._tcp for all supported transport protocols If entries found, try as specified in RFC 2782 If no entries found, use UDP for sip: URIs and TCP for sips: URIs Query A or AAAA records for IP address 2005 Jörg Ott 25 tel:+49-421-201-7028 jo@ sip:jo@tzi.org mailto:jo@tzi.org _sip._tcp.tzi.org _sip._udp.tzi.org sip:jo@damn.tzi.org: 5060;transport=tcp sip:jo@134.102.218.67: 40987;transport=tcp ENUM Process ENUM service lookup Uses DNS NAPTR Resource Records NAPTR RR lookup to select preferred services Based upon transport protocols and TLS SRV RR lookup for load balancing May or may not yield IP address A or AAAA lookup to determine IP address(es) associated with name 2005 Jörg Ott 26

Background Background: Dynamic Delegation Discovery System (DDDS) RFC 3401, 3402, 3403, RFC 3761, RFC 3764 Abstract concept Map Application Unique String (AUS) to some data Based upon a (distributed) database Indexed by keys Lookup yields rule set: matching + substitution rules (regexp-like) Result may point to a different location in the database Algorithm: repeated substitution applied to AUS until a terminal symbol is reached Effect: Allow delegation of responsibility to store some data for an AUS 2005 Jörg Ott 27 Step 1: DDDS General Operation Application Unique String First Well-Known Rule First key = = Identity Key Lookup key in database Delegation of Responsibility AUS Rule set Key Apply rule set to AUS until non-empty result is obtained that meets the application requirements no? Terminal rule? yes Desired result 2005 Jörg Ott 28

Step 1: NAPTR Resource Records Uses DDDS with DNS as distributed database Key: DNS name Order Preference Flags Services regexp Replacement Order: absolute sorting of rules; first matching one is used Preference: application-specific priority indication Flags: control rule processing; e.g. indicate terminal rule Services: available services on this delegation path regexp: substitution rule for Application Unique String Mutually exclusive Replacement: replacement for DNS name (= key) 2005 Jörg Ott 29 Step 1: ENUM Lookup Application unique string: tel:+49-421-201-7028 +49-421-201-7028 +494212017028 First well-known rule: identity Database key: transformation into valid DNS name 1. Remove leading + : 494212017028 2. Put dots between digits: 4.9.4.2.1.2.0.1.7.0.2.8 3. Reverse order of digits: 8.2.0.7.1.0.2.1.2.4.9.4 4. Add e164.arpa : 8.2.0.7.1.0.2.1.2.4.9.4.e164.arpa Yields the domain name used to query for NAPTR records Flags: u to indicate terminal rule Service: E2U+servicespec[+servicespec] ENUM services: sip, h323, pres, 2005 Jörg Ott 30

Step 1: Lookup for ENUM Type Order Preference Flags Services regexp Replacement Example: (and other) entries for a user $ORIGIN 8.2.0.7.1.0.2.1.2.4.9.4.e164.arpa IN NAPTR 10 100 u E2U+sip!^.*$!sip:jo@tzi.org!. IN NAPTR IN NAPTR 10 101 u E2U+pres!^.*$!pres:jo@tzi.org!. 10 102 u E2U+msg!^.*$!mailto:jo@tzi.org!. Mapping to a Domain Name 2005 Jörg Ott 31 Step 2: NAPTR for Transport Selection Type Order Preference Flags Services regexp Replacement Example: Secure preferred over, TCP over UDP $ORIGIN tzi.org IN NAPTR 50 100 u D2T+S _sips._tcp.tzi.org IN NAPTR IN NAPTR 90 100 u D2T+ _sip._tcp.tzi.org 100 100 u D2U+ _sip._udp.tzi.org 2005 Jörg Ott 32

Steps 3 and 4: SRV and A Resource Records Example: load balancing across three servers $ORIGIN _sip._tcp.tzi.org IN SRV IN SRV IN SRV 0 1 5060 damn.tzi.org 0 2 5060 rasen.tzi.org 0 4 50600 rasen.tzi.org Finally: lookup of A records for rasen.tzi.org Then send message to 134.102.218.67 2005 Jörg Ott 33 Alternative Address Resolution Schemes Telephony Routing for IP (TRIP) [RFC 3219] BGP-4-based routing protocol to find gateways Hierarchical Routing See H.323 Gatekeeper Hierarchy across NRENs Static routing -based IP PBXes with statically configured prefix routing Peer-to-peer address resolution Relying on a different distributed data base than DNS 2005 Jörg Ott 34

Peer-to-Peer DNS P2P: Distributed Hash Table System Proxy 1 Proxy 2 UA 1 sip:ob@tzi.org UA 2 sip:jo@tzi.org 2005 Jörg Ott 35 Peer-to-Peer : UAs as P2P Nodes P2P: Distributed Hash Table System UA 1 sip:ob@tzi.org UA 2 sip:jo@tzi.org 2005 Jörg Ott 36

Peer-to-Peer : Proxies as P2P Nodes P2P: Distributed Hash Table System Proxy 1 Proxy 2 UA 1 sip:ob@tzi.org Two major issues: trust and reliability UA 2 sip:jo@tzi.org 2005 Jörg Ott 37 Conclusion ENUM defines a way of resolving phone numbers to entities Supports first level of service identification Makes use of DNS as a distributed database Fits well with the regular address resolution process Other address resolution protocols equally conceivable 2005 Jörg Ott 38

Conclusion ENUM defines a way of resolving phone numbers to servers Supports first level of service identification Makes use of DNS as a distributed database Fits well with the regular address resolution process Other address resolution protocols equally conceivable Debate about the Future: [Henry Sinnreich] Traditional for enterprise deployments Peer-to-peer for private users? Carriers? 2005 Jörg Ott 39 Und am Schluß: Werbung! ISOC.de und die IETF Laufende Entwicklungen der IETF zu, ENUM, Breites Interesse in DE, dennoch begrenzte Teilnehmerzahl Idee: Mentoring für neue Interessenten Hintergrundinformationen, Einführung, Ko-Autorenschaft bei Dokumenten IETF-Tag: 20./21.September 2005 Kassel-Wilhelmshöhe Nächste naheliegende Gelegenheit: Paris, 31.7. 5.8.2005 Mail an ietf-tag@isoc.de 2005 Jörg Ott 40