aboutsummaryrefslogtreecommitdiffstats
path: root/doc/tex/enum.tex
diff options
context:
space:
mode:
authorrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-12 15:50:29 +0000
committerrussell <russell@f38db490-d61c-443f-a65b-d21fe96a405b>2007-10-12 15:50:29 +0000
commit9b43b973221c9fadbc3caf32c079351b0b0d3038 (patch)
tree69bb4bf2568fdb6055974390a5a9414b1927ab0d /doc/tex/enum.tex
parent7227c5ce710a4a2056fdc4ae1f45bef9f8800d37 (diff)
Many doc directory improvements, including:
- Added development section (backtrace.tex) - Correct filesystem path formating - Replace all "|" argument separator to "," - Endless count of spaces at the end of line - Using astlisting to make listings do not take so much place - Take back ASTRISKVERSION on first page - Make localchannel.tex readable by inserting extra end of lines (closes issue #10962) Reported by: IgorG Patches: texdoc-85177-1.patch uploaded by IgorG (license 20) git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85519 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc/tex/enum.tex')
-rw-r--r--doc/tex/enum.tex28
1 files changed, 14 insertions, 14 deletions
diff --git a/doc/tex/enum.tex b/doc/tex/enum.tex
index 56c710ae0..9a3384d46 100644
--- a/doc/tex/enum.tex
+++ b/doc/tex/enum.tex
@@ -24,7 +24,7 @@ function is then up to the administrator to implement in a way that
best suits their environment.
\begin{verbatim}
-Function: ENUMLOOKUP(number[|Method-type[|options[|record#[|zone-suffix]]]])
+Function: ENUMLOOKUP(number[,Method-type[,options[,record#[,zone-suffix]]]])
\end{verbatim}
Performs an ENUM tree lookup on the specified number, method type, and
@@ -34,7 +34,7 @@ Function: ENUMLOOKUP(number[|Method-type[|options[|record#[|zone-suffix]]]])
\item post-parsed NAPTR of one method (URI) type
\item count of elements of one method (URI) type
\item count of all method types
- \item full URI of method at a particular point in the list of all possible methods
+ \item full URI of method at a particular point in the list of all possible methods
\end{enumerate}
\subsection{Arguments}
@@ -48,7 +48,7 @@ Function: ENUMLOOKUP(number[|Method-type[|options[|record#[|zone-suffix]]]])
\end{itemize}
\item service\_type
- \begin{itemize}
+ \begin{itemize}
\item tel, sip, h323, iax2, mailto, ...[any other string],
ALL. Default type is "sip".
Special name of "ALL" will create a list of method types across
@@ -58,7 +58,7 @@ Function: ENUMLOOKUP(number[|Method-type[|options[|record#[|zone-suffix]]]])
record (lowest value) in the list. The service types are not
hardcoded in Asterisk except for the default (sip) if no other
service type specified; any method type string (IANA-approved or
- not) may be used except for the string "ALL".
+ not) may be used except for the string "ALL".
\end{itemize}
\item options
@@ -72,7 +72,7 @@ Function: ENUMLOOKUP(number[|Method-type[|options[|record#[|zone-suffix]]]])
\end{itemize}
\end{itemize}
- \item record\#
+ \item record\#
\begin{itemize}
\item which record to present if multiple answers are returned
<integer> = The record in priority/order sequence based on the
@@ -103,17 +103,17 @@ and it is included as a more complex regexp example, though other
simpler NAPTRs will work just as well.
\begin{verbatim}
-0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 10 100 "u"
+0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 10 100 "u"
"E2U+tel" "!^\\+13015611020$!tel:+12125551212!" .
-0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 21 100 "u"
+0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 21 100 "u"
"E2U+tel" "!^\\+13015611020$!tel:+14155551212!" .
-0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 25 100 "u"
+0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 25 100 "u"
"E2U+sip" "!^\\+13015611020$!sip:2203@sip.fox-den.com!" .
-0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 26 100 "u"
+0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 26 100 "u"
"E2U+sip" "!^\\+13015611020$!sip:1234@sip-2.fox-den.com!" .
-0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 30 100 "u"
+0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 30 100 "u"
"E2U+sip" "!^\\+*([^\\*]*)!sip:\\1@sip-3.fox-den.com!" .
-0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 55 100 "u"
+0.2.0.1.1.6.5.1.0.3.1.loligo.com. 3600 IN NAPTR 55 100 "u"
"E2U+mailto" "!^\\+13015611020$!mailto:jtodd@fox-den.com!" .
\end{verbatim}
@@ -282,18 +282,18 @@ ENUMLOOKUP function calls.
; Look up the first SIP result and send the call there, otherwise
; send the call out a PRI. This is the most simple possible
; ENUM example, but only uses the first SIP reply in the list of
-; NAPTR(s).
+; NAPTR(s).
;
exten => _011.,1,Set(enumresult=${ENUMLOOKUP(+${EXTEN:3})})
exten => _011.,n,Dial(SIP/${enumresult})
exten => _011.,n,Dial(Zap/g1/${EXTEN})
-;
+;
; end example 1
; example 2
;
; Assumes North American international dialing (011) prefix.
-; Check to see if there are multiple SIP NAPTRs returned by
+; Check to see if there are multiple SIP NAPTRs returned by
; the lookup, and dial each in order. If none work (or none
; exist) then send the call out a PRI, group 1.
;