HOME

TheInfoList



OR:

{{more citations needed, date=April 2018 Distributed Universal Number Discovery (DUNDi) is a
VoIP Voice over Internet Protocol (VoIP), also known as IP telephony, is a set of technologies used primarily for voice communication sessions over Internet Protocol (IP) networks, such as the Internet. VoIP enables voice calls to be transmitted as ...
routing protocol that provides
directory service In computing, a directory service or name service maps the names of network resources to their respective network addresses. It is a shared information infrastructure for locating, managing, administering and organizing everyday items and network ...
s for
Asterisk The asterisk ( ), from Late Latin , from Ancient Greek , , "little star", is a Typography, typographical symbol. It is so called because it resembles a conventional image of a star (heraldry), heraldic star. Computer scientists and Mathematici ...
systems. With DUNDi peered nodes share dialplan information with each other. The protocol does not actually carry any calls, but rather provides addressing information. Peers in a DUNDi cluster query other peers for a
telephone number A telephone number is the address of a Telecommunications, telecommunication endpoint, such as a telephone, in a telephone network, such as the public switched telephone network (PSTN). A telephone number typically consists of a Number, sequ ...
to which a call is requested by a user. The result of the query is a dial string for the Asterisk application ''Dial''. The protocol was invented by Mark Spencer, the author of
Asterisk The asterisk ( ), from Late Latin , from Ancient Greek , , "little star", is a Typography, typographical symbol. It is so called because it resembles a conventional image of a star (heraldry), heraldic star. Computer scientists and Mathematici ...
.


Peers

Asterisk PBX systems that use DUNDi are peered as a cooperating system of DUNDi nodes, each having certain configuration to access a DUNDI instance on at least one other node. In the DUNDi configuration one can limit the number of consecutive lookups between peers by setting the TTL. * A TTL of 1 means you only can ask the peers you know and they cannot ask further. * A TTL of n means that the peer you ask for a lookup can redirect your lookup to the peers it knows, only with a TTL of n-1.


Advertising extensions

Each DUNDi peer can advertise its own extensions and their context. E.g. if you can connect some local
E.164 E.164 is an international standard (ITU-T Recommendation), titled ''The international public telecommunication numbering plan'', that defines a numbering plan for the worldwide public switched telephone network (PSTN) and some other data netw ...
number(s), you can advertise these. DUNDi configuration assigns a priority weight to each advertised extension. Low values represent a high priority and must be chosen first when more than one answer is received from a lookup.


Example

In the Asterisk
CLI CLI may refer to: Computing * Call Level Interface, an SQL database management API * Command-line interface, of a computer program * Command-line interpreter or command language interpreter; see List of command-line interpreters * CLI (x86 instruc ...
one can do a lookup by hand to test if a DUNDi configuration works. asterisk1*CLI> dundi lookup 301@priv bypass 1. 0 IAX2/priv:[email protected]/301 (EXISTS) from 00:0c:29:d2:d8:ec, expires in 3600 s DUNDi lookup completed in 113 ms The above DUNDi lookup tells the PBX to ask the known peers if they know how to reach extension 301 in the "priv" network. The answer consists of 6 parts: * The used protocol to communicate is IAX2. * The context-name is "priv". * The secret key of the PBX, which can redirect you to extension 301 is ByW ..SZw (this changes periodically) * The address of this PBX is 192.168.1.2 (or some domainname, should be reachable by the calling party) * The extension to call is 301 (this can be different from what you asked for, e.g. when calls from the outside are not allowed directly to an internal extension) * "EXISTS" tells us the PBX is advertising this number. It is possible the PBX advertises a lot more extensions than really are connected, so it is no guarantee the extension can be reached. In order to prevent the network from overloading and at the same time keep the responses as quick as possible, the involved peers will cache the lookups they see. Because the used keys may become invalid after some period, each lookup has some
expiry date An expiration date or expiry date is a previously determined date after which something should no longer be used, either by operation of law or by exceeding the anticipated shelf life for perishable goods. Expiration dates are applied to some f ...
. This defaults to one hour. When no context is given with a lookup, DUNDi defaults to the
E.164 E.164 is an international standard (ITU-T Recommendation), titled ''The international public telecommunication numbering plan'', that defines a numbering plan for the worldwide public switched telephone network (PSTN) and some other data netw ...
context. This means you are looking for normal (international) phone-numbers, like 0031201234567 (some bogus number in Amsterdam, the Netherlands) In order to do so, you have to peer with at least one other peer in the ''E164 trust group''. The peers in this group are bound to th
Digium GPA (Digium General Peering Agreement)
(
PDF Portable document format (PDF), standardized as ISO 32000, is a file format developed by Adobe Inc., Adobe in 1992 to present documents, including text formatting and images, in a manner independent of application software, computer hardware, ...
)


External links


DUNDi Home Page

Internet-Draft that expired in 2005


Telephone networks Telephone numbers Network protocols VoIP protocols