SIP and PSTN Connectivity. Jiri Kuthan, iptel.org sip:jiri@iptel.org September 2003



Similar documents
ARCHITECTURES TO SUPPORT PSTN SIP VOIP INTERCONNECTION

SIP: 30 Tutorial. ( All you need to know does not fit in 30 send me an E- mail or grab me in bar for follow-up questions.)

Multimedia Communication in the Internet. SIP: Advanced Topics. Dorgham Sisalem, Sven Ehlert Mobile Integrated Services FhG FOKUS

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

Preparatory Meeting for Phase 2 of Philippine National ENUM Trial

Application Notes for Avaya IP Office 7.0 Integration with Skype Connect R2.0 Issue 1.0

Alcatel OmniPCX Enterprise R11 Supported SIP RFCs

Application Notes for Configuring Intelepeer SIP Trunking with Avaya IP Office Issue 1.0

SIP : Session Initiation Protocol

Need for Signaling and Call Control

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

Application Notes for Configuring SIP Trunking between Metaswitch MetaSphere CFS and Avaya IP Office Issue 1.0

Avaya IP Office 8.1 Configuration Guide

MIT s Current SIP Infrastructure. Mark Silis MIT Information Services and Technology February 2, 2006

Internet Communications Using SIP

Peer-to-Peer SIP Mode with FXS and FXO Gateways

Application Notes for Configuring Microsoft Office Communications Server 2007 R2 and Avaya IP Office PSTN Call Routing - Issue 1.0

1.1.3 Versions Verified SIP Carrier status as of 18 Sep 2014 : validated on CIC 4.0 SU6.

Session Initiation Protocol (SIP)

Voice over IP Basics for IT Technicians

NTP VoIP Platform: A SIP VoIP Platform and Its Services

SIP and ENUM. Overview DENIC. Introduction to SIP. Addresses and Address Resolution in SIP ENUM & SIP

IP PBX. SD Card Slot. FXO Ports. PBX WAN port. FXO Ports LED, RED means online

Network Connection Considerations for Microsoft Response Point 1.0 Service Pack 2

Configuring the Sonus SBC 2000 with Cisco Unified Call Manager 10.5 for Verizon Deployment

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

(Refer Slide Time: 6:17)

Voice Over IP. Priscilla Oppenheimer

XO SIP Service Customer Configuration Guide for Interactive Intelligence Customer Interaction Center (CIC) with XO SIP

Application Notes Rev. 1.0 Last Updated: February 3, 2015

Direct IP Calls. Quick IP Call Mode

Advanced SIP Series: SIP and 3GPP Operations

An Introduction to VoIP Protocols

Chapter 2 PSTN and VoIP Services Context

SIP A Technology Deep Dive

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

Application Notes Rev. 1.0 Last Updated: January 9, 2015

Application Notes for Configuring Broadvox SIP Trunking with Avaya IP Office - Issue 1.0

Voice over IP (VoIP) Basics for IT Technicians

BroadSoft Partner Configuration Guide SIP Access Device Configuration Sonus Networks, Inc. SBC 1000 / SBC 2000

NAT TCP SIP ALG Support

Project Code: SPBX. Project Advisor : Aftab Alam. Project Team: Umair Ashraf (Team Lead) Imran Bashir Khadija Akram

SIP Trunking Quick Reference Document

SIP Essentials Training

How To Set Up Skype Connect

Updated Since :

Session Initiation Protocol Gateway Call Flows and Compliance Information

Multimedia Service Platform

Updated Since :

Formación en Tecnologías Avanzadas

How to Configure the Avaya IP Office 6.1 for use with Integra Telecom SIP Solutions

BROADSOFT PARTNER CONFIGURATION GUIDE VEGASTREAM VEGA 100

Understanding Voice over IP Protocols

Implementing Intercluster Lookup Service

Interoperability Test Plan for International Voice services (Release 6) May 2014

VoIP and Videoconferencing: are they the same?

Application Notes for configuring Avaya IP Office IP500 R7.0 with 2Ring NetFAX R3.0 Issue 1.0

General Guidelines for SIP Trunking Installations

I-TNT: PHONE NUMBER EXPANSION AND TRANSLATION SYSTEM FOR MANAGING INTERCONNECTIVITY ADDRESSING IN SIP PEERING

Avaya Solution & Interoperability Test Lab

Updated Since :

PPreferredID = "P-Preferred-Identity" HCOLON PPreferredID-value. *(COMMA PPreferredID-value)

SIP, Session Initiation Protocol used in VoIP

SBC 1000/2000 Configuration Guide with Lync 2013 for Windstream/ LPAETEC SIP Trunk Deployments

Creating your own service profile for SJphone

IP-Telephony SIP & MEGACO

Authentication and Authorisation for Integrated SIP Services in Heterogeneous Environments 1

1) How do I setup my SIP trunk for inbound/outbound calling? We authenticate IP-PBX SIP Trunking traffic by:

SIP and VoIP 1 / 44. SIP and VoIP

AT&T IP Flex Reach/ IP Toll Free Configuration Guide IC 3.0 with Interaction SIP Proxy

Application Notes for Configuring Cablevision Optimum Voice SIP Trunking with Avaya IP Office - Issue 1.1

IP Office 7.0 and BCM 6.0 SIP Interoperability Configuration Notes

Introduction to VoIP Technology

Mediatrix 3000 with Asterisk June 22, 2011

1 SIP Carriers Warnings Vendor Contact Vendor Web Site : Versions Verified SIP Carrier status as of 9/11/2011

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

Note: As of Feb 25, 2010 Priority Telecom has not completed FXS verification of fax capabilities. This will be updated as soon as verified.

Integrating Voice over IP services in IPv4 and IPv6 networks

Application Notes for Configuring SIP Trunking between McLeodUSA SIP Trunking Solution and an Avaya IP Office Telephony Solution 1.

Abstract. Avaya Solution & Interoperability Test Lab

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

SIP Session Initiation Protocol Part 2. Multiple Call Opportunities

Implementing SIP and H.323 Signalling as Web Services

Updated Since :

Internet Communications Using SIP

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

Multi-Tech FaxFinder IP

How To Guide. SIP Trunking Configuration Using the SIP Trunk Page

Release Notes for NeoGate TE X

Cisco EXAM Implementing Cisco IP Telephony and Video, Part 2 (CIPTV2) Buy Full Product.

ShoreTel & AMTELCO Infinity Console via SIP Trunking (Native)

General Guidelines for SIP Trunking Installations

Abstract. Avaya Solution & Interoperability Test Lab

Transcription:

SIP and PSTN Connectivity Jiri Kuthan, iptel.org sip:jiri@iptel.org September 2003

Outline PSTN Gateways. PSTN2IP Demo Integration challenges: CLID Interdomain Trust Gateway Location Outlook: Reuse of Mobile Network Security Conclusions

About SIP-to-PSTN Connectivity SIP Telephony really nice. There are however still 200 million PSTN users hanging around and you would like to talk at least to some of them.

PSTN Gateways Problem #1: your device speaks a different language than your grandmother s. Solution: use a gateway, i.e., adapter which converts signaling and speech from Internet to PSTN and vice versa. PSTN Internet Gateway market established: Cisco, Ericsson, Lucent. Sonus, Vegastream, etc. Open-source as well.

Call Flow SIP to PSTN RFC 3398 Request-URI in the INVITE contains a Telephone Number which is sent to PSTN Gateway. The Gateway maps the INVITE to a SS7 ISUP IAM (Initial Address Message) 183 Session Progress establishes early media session so caller hears Ring Tone. Two way Speech path is established after ANM (Answer Message) and 200 OK Gateways interfacing other PSTN dialects operate similarly. Slide courtesy of Alan Johnston, WorldCom. (See reference to Alan s SIP book.)

A Possible Gateway Shopping Option Size does matter: How to enlarge size of your network? Take MGCP/Megaco/H.248 and double the number of boxes today. Some vendors decompose gateways in two parts: signaling gateway and media gateway. These two parts are reconnected together through some of Megaco/MGCP/H.248 protocols. Don t ask me what decomposition is here good for and why there are multiple protocols to choose from.

PSTN2IP Demonstration PSTN +49-30-3463-9043 sip:jiri@iptel.org iptel.org w/voicemail2email SIP Cisco Gateway ENUM SMTP

Gateways Ship Today, What Is the Problem Then? Integration! Identity: jiri@iptel.org calls out through PSTN gateway. What Caller-ID will display down in PSTN? Interdomain settlement: your SIP service operator does not have the capability to terminate anywhere in world cheaply. How can he establish a secure channel to PSTN termination operators? How do you locate a proper PSTN termination gateway? And some other ugly legacy problems like DTMF, overlap dialing.

CLID draft-ietf-sip-privacy Typical deployment problem: jiri@iptel.org (in possession of a valid PSTN number) would like to call to PSTN through his gateway operator how does the gateway know which telephone number to display? Architecturally, proxy servers are highly programmable devices that can easily link SIP identity to PSTN numbers. Thus, that s the place for mapping of SIP identity to an owned PSTN number. Missing piece: communicating the PSTN number a server determined to gateway. Current standardization status: several competing documents. Remote-Party-ID deployed.

Remote Party ID User ID/phone number database INVITE sip:1234@gw.com From: sip:a@bc.de;tag=12 To: sip:1234@gw.com a +49-179-123123 INVITE sip:1234@gw.com From: sip:a@bc.de;tag=12 To: sip:1234@gw.com Remote-Party-ID: <sip:+49179123123@gw.com> PSTN Proxy Server with CLID support PSTN gateway

Problem of Trust Displaying proper caller ID is a legal requirement for operators. What happens if someone fakes the RPID and operator displays a wrong number? Ask your lawyer or regulator, I better tell you how to ensure displaying correct number. It is about a reasonable trust model: a gateway may only display caller ID issued by a trustworthy source. Trust needed to solve other problems too: Does the call come from a source to whom my gateway can credit international calls? Establishing trust to individual users within a single domain almost easy but what if multiple domains comes in?

Trust: Interdomain versus Intradomain Within single administrative domain, trust can be implemented using physical security and knowledge of identity of local users proxy servers verify identity of local users using digest and gateways trust local proxies. Interdomain scenario example: iptel.org users terminate calls to US PSTN with National Gateways Inc. How do you export the trust then? The terminating provider can t verify identity of remote users and can t trust information passed over the public Internet. RPID alone can t be trusted as it can be changed anywhere on the transit. Stronger security protocols come in for interdomain operation: TLS.

TLS Use for Interdomain Security Internet PSTN #1 #2 TLS Originating domain Public Internet Terminating Domain With Local Trust Assumption: target domain trusts source domain to display proper CallerID and settle incurred costs. Step 1: originating domain verifies identity of local user (digest). If ok, it appends RPID and uses TLS for secure inter-domain communication. Step 2: terminating proxy verifies incoming TLS connection against list of trustworthy domains. If ok, SIP request is forwarded to PSTN gateway.

More on TLS Use TLS use for SIP solves other trust problems too: With trust mechanisms, interdomain accounting can be also implemented securely Signaling can be no longer sniffed during transport. Security Disclaimers: Trust established hop-by-hop it implies transitive trust along arbitrarily long proxy chains. Remember a chains is as strong as the weakest element in it. You have to trust next-hop not to pass your requests to questionable servers. Privacy is not end-to-end: proxy servers along the signaling path do see SIP in plain-text,

Gateway Location Now, we have a plenty of gateways: which one to choose? Best Current Practice: static Least-Cost-Routing configuration in your signaling server. Concerns: static configuration doesn t scale (remember that /etc/hosts before DNS was invented?) do we have future options? One IETF s answer is Telephony Routing Protocol (TRIP) it was (and probable will be) never deployed due to complexity and over-dimensioning. Other possibility: ENUM.

ENUM RFC2916 Problem: caller is in PSTN (can use only digit keys) and would like to reach a SIP callee Answer: ENUM. Create a global directory with telephone numbers that map to SIP addresses (or e- mail, etc.). Lookup mechanism: DNS maps E.164 numbers to a set of user-provisioned URIs The E.164 number queries are formed as a reversed dot-separated number digits, to which string.e164.arpa is appended, e.g.: +4319793321 1.2.3.3.9.7.9.1.3.4.e164.arpa

ENUM Call Flow DNS/ ENUM DNS/ENUM helps ingress gateway to resolve SIP address from E.164 number Typically, owner of an ENUM entry can manipulate the address association through a web provisioning interface?...7.1.9.4.e164.arpa PSTN: +4917! sip:jiri@iptel.org INVITE sip:jiri@iptel.org Gateway with ENUM resolution

DTMF Support RFC2833 Actually, I would wish this slide wasn t here: IVRs are horribly inconvenient devices. I like voicemail message delivery by e-mail and flight-ticket shopping with web much better. But Large deployed base for telephony applications. Solution 1: include tones in audio. It works fairly well with G.711 codecs. More compressive codec may degrade quality so that tones are no longer recognized by receiver. Solution 2: special DTMF payload for RTP: RFC 2833. Reliability achieved through redundant encoding (RFC2198).

Overlapped Dialing RFC3578 Problem: ingress PSTN2IP gateway operates in overlapped dialing mode whereas SIP operates enblock; Solution #1: initiate en-block SIP dialing using knowledge of numbering plans or after a period of overlapped dialing inactivity; drawback: delay and knowledge of numbering plan catalogs. Solution #2: send a new INVITE for each new digit

Outlook: Leveraging the Mobile Network Security in SIP Devices Objective: transfer the mobile network security experience to IP telephony: Security keys used to authenticate users can be fairly long, users don t need to remember them, and can use them with multiple devices The SIM stores other sensitive data too, Caller ID in particular. And of course it can keep user data such as phonebook as well. Obviously, reusing SIM cards with IP telephones lends itself.

SIP/SIM Works Today Within a trial, we developed a prototype which Server side (SER), offers both traditional digest and de-luxe SIMbased authentication to callers Client side (k-phone with a SIM-card reader), picks SIM-based authentication and submits proper credentials. The server verifies phone s credentials against its security database via RADIUS. Potential for enlightened telcos to bundle mobile phones with Internet access. Still on the agenda: maintenance of interdomain trust: each-toeach may be too hard (# of Internet domains >> # of cell operators), some certification authorities may come in

Concluding Observations PSTN/SIP interoperation works just fine today, the most troublesome are parts taking interdomain operation. Technologies applicable today: TLS interdomain-wise in combination with intradomain security protocols. Outlook: reuse of mobile network security protocols.

More PSTN-Related Reads Mapping of of Integrated Services Digital Network (ISUP) Overlap Signalling to the Session Initiation Protocol [draftietf-sipping-overlap] Session Initiation Protocol PSTN Call Flows [draft-ietfsipping-pstn-call-flows] Integrated Services Digital Network (ISDN) User Part (ISUP) to Session Initiation Protocol (SIP) Mapping [RFC 3398] Session Initiation Protocol for Telephones (SIP-T): (SIP-T): Context and Architectures [RFC3372] Interworking between SIP and QSIG [draft-elwell- sippingqsig2sip]

There Are SIP Books! Alan B. Johnston: SIP: Understanding the Session Initiation Protocol Artech House 2001 Henry Sinnreich, Alan Johnston: Internet Communications Using SIP: Delivering VoIP and Multimedia Services with Session Initiation Protocol John Wiley & Sons, 2001