ArticleslgStudy

mathematics

Distributed Universal Number Discovery

Distributed Universal Number Discovery is a mathematics topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Distributed Universal Number Discovery rather than just read about it. In short: Distributed Universal Number Discovery (DUNDi) is a VoIP routing protocol that provides directory services for Asterisk systems. With DUNDi peered nodes share dialplan information with each other.

Key takeaways

  • Distributed Universal Number Discovery belongs to mathematics; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Distributed Universal Number Discovery to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Distributed Universal Number Discovery from memory before moving on to harder problems.

Reference excerpt

Distributed Universal Number Discovery (DUNDi) is a VoIP routing protocol that provides directory services for Asterisk 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 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.

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 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 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:ByWFbOGKgGmZbM43BJHSZw@192.168.1.2/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[...]HSZw (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. This defaults to one hour. When no context is given with a lookup, DUNDi defaults to the E.164 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 the Digium GPA (Digium General Peering Agreement) (PDF)

External links DUNDi Home Page Internet-Draft that expired in 2005 VoIP and ENUM

Worked examples

Example 1 — a first encounter with Distributed Universal Number Discovery

Start with the simplest possible case. Write down what Distributed Universal Number Discovery claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In mathematics, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Distributed Universal Number Discovery before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Distributed Universal Number Discovery ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Distributed Universal Number Discovery

In research
Distributed Universal Number Discovery appears in mathematics research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Distributed Universal Number Discovery in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Distributed Universal Number Discovery is common in secondary-school and first-year university syllabi. It links to neighbouring topics Network protocols, Telephone networks, Telephone numbers, so understanding it makes those chapters shorter.
In everyday life
Look for Distributed Universal Number Discovery outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Distributed Universal Number Discovery” →

How to study Distributed Universal Number Discovery in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Distributed Universal Number Discovery means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Distributed Universal Number Discovery out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Distributed Universal Number Discovery in simple terms?

Distributed Universal Number Discovery (DUNDi) is a VoIP routing protocol that provides directory services for Asterisk systems. With DUNDi peered nodes share dialplan information with each other.

Why does Distributed Universal Number Discovery matter?

Because it connects several mathematics ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Distributed Universal Number Discovery?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Distributed Universal Number Discovery.

Tags

  • Network protocols
  • Telephone networks
  • Telephone numbers
  • VoIP protocols

Keep exploring