ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13...

29
ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th , 2006 Fall VON, Boston, MA http://freenum.org/

Transcript of ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13...

Page 1: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

ISN: Free Numbers Fast

Dennis Baron, MITBen Teitelbaum, Internet2John Todd, Loligo

September 13th, 2006Fall VON, Boston, MA

http://freenum.org/

Page 2: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

2“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISN

PSTN

foo.edu

… …

Page 3: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

3“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISN

Internet

foo.edu

… …

Page 4: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

4“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISN

foo.edu

… …

VoIP ServiceProvider

Page 5: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

5“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISN

foo.edu

VoIP brought to you by…

… …

Page 6: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

6“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISN

foo.edu

RTC brought to you by…

Page 7: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

7“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNOld World / New World

+1-734-352-7031 [email protected]

Deep bureaucratic hierarchy The world is flat (almost)

Telco provider control Be your own provider

Radically new devices / services

Page 8: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

8“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNSIP.edu

sip:[email protected]

Email address as RTC handle250k .edu users

Page 9: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

9“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNUnfortunately, it’s hard to enter

alphanumeric addresses on this:

Page 10: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

10“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISN

21232*270

Domain-local(you allocate)

ITAD(IANA allocates)

[RFC3219]

ISN Numbers…

Page 11: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

11“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNITAD Subscriber NumbersDefined by Telephony Routing over IP (TRIP) [RFC3219]

Globally unique

Lots of them (256 through 232-1)

IANA is already set up to allocate

ISN resolution works just like ENUM

Page 12: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

12“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNAcademic

• Internet2• Hofstra University• UCLA• MIT• Stanford• University of Alaska Fairbanks• University of California, Berkeley• Florida State University• University of Manitoba (Canada)• University of Oregon• Royal Institute of Technology (Sweden)• NE Worcestershire College (England)• Trent University (Canada)• University of North Carolina• University of Texas, Austin• Columbia University• UCSD• Taiwan Academic Network

Corporate Enterprises• Sterling National Bank• Apple Computer

Others• BizFu• Manitoba New Democratic Party• Packet Clearing House

Government• State of Oregon

ISN Trial Participation• 67 domains from 14 countries

ITAD Assignments• 153 domains from 17 countries

VoIP Solution Providers• Tello• Iotum• Digium• Nokia

VoIP Service Providers• Free World Dialup• Stealth Communications• SIPcall.com• RCN Corporation• VoIPteq• SIP Broker• TellMe• PhoneGnome

Page 13: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

13“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNCostsITAD Subscription: Free

License restrictions: None

Monthly recurring: None

Tech time: Small

User instruction: Medium

Page 14: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

14“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNBenefits1/2

Free VoIP calling (expected zero-cost)

Future-proof numbering

Does not require change of equipment

Easy user memorization

Unique format makes routing and CDRs obvious

Page 15: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

15“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNBenefits2/2

Incremental deployment of dialing plan

Even works with most SIP-only iPBX systems

Does not require VPNs, Switch fabrics, or contracts

No question of "ownership" of number space

No contradictory routes possible

Low technology hurdles to jump (standards-based!)

Page 16: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

16“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNISN vs ENUM vs SIP AORISN E.164 SIP AOR

Example 7031*260 +1-734-352-7031 [email protected]

Familiarity Unfamiliar Phone numbers Email address

Delegating Authority

IANA ITU, national government, …

ICANN, TLD registrars

Address Structure

local*domain Hierarchical / geographical

local@domain

Non-numeric characters

“*” only Ignored Yes

Portability With domain owner’s cooperation

Varies by country With domain owner’s cooperation

Fragmentation One space Public ENUM + multiple private ENUMs

One space

Page 17: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

17“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISN+1-734-913-4257

7.5.2.4.3.1.9.4.3.7.1.e164.arpa.

sip:[email protected]:[email protected]:[email protected]

e164.arpa.

1.e164.arpa.

4.3.7.1e164.arpa. x.x.x.1.e164.arpa.

ENUM in a Nutshell

1. Take an E.164 number

2. Convert it to FQDN

3. Query DNS for NAPTRs

4. Apply resulting regexs

to get list of URIs:

Page 18: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

18“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISN4257*260

7.5.2.4.260.freenum.org.

freenum.org.

260.freenum.org.

sip:[email protected]:[email protected]:[email protected]

Note: We are working to ensure that the ISN root zone will be administered on behalf of the ISN user community by a neutral, non-profit organization. Following the trial, the root may or may not be “freenum.org”.

ISN in a Nutshell

1. Take an ISN

2. Convert it to FQDN

3. Query DNS for NAPTRs

4. Apply resulting regexs

to get list of URIs:

Page 19: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

19“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISN3 Easy Steps1. Request an ITAD from IANA

2. Publish your ITAD/ISN information in DNS1. Option1: Put full NAPTR in root zone

*.xxx.freenum.org IN NAPTR 100 10 "u" "E2U+sip” "!^\\+*([^\\*]*)!sip:\\[email protected]!" .

2. Option2: Have root zone delegate to your own nameservers

3. Enable inbound / outbound ISN calling1. Recipes for SER and Asterisk available

Page 20: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

20“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNAsterisk Implementation Outbound dialplan (one line!):Exten => _012.,1,Dial(SIP/${ENUMLOOKUP(${EXTEN},sip,i,freenum.org)})

Inbound:• No changes if your system supports inbound SIP extension calls

Page 21: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

21“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNSER Implementation1/2

Inbound:• No changes if your system supports inbound SIP extension calls

• Otherwise, can alias ISNs to URIs and resolve (see ISN Cookbook for example)

Page 22: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

22“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNSER Implementation2/2

Outbound:

route[3] { # Assert that uri is in proper format if (! (uri =~"^sip:[0-9]+\*[0-9]+@")) { xlog("L_CRIT", "%Tf: route[3] called with improper ISN\n"); break; }; if (!exec_dset("/usr/local/bin/isn-resolv.pl")) { sl_send_reply("404", "Not Found"); break; } else { xlog("L_INFO", "%Tf: Routing outbound ISN Call %ru(From [%fu], To [%tu])\n"); # Relay the message if (!t_relay()) { sl_reply_error();}; };} # end of ISN route block

Page 23: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

23“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISN“Dumb” iPBX ImplementationPseudocode using public helpers:

if $DIALEDNUMBER starts with "012" thenstrip off "012" from $DIALEDNUMBERsend SIP INVITE to

[email protected] dial-as-normal

Page 24: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

24“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNMIT DeploymentMotivation

• Evolution of our SIP infrastructure• Advancing support of early technology adopters• While maintaining interoperability with legacy technologies

• Support for innovation on the “experimental campus”• Broaden our federation options• But still encourage the migration to full URI support!

Page 25: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

25“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNMIT DeploymentUse Cases

• Student can be called in her dorm room from friends and family using non-MIT VoIP services that use SIP analog terminal adapters

• MIT press editor can collaborate with authors using his traditional PBX ISDN phone

• MIT researchers can reach experimental voice recognition servers at a remote research lab from any campus phone

Page 26: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

26“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNMIT DeploymentIssues

• Easy to implement “native” ISN dialing on our SER based SIP proxies (but we haven’t done this yet)

• Legacy PBX (Lucent 5ESS) couldn’t seem to cope with the “*”

• Implemented Asterisk server to collect digits and route ISN calls

Page 27: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

27“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNMIT Deployment

MIT PBX

SIP/PRIGateway

MIT Asterisk Server

Campus Network

Internet

MIT PBX user dials *0

freenum.org

MIT SIP Proxy Servers

Server prompts for number: User dials 248911*Server prompts for domain: User dials 262#

FWD phone rings

DNS lookup for 262

Page 28: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

28“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNSelf-DemoCall: +1-712-432-7935

Listen to the IVR

Enter an ISN• 87225*270 - MIT Shuttle Track• 2425*259 - Tello “success” message• 1234*256 - Recorded monkeys, echo test

Page 29: ISN: Free Numbers Fast Dennis Baron, MIT Ben Teitelbaum, Internet2 John Todd, Loligo September 13 th, 2006 Fall VON, Boston, MA

29“ISN Free Numbers Fast”, September 13th , Fall VON, Boston, MA

http://freenum.org/

ISNFor More InformationISN Cookbook, FAQ, and other info

• http://freenum.org/

Contact us:• Ben Teitelbaum

[email protected] | 7031*260

• John Todd–[email protected] | 2203*256

• Dennis Baron–[email protected] | 21232*270

Q&A right now