diff options
author | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-15 13:12:51 +0000 |
---|---|---|
committer | russell <russell@f38db490-d61c-443f-a65b-d21fe96a405b> | 2007-10-15 13:12:51 +0000 |
commit | f9c327b56545b226387601231f4864997172e0e3 (patch) | |
tree | 10e1f9eaad925e0834d16a91560765b0c2259636 /doc/tex/dundi.tex | |
parent | 9940e48477e60733376232a897217c44858a8fb4 (diff) |
Another major doc directory update from IgorG. This patch includes
- Many uses of the astlisting environment around verbatim text to ensure that
it gets properly formatted and doesn't run off the page.
- Update some things that have been deprecated.
- Add escaping as needed
- and more ...
(closes issue #10978)
Reported by: IgorG
Patches:
texdoc-85542-1.patch uploaded by IgorG (license 20)
git-svn-id: http://svn.digium.com/svn/asterisk/trunk@85547 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'doc/tex/dundi.tex')
-rw-r--r-- | doc/tex/dundi.tex | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/tex/dundi.tex b/doc/tex/dundi.tex index c61ddb051..aa2fbb24c 100644 --- a/doc/tex/dundi.tex +++ b/doc/tex/dundi.tex @@ -27,15 +27,15 @@ For more information visit \url{http://www.dundi.com} The DUNDIQUERY and DUNDIRESULT dialplan functions will let you initiate a DUNDi query from the dialplan, see how many results there are, and access each one. Here is some example usage: - +\begin{astlisting} \begin{verbatim} exten => 1,1,Set(ID=${DUNDIQUERY(1,dundi_test,b)}) exten => 1,n,Set(NUM=${DUNDIRESULT(${ID},getnum)}) exten => 1,n,NoOp(There are ${NUM} results) -exten => 1,n,Set(X=1) +exten => 1,n,Set(X=1) exten => 1,n,While($[${X} <= ${NUM}]) -exten => 1,n,NoOp(Result ${X} is ${DUNDIRESULT(${ID},${X})}) +exten => 1,n,NoOp(Result ${X} is ${DUNDIRESULT(${ID},${X})}) exten => 1,n,Set(X=$[${X} + 1]) exten => 1,n,EndWhile \end{verbatim} - +\end{astlisting} |