diff options
author | Russell Bryant <russell@russellbryant.com> | 2007-10-15 13:12:51 +0000 |
---|---|---|
committer | Russell Bryant <russell@russellbryant.com> | 2007-10-15 13:12:51 +0000 |
commit | 4765cf4553924050a3c0bfa581efaba8ffc50c55 (patch) | |
tree | 10e1f9eaad925e0834d16a91560765b0c2259636 /doc/tex/dundi.tex | |
parent | 27031927cf43efe9922557c011d282a0486d40aa (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: https://origsvn.digium.com/svn/asterisk/trunk@85547 65c4cc65-6c06-0410-ace0-fbb531ad65f3
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} |