[asterisk-commits] russell: trunk r72939 - in /trunk: doc/ast_agi_commands.tex res/res_agi.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 2 15:45:54 CDT 2007


Author: russell
Date: Mon Jul  2 15:45:53 2007
New Revision: 72939

URL: http://svn.digium.com/view/asterisk?view=rev&rev=72939
Log:
Fix up the AGI doc dump CLI command and update the AGI commands tex file to not
include a bunch of empty entries.

Modified:
    trunk/doc/ast_agi_commands.tex
    trunk/res/res_agi.c

Modified: trunk/doc/ast_agi_commands.tex
URL: http://svn.digium.com/view/asterisk/trunk/doc/ast_agi_commands.tex?view=diff&rev=72939&r1=72938&r2=72939
==============================================================================
--- trunk/doc/ast_agi_commands.tex (original)
+++ trunk/doc/ast_agi_commands.tex Mon Jul  2 15:45:53 2007
@@ -580,1004 +580,3 @@
 \end{verbatim}
 
 
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-
-\section{}
-\subsection{Summary}
-\begin{verbatim}
-(null)
-\end{verbatim}
-\subsection{Usage}
-\begin{verbatim}
-(null)
-\end{verbatim}
-
-

Modified: trunk/res/res_agi.c
URL: http://svn.digium.com/view/asterisk/trunk/res/res_agi.c?view=diff&rev=72939&r1=72938&r2=72939
==============================================================================
--- trunk/res/res_agi.c (original)
+++ trunk/res/res_agi.c Mon Jul  2 15:45:53 2007
@@ -1710,6 +1710,9 @@
 		char fullcmd[80];
 
 		command = &commands[i];
+		if (!command->cmda[0])
+			break;
+
 		ast_join(fullcmd, sizeof(fullcmd), command->cmda);
 
 		if (command_name && strcasecmp(fullcmd, command_name))




More information about the asterisk-commits mailing list