mirror of
https://github.com/asterisk/asterisk.git
synced 2025-10-22 20:56:39 +00:00
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: https://origsvn.digium.com/svn/asterisk/trunk@85519 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -29,12 +29,12 @@ a DUNDi query from the dialplan, see how many results there are, and access
|
||||
each one. Here is some example usage:
|
||||
|
||||
\begin{verbatim}
|
||||
exten => 1,1,Set(ID=${DUNDIQUERY(1|dundi_test|b)})
|
||||
exten => 1,n,Set(NUM=${DUNDIRESULT(${ID}|getnum)})
|
||||
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,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}
|
||||
|
Reference in New Issue
Block a user