Implementing SIP

Transcription

Implementing SIP.eduInternet2 Spring Member MeetingDennis BaronApril 26, 2006np143Dennis Baron, April 26, 2006Page 0

Agenda SIP.edu Basics ISN Why SIP.edu? MIT Case Studynp143Dennis Baron, April 26, 2006Page 1

Basicsnp143Dennis Baron, April 26, 2006Page 2

Goals SIP ConnectivityBuild a large base of SIP-reachable Internet2 users by makingexisting campus PBX, Centrex, and VoIP systems reachablevia SIP SIP AddressingFacilitate the convergence of communications identities bypromoting the use of email addresses for voice andmultimedia communicationsnp143Dennis Baron, April 26, 2006Page 3

Means Publishing “cookbook” with several alternative“recipes” Obtaining corporate sponsorship and promotionalpricing– Cisco, Avaya, etc. Build community of SIP practitionersnp143Dennis Baron, April 26, 2006Page 4

Architecture (Phase 1)SIP User AgentDNS SRV igu.eduPRI / CASPBXtelephoneNumberwhere mail ”bob”CampusDirectorynp143Bob's PhoneDennis Baron, April 26, 2006Page 5

Architecture (Phase 2)SIP User AgentDNS SRV querysip.udp.bigu.eduINVITE(sip:bob@bigu.edu)If Bob has registered, ring his SIP phone;Else, call his extension through the ob@207.75.164.131)SIPRegistrarREGISTER(Contact: 207.75.164.131)Bob's SIP PhoneDennis Baron, April 26, 2006Page 6

Why Phone NUMBERS? Users should not be burdened with device addresses, when it’speople they really care about Addresses should be mnemonic and empower enterprises tomanage the identities of their userssip:dbaron@mit.edu It’s time to put E.164 phonenumbers behind us! A.G. Bell did not say:“ 1-617-252-1232, comehere. I need you!”np143Dennis Baron, April 26, 2006Page 7

Components DNS Server– Add SIP SRV records to existing servers SIP Proxy Server– Also acts as SIP registrar– Can support “aliases” for legacy phone numbers– Mimics campus dial plan LDAP Server (or other source of directory data)– Has mapping of email to phone number SIP Gateway– Connects to existing PBX or Centrex– Could also connect to proprietary VoIP systemnp143Dennis Baron, April 26, 2006Page 8

Call Flow Example SIP DNS lookup for MIT.EDU points to SIP proxy– Sends INVITE to dbaron@MIT.EDU to proxy SIP proxy checks MIT directory– Maps call to PBX extension – eg. 21232@mit.edu SIP proxy checks dial plan– Routes call to PBX gateway PBX rings phonenp143Dennis Baron, April 26, 2006Page 9

Examples – All-in-One Asterisk as both proxy and gateway Soekris 4801 server with SangomaT1/E1 card– Approximately 675USD Astlinux (Asterisk micro Linux) Directory lookup via file or LDAPStill under development and testingnp143Dennis Baron, April 26, 2006Page 10

Examples – Vendor Solution Avaya– SIP Converged Communications Server (CCS)– Communications Manager Media Server andGateway Handle Based Dialing service (LDAP plugin)SIP N' Go Starter Kitnp143Dennis Baron, April 26, 2006Page 11

“gaps” SIP is more than voice– Video and IM are important too– Presence services change the user experience Chickens without eggs only gets you half way– We’ve made everybody SIP reachable, now who’s going tocall them? The 12-digit keypad problem will be with us forawhile– What do we do until the devices have a 21st century userinterface?np143Dennis Baron, April 26, 2006Page 12

ISNnp143Dennis Baron, April 26, 2006Page 13

Old World / New WorldRadically new devices / services 1-734-352-7031Deep bureaucratic hierarchyTelco provider controlnp143ben@internet2.eduThe world is flat (almost)Be your own providerDennis Baron, April 26, 2006Page 14

How to SIP from a 12-key phone?Old World*IP DeskPhonesCell PhonesEmergingNew WorldLegacy DeskPhonesPSTN* Transitional period during which we have tosupport these devices will last a long time!np143Solution:numeric aliasesDennis Baron, April 26, 2006Page 15

ITAD Subscriber Numbers (ISN) 4257*260locallyassignedIP Telephony Administrative Domain (ITAD) ITADs–Defined by Telephony Routing over IP (TRIP)[RFC3219]–Globally unique–Lots of them (232 - 256)–IANA is already set up to allocate ISN resolution works just like ENUMnp143Dennis Baron, April 26, 2006Page 16

Assigned ITADs (as of 3/15/06)AcademicCorporate Enterprises–Internet2–Hofstra University–UCLA–MIT–Stanford–University of Alaska Fairbanks–University of California, Berkeley–Florida State University–University of Manitoba–University of Oregon–Royal Institute of Technology–Tello–NE Worcestershire College–Iotum–Trent University–Digium–University of North Carolina–University of Texas, Austin–Columbia University–BizFu (web hosting)–UCSD–Manitoba New Democratic Party–Taiwan Academic Network–Packet Clearing House– 36 othersnp143–Sterling National Bank–Apple ComputerVoIP Service ProvidersGovernment–State of Oregon–Free World Dialup–Stealth Communications–SIPcall.com–RCN Corporation–VoIPteq–SIP BrokerVoIP Solution ProvidersOtherDennis Baron, April 26, 2006Page 17

ISN Status Trial just starting up– Supported by Internet2, Packet Clearing House,MIT, Tello ISN Cookbook Published– Recipes for SER and Asterisk 103 ITADs assigned so far– 43Dennis Baron, April 26, 2006Page 18

ISN in Four Easy Steps1.2.Request an ITAD from IANA–Simple piece of email–Approximate two week turnaroundPublish your ITAD/ISN information in DNS–Option1: Put full NAPTR in root zone*.xxx.freenum.org IN NAPTR 100 10 "u" "E2U sip”"! \\ *([ \\*]*)!sip:\\1@sip.big.edu!" .–Option2: Have root zone delegate to your own nameservers3.Enable inbound ISN calling4.Enable outbound ISN callingnp143–Option1: Native ISN lookup–Option2: Using Tello SIP redirector–Option3: Using Tello private ENUMDennis Baron, April 26, 2006Page 19

E.164 vs. GDS vs. ISN vs. SIPGDSE.164SIP AORISNExample 1-734-913-4257 00 1 189 7349134257 4257*260FamiliarityPhone numbersH.323 video usersHuh?Email addressesDelegatingAuthorityITU, nationalgovernment, ViDeNet, nationalgatekeepersIANAICANN, TLDregistrarsAddressStructureHierarchical /geographicalHierarchical /geographical/organizationlocal*domain local@domainNon-numericCharactersIgnoredNo* OnlyPortabilityVaries by country With domain owner’scooperation?Fragmentation Public ENUM multiple privateENUMsnp143One spacebdr@internet2.eduYesWith domain With domain owner’scooperationowner’scooperationOne spaceOne spaceDennis Baron, April 26, 2006Page 20

Whynp143?Dennis Baron, April 26, 2006Page 21

Motivations Provides a useful service Easy to get started Lots of options Facilitates inter-campus communications Opens the way for innovation Build I/T staff skills Help break down organization/cultural barriers Encourage early technology adopters Set PBX migration pathnp143Dennis Baron, April 26, 2006Page 22

Quotes “This project was initiated by the need to provide reliable, IP basedphones for the Toolik Lake research station located north of theBrooks Range.” University of Alaska Fairbanks “sipETH: Internet Telefonie for the ETH Zurich: This project hasbeen inspired by the Internet2 SIP.edu initiative. During theexploration process many new ideas have led to a new vision forour project.” ETH Zurich “Our SIP.edu infrastructure has allowed us to utilizing our Internet2connections to reestablish the telephone tie lines connecting outtwo institutions.” MIT and WHOInp143Dennis Baron, April 26, 2006Page 23

Deploymentsnp143Dennis Baron, April 26, 2006Page 24

at MITnp143Dennis Baron, April 26, 2006Page 25

MIT Integrated Comm. Project SIP.edu deployments– On Pingtel SIPxchange in March 2003– Moved to OpenSER in 2005 ICP Goals– Develop a next generation digital integratedcommunications services strategy– Conduct experiments applying selected technologies ineducation, research colaboration, and communitynp143Dennis Baron, April 26, 2006Page 26

ICP Experiments Presence service to support Plasma Fusionresearch Dormitory collaboration spaces Collaboration services for MIT Singapore Alliance Faculty virtual office hours Virtual communities for MIT Cambridge studentexchangenp143Dennis Baron, April 26, 2006Page 27

ICP Outputs MIT WHOI tie lines Shuttletrack IVR– http://shuttletrack.mit.edu/– sip:shuttletrack@mit.edu– tel: 1-617-252-1232 Media Lab Fluid Voice project iSPOTS– http://ispots.mit.edu/ Voice mail to email pilots VoIP pilotnp143Dennis Baron, April 26, 2006Page 28

MIT SIP ArchitectureScreeningIncoming AuthNExternalProxyExternalProxyInternetOutgoing SigningGatewaysGatewaysRouting/Dial ingConferencingServicesPersonalProxyPersonalProxy PersonalProxyetc.ServicesRegistrationAuthNVmail to EmailPersonal Options Personalizationnp143Dennis Baron, April 26, 2006Page 29

np1439/7/042004 2005 /0411/2/0410/19/0410/5/049/21/04MIT SIP UsageCalls per dayTotal MIT SIP calls over service ennis Baron, April 26, 2006Page 30

Outstanding Tasks Generate call billing records Improved web interface Support for additional devices Improved voice mail integration– PBX Message Waiting Indication– IMAP integration Location management for 911, etc. Presence servicenp143Dennis Baron, April 26, 2006Page 31

Conclusionnp143Dennis Baron, April 26, 2006Page 32

Questions?np143Dennis Baron, April 26, 2006Page 33

– More Information? SIP.edu Web Page– http://www.internet2.edu/sip.edu/ Mailing list (see web page)– mailto:sip.edu@internet2.edu Thursday conference calls (2:00 Eastern)– sip:sip.edu@internet2.edu SIP.edu Cookbook– http://mit.edu/sip/sip.edu/ ISN Cookbook– http://freenum.org/np143Dennis Baron, April 26, 2006Page 34

– More Information?Contact:Dennis Baron, MITmailto:dbaron@MIT.EDUsip:dbaron@MIT.EDUor, if you must!isn:21232*270tel: 1-617-252-1232np143Dennis Baron, April 26, 2006Page 35

SIP User Agent Bob's Phone. Dennis Baron, April 26, 2006 np143 Page 6 . If Bob has registered, ring his SIP phone; Else, call his extension through the PBX. REGISTER (Contact: 207.75.164.131) INVITE (sip:bob@207.75.164.131) SIP Proxy SIP Registrar Bob's SIP Phone. Dennis Baron, April 26, 2006 . - UCLA -MIT - Stanford - University of .