Goal (short description)

Goal is to set ENUM (RFC3761,Wikipedia) records to provide E.164 telephone number to URI translation.

Applicability

It is applicable for institution or even person using E.164 telephone number and willing to provide such translation.

Prerequisites (OS, dependencies on other software)

Suffixes

e164.arpa - Public User Enum tree
If you want to use Public User Enum you need to be eligible user of number(s) and register your number or prefix by registrator in country where the number belongs. Your eligibility is validated by special process that depends on your registrator (validation SMS, TSP Invoice, ...).
Current status of golden tree (e164.arpa) delegations could be fount at enumdata.org

nrenum.net - Private NREN tree
nrenum.net is an effort of National Research and Education Networks (NREN) and provides nrenum.net provides countries, where the Golden ENUM Tree (e164.arpa) is not (yet) available, with the possibility to publish ENUM data. The nrenum.net tree is queried by the participating partners in case no ENUM data is found in the Golden Tree.
See nrenum.net for more infromation.

sample.edu - Institutional private tree
You can have you own private tree within you domain. It is usable for internal routing i.e. in case that you have several locations or so and you need to share different translation different from golden tree or nrenum. You don't need any validation here.
There are also lots of managed private tree like enum.org enum.info and so on.

Configuration (OS agnostic)

Number prefix is 123456 (with 3 digit branch) and suffix is e164.arpa.

Be careful when constructing regular expression as they can be a bit complicated. Test retrieval and functionality of your records carefully. Regexp is applied at the client side.

OS specific help

Validation, confirmation tests

Basic existence test

host -t naprt 1.1.1.6.5.4.3.2.1.e164.arpa.
or
dig -t naptr +short @nameserver 1.1.1.6.5.4.3.2.1.e164.arpa.

I found nice small script for those who don't like to transform the numbers to domain names manually

#!/bin/sh
host -t naptr $(echo $1 | rev | sed -e 's/[0-9]/&./g')e164.arpa

These commands just retrive dns record from server. To test regexp you can use php scripts at nona.net where e164.arpa, e164.org, e164.info and enum.org are queried. At CESNET site you can find script that looks up e164.apra, nrenum.net and e164.org.