Professional Documents
Culture Documents
VoIP Workshop
APRICOT 2008
Ed Lewis
ed.lewis@neustar.biz
Agenda
What/why is ENUM
Role in "call set up"
Provisioning
History and future
An exercise/lab
APRICOT 2008
ed.lewis@neustar.biz
APRICOT 2008
ed.lewis@neustar.biz
APRICOT 2008
What is E-N-U-M?
E(lectronic )NUM(bering)
Converts tel-numbers into Domain
Names
+866227002323 becomes
3.2.3.2.0.0.7.2.2.6.6.8.<$e164>.<$tld>
E.g.,3.2.3.2.0.0.7.2.2.6.6.8.e164.arpa
APRICOT 2008
Why "ENUM"?
If there were one Asterisk Server in the
world
Asteri
sk
Server
APRICOT 2008
ed.lewis@neustar.biz
Configurati
on
File
Four Servers?
APRICOT 2008
Confi
g
File
Confi
g
File
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Confi
Confi
g
g
File ed.lewis@neustar.bizFile
More Servers?
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Aaaaaaaaaagggggghhhhhhhh!!
APRICOT 2008
ed.lewis@neustar.biz
With "ENUM"
Asteri
sk
Server
Asteri
sk
Server
APRICOT 2008
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
DNS-ENUM service
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
ed.lewis@neustar.biz
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
10
11
ENUM in standards
IETF RFC documents
3403 "DDDS Part Three: The DNS
Database."
Part of the series 3401-3405
Call Set-Up
APRICOT 2008
ed.lewis@neustar.biz
13
Mechanics of ENUM
User dials a number, assumption is
made that this is for a voice call
Server tries to set up a SIP session
First get a "sip:" URL for the dialed
number
Next find where the host part or URL is
serviced
Then find the network address
ed.lewis@neustar.biz
14
ENUM(TN) owns it
ENUM(TN) means "E.164 converted into a
domain name
ed.lewis@neustar.biz
15
ENUM(TN)
Start with an E.164 number
+866227002323 ()
ed.lewis@neustar.biz
16
NAPTR RR
NAPTR RR
ENUM(TN) "owns" it
Record contains 6 elements
order = uninteresting
preference = uninteresting
flags = always "u" for ENUM
service = "E2U+<something>" (see IANA
page)
regular expression = interesting THE URL we
want
replacement = uninteresting
APRICOT 2008
ed.lewis@neustar.biz
17
An example
+866227002323 to
"sip:866227002323@hotel.tw.tld."
$ORIGIN 3.2.3.2.0.0.7.2.2.6.6.8.e164.tld.
@ NAPTR 10 ( ; order
10 ; preference
"u" ; flags
"E2U+sip" ; (enum)service
"!(^.*)$!sip:\1@hotel.tw.tld." ;
rpl
.) ; replacement (unused)
APRICOT 2008
ed.lewis@neustar.biz
18
Zonefile-ism
Note that in the previous slide this
"!(^.*)$!sip:\1@hotel.tw.tld."
is written
"!(^.*)$!sip:\\1@hotel.tw.tld."
APRICOT 2008
ed.lewis@neustar.biz
19
ed.lewis@neustar.biz
20
ed.lewis@neustar.biz
21
SRV RR
Service (location) resource record
<owner> SRV
<priority><weight><host><port>
priority= uninteresting
weight = uninteresting
host = DNS of host where process runs
port = port number
APRICOT 2008
ed.lewis@neustar.biz
22
Example
hotel.tw.tld has a SIP server on
"sip.hotel.tw.tld." and port 5060
$ORIGIN hotel.tw.tld.
_sip._udp SRV 10 10 sip.hotel.tw.tld. 5060
APRICOT 2008
ed.lewis@neustar.biz
23
ed.lewis@neustar.biz
24
Asteri
sk
Server
APRICOT 2008
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
NAPT
R (TN
->U
SRV (
RL)
URL>Hos
A/A
t/por
AAA
t)
(hos
t->
IP)
Asteri
sk
Server
DNS-ENUM service
Asteri
sk
Server
Asteri
sk
Server
Asteri
sk
Server
ed.lewis@neustar.biz
Asteri
sk
Server
Asteri
sk
Server
25
Why do this?
It's supposed to be cheaper than the
alternative (SS7 or configuring all peer
servers)
APRICOT 2008
ed.lewis@neustar.biz
26
ENUM's job
Once the call set up is over, ENUM
plays no role in the call
It only tells Asterisk where to direct SIP
traffic
After that, the SIP session is independent
of ENUM
APRICOT 2008
ed.lewis@neustar.biz
27
Provisioning
APRICOT 2008
ed.lewis@neustar.biz
28
APRICOT 2008
ed.lewis@neustar.biz
29
ed.lewis@neustar.biz
30
ENUM operation
Likely scenario is that ISPs will use a
separate organization to operate the
ENUM root
Currently there are a number of
"trade-associations" for this
Telephone operators seem to associate
with others on the same media, VoIP,
wireless, wireline, cable (TV), etc.
ed.lewis@neustar.biz
31
Tiers
Infrastructure (trade association)
ENUM is usually divided into three
tiers
Tier 0, the top of the ENUM hierarchy
Tier 1, country codes
Tier 2, individual numbers
APRICOT 2008
ed.lewis@neustar.biz
32
Tier 0
Tier 0 is closely tied with the
international standards of telephone
number allocation
As you can imagine, this gets political
The ITU has instructed RIPE NCC (the
European version of APNIC) to operate
a registry with the ENUM root of
e164.arpa.
APRICOT 2008
ed.lewis@neustar.biz
33
Tier 1
There are about 200-300 Tier 1's
(possible)
1 per country code, with a few
exceptions
+1 is shared by a few countries in North
America
34
Tier 2
Usually just a block of consecutive
numbers managed by a voice service
provider
With number portability, Tier 2 might
be one number per zone
Tier 2 ENUM DNS provider is up to the
service provider
APRICOT 2008
ed.lewis@neustar.biz
35
Tree of Tiers
trad
e/
ITU
Tier 0
Tier 1 +866
Tier 2
2
2
7
0
0
2
3
3
APRICOT 2008
Tier 1 +1
Tier 2
5
7
1
5
5
5
1
2
3
4
Tier 2
5
7
1
5
5
5
1
2
3
5
ed.lewis@neustar.biz
Tier 1 +65
trad
e/
CC
V
O
I
P
Prov
run
36
Tier 0's
The ITU has designated e164.arpa as
the "public enum root"
Few, if anyone use it
37
Tier 0 registry
The operator builds the Tier 0 DNS
Really rather boring, only adjusted
when country codes change or when
Tier 1 registries change
APRICOT 2008
ed.lewis@neustar.biz
38
Tier 1 Registry
Produces country dialing code's DNS
Only "excitement" comes when
numbering allocations or transfers
happen
Tier 0 and Tier 1 usually only host
delegations (NS records) and no
NAPTR, SRV, nor address records
APRICOT 2008
ed.lewis@neustar.biz
39
Tier 2 "registry"
Contains the NAPTR records for fully
(and over) dialed numbers
Millions of these zones, they may not
be traditional DNS zones
This is where a lot of activity happens
in provisioning
APRICOT 2008
ed.lewis@neustar.biz
40
Other zones
SRV and address records are usually in
organization domains
Data is tied to the service provider
Not tied to the customer numbers
APRICOT 2008
ed.lewis@neustar.biz
41
ed.lewis@neustar.biz
42
APRICOT 2008
ed.lewis@neustar.biz
43
ENUM started as
A way for people to attach services to
their phone number
A flop
People don't own their number, authority
to make a change is not easy
User ENUM too complicated for common
man
ed.lewis@neustar.biz
44
ENUM is emerging as
An upgrade to the existing interoperator call routing database
More flexible than voice-only traffic
Infrastructure ENUM
Still fragmented among trade associations
APRICOT 2008
ed.lewis@neustar.biz
45
APRICOT 2008
ed.lewis@neustar.biz
46
Lab, or Exercise
Ingredients
DNS server on conference.apricot.net
169.223.11.204
APRICOT 2008
ed.lewis@neustar.biz
47
APRICOT 2008
ed.lewis@neustar.biz
48
APRICOT 2008
ed.lewis@neustar.biz
49
APRICOT 2008
ed.lewis@neustar.biz
50
IN SOA
ns1.tld. (
hostmaster.ns1.tld.
1 ; serial number
900 ; refresh
900 ; retry
604800 ; expire
900 ; negative cache
NS
ns1.tld.
_sip._udp
SRV
10 10 5060 sip.group16.tld.
sip.group16.tld. A
APRICOT 2008
169.223.10.26
ed.lewis@neustar.biz
51
APRICOT 2008
ed.lewis@neustar.biz
52
ed.lewis@neustar.biz
53
ed.lewis@neustar.biz
54
Check to see
Dialing 63601 should result in
URL sip:3601@group16.tld.
ed.lewis@neustar.biz
55
Wrap UP
Same Sign
Xinyi Road
2008
APRICOT 2008
ed.lewis@neustar.biz
56
Questions?
This is a quick introduction to ENUM
Like many things, it's components are
simple
More complex macros can be used to
handle error conditions
APRICOT 2008
ed.lewis@neustar.biz
57
APRICOT 2008
ed.lewis@neustar.biz
58