DUNDILOOKUP(Nummer
[|DUNDi-Context
[|Optionen
]])
DUNDi-Context
angegeben, wird e164
angenommen. Mit der Option b
(bypass) wird der interne DUNDi-Cache umgangen. Gibt
die erste gefundene Verbindung in der Form
Technologie/Ressource
oder einen leeren String zurück.; die Nummer 456 nachschlagen: 123 => { Set(device=${DUNDILOOKUP(456)}); Verbose(1,DUNDi-Ergebnis: ${device}); if ("${device}" != "") { Dial(${device}); } }
DUNDIQUERY()
(Abschnitt D.25, „DUNDIQUERY()
“) und DUNDIRESULT()
(Abschnitt D.26, „DUNDIRESULT()
“) verwenden.————————| 1.2 |————————| 1.4 |————————| 1.6 |————————
-= Info about function 'DUNDILOOKUP' =-
[Syntax]
DUNDILOOKUP(number[|context[|options]])
[Synopsis]
Do a DUNDi lookup of a phone number.
[Description]
This will do a DUNDi lookup of the given phone number.
If no context is given, the default will be e164. The result of
this function will the Technology/Resource found in the DUNDi
lookup. If no results were found, the result will be blank.
If the 'b' option is specified, the internal DUNDi cache will
be bypassed.
--- in Asterisk 1.4
+++ in Asterisk 1.6
@@ -9,7 +9,7 @@
[Description]
This will do a DUNDi lookup of the given phone number.
If no context is given, the default will be e164. The result of
- this function will the Technology/Resource found in the DUNDi
- lookup. If no results were found, the result will be blank.
+ this function will return the Technology/Resource found in the first result
+ in the DUNDi lookup. If no results were found, the result will be blank.
If the 'b' option is specified, the internal DUNDi cache will
be bypassed.