[asterisk-commits] tilghman: branch 1.4 r58946 - in /branches/1.4: doc/ast_appdocs.tex main/pbx.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Thu Mar 15 16:52:49 MST 2007


Author: tilghman
Date: Thu Mar 15 18:52:48 2007
New Revision: 58946

URL: http://svn.digium.com/view/asterisk?view=rev&rev=58946
Log:
Refashion dump command to match common syntax and update the resulting appdocs TeX file

Modified:
    branches/1.4/doc/ast_appdocs.tex
    branches/1.4/main/pbx.c

Modified: branches/1.4/doc/ast_appdocs.tex
URL: http://svn.digium.com/view/asterisk/branches/1.4/doc/ast_appdocs.tex?view=diff&rev=58946&r1=58945&r2=58946
==============================================================================
--- branches/1.4/doc/ast_appdocs.tex (original)
+++ branches/1.4/doc/ast_appdocs.tex Thu Mar 15 18:52:48 2007
@@ -223,6 +223,8 @@
        CDR records can be used for billing or storing other arbitrary data
        (I.E. telephone survey responses)
        Also see SetCDRUserField().
+
+This application is deprecated in favor of Set(CDR(userfield)=...)
 
 \end{verbatim}
 
@@ -1170,6 +1172,8 @@
 	HASVMSTATUS		The result of the new voicemail check returned as a text string as follows
 		<# of messages in the folder, 0 for NONE>
 
+This application has been deprecated in favor of the VMCOUNT() function
+
 \end{verbatim}
 
 
@@ -1188,6 +1192,8 @@
 	HASVMSTATUS		The result of the voicemail check returned as a text string as follows
 		<# of messages in the folder, 0 for NONE>
 
+This application has been deprecated in favor of the VMCOUNT() function
+
 \end{verbatim}
 
 
@@ -1233,6 +1239,19 @@
 properties as those created with the Set application. See the documentation for
 Set for more information.
 
+\end{verbatim}
+
+
+\section{IVRDemo}
+\subsection{Synopsis}
+\begin{verbatim}
+IVR Demo Application
+\end{verbatim}
+\subsection{Description}
+\begin{verbatim}
+  This is a skeleton application that shows you the basic structure to create your
+own asterisk applications and demonstrates the IVR demo.
+ 
 \end{verbatim}
 
 
@@ -2182,6 +2201,50 @@
 \end{verbatim}
 
 
+\section{Rpt}
+\subsection{Synopsis}
+\begin{verbatim}
+Radio Repeater/Remote Base Control System
+\end{verbatim}
+\subsection{Description}
+\begin{verbatim}
+  Rpt(nodename[|options]):  Radio Remote Link or Remote Base Link Endpoint Process.
+
+    Not specifying an option puts it in normal endpoint mode (where source
+    IP and nodename are verified).
+
+    Options are as follows:
+
+        X - Normal endpoint mode WITHOUT security check. Only specify
+            this if you have checked security already (like with an IAX2
+            user/password or something).
+
+        Rannounce-string[|timeout[|timeout-destination]] - Amateur Radio
+            Reverse Autopatch. Caller is put on hold, and announcement (as
+            specified by the 'announce-string') is played on radio system.
+            Users of radio system can access autopatch, dial specified
+            code, and pick up call. Announce-string is list of names of
+            recordings, or "PARKED" to substitute code for un-parking,
+            or "NODE" to substitute node number.
+
+        P - Phone Control mode. This allows a regular phone user to have
+            full control and audio access to the radio system. For the
+            user to have DTMF control, the 'phone_functions' parameter
+            must be specified for the node in 'rpt.conf'. An additional
+            function (cop,6) must be listed so that PTT control is available.
+
+        D - Dumb Phone Control mode. This allows a regular phone user to
+            have full control and audio access to the radio system. In this
+            mode, the PTT is activated for the entire length of the call.
+            For the user to have DTMF control (not generally recomended in
+            this mode), the 'dphone_functions' parameter must be specified
+            for the node in 'rpt.conf'. Otherwise no DTMF control will be
+            available to the phone user.
+
+
+\end{verbatim}
+
+
 \section{SayAlpha}
 \subsection{Synopsis}
 \begin{verbatim}
@@ -2359,6 +2422,10 @@
     g - Set variable globally instead of on the channel
         (applies only to variables, not functions)
 
+The use of Set to set multiple variables at once and the g flag have both
+been deprecated.  Please use multiple Set calls and the GLOBAL() dialplan
+function instead.
+
 \end{verbatim}
 
 
@@ -2384,6 +2451,8 @@
 \begin{verbatim}
   SetCallerID(clid[|a]): Set Caller*ID on a call to a new
 value.  Sets ANI as well if a flag is used. 
+
+This application has been deprecated in favor of Set(CALLERID(all)=...)
 
 \end{verbatim}
 
@@ -2430,6 +2499,8 @@
        (I.E. telephone survey responses)
        Also see AppendCDRUserField().
 
+This application has been deprecated in favor of Set(CDR(userfield)=...)
+
 \end{verbatim}
 
 
@@ -2442,6 +2513,8 @@
 \begin{verbatim}
   SetGlobalVar(variable=value): This application sets a given global variable to
 the specified value.
+
+This application has been deprecated in favor of Set(GLOBAL(var)=value)
 
 \end{verbatim}
 
@@ -2478,6 +2551,7 @@
   DIGITAL_W_TONES    : 0x11 - Unrestricted digital information with tones/announcements
   VIDEO              : 0x18 - Video
 
+This application has been deprecated in favor of Set(CHANNEL(transfercapability)=...)
 
 \end{verbatim}
 
@@ -3223,3 +3297,16 @@
 \end{verbatim}
 
 
+\section{ZapSendKeypadFacility}
+\subsection{Synopsis}
+\begin{verbatim}
+Send digits out of band over a PRI
+\end{verbatim}
+\subsection{Description}
+\begin{verbatim}
+  ZapSendKeypadFacility(): This application will send the given string of digits in a Keypad Facility
+  IE over the current channel.
+
+\end{verbatim}
+
+

Modified: branches/1.4/main/pbx.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/main/pbx.c?view=diff&rev=58946&r1=58945&r2=58946
==============================================================================
--- branches/1.4/main/pbx.c (original)
+++ branches/1.4/main/pbx.c Thu Mar 15 18:52:48 2007
@@ -3208,8 +3208,8 @@
 
 #ifdef AST_DEVMODE
 static char core_dumpappdocs_help[] =
-"Usage: core dumpappdocs [application]\n"
-"       Dump Application documentation to \\tmp\\ast_appdocs.tex.\n";
+"Usage: core dump appdocs [application]\n"
+"       Dump Application documentation to /tmp/ast_appdocs.tex.\n";
 
 static int handle_core_dumpappdocs(int fd, int argc, char *argv[])
 {
@@ -3843,8 +3843,8 @@
 	show_application_help, complete_show_application, &cli_show_application_deprecated },
 
 #ifdef AST_DEVMODE
-	{ { "core", "dumpappdocs", NULL },
-	handle_core_dumpappdocs, "Dump App docs in LaTeX format",
+	{ { "core", "dump", "appdocs", NULL },
+	handle_core_dumpappdocs, "Dump application documentation in LaTeX format",
 	core_dumpappdocs_help, NULL },
 #endif
 



More information about the asterisk-commits mailing list