From 6f314f4d4241c96cf893fdf086ba4bb6bd19d9be Mon Sep 17 00:00:00 2001 From: Russell Bryant <russell@russellbryant.com> Date: Sun, 2 Nov 2008 02:50:33 +0000 Subject: [PATCH] Fix various spelling and grammatical issues in documentation git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@153468 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_chanspy.c | 2 +- apps/app_dahdiras.c | 2 +- apps/app_dial.c | 2 +- apps/app_exec.c | 4 ++-- apps/app_page.c | 2 +- apps/app_playback.c | 2 +- apps/app_record.c | 2 +- apps/app_userevent.c | 2 +- funcs/func_env.c | 2 +- funcs/func_math.c | 2 +- funcs/func_speex.c | 6 +++--- funcs/func_strings.c | 2 +- 12 files changed, 15 insertions(+), 15 deletions(-) diff --git a/apps/app_chanspy.c b/apps/app_chanspy.c index 92a4305462..86ad9e7376 100644 --- a/apps/app_chanspy.c +++ b/apps/app_chanspy.c @@ -157,7 +157,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") <para> - Dialing <literal>*</literal> will stop spying and look for another channel to spy on.</para> <para> - Dialing a series of digits followed by <literal>#</literal> builds a channel name to append to 'chanprefix'. For example, executing ChanSpy(Agent) and then dialing the digits '1234#' - while spying will begin spying on the channel 'Agent/1234'. Note that this feature will be overriden if the 'd' option + while spying will begin spying on the channel 'Agent/1234'. Note that this feature will be overridden if the 'd' option is used</para> <note><para>The <replaceable>X</replaceable> option supersedes the three features above in that if a valid single digit extension exists in the correct context ChanSpy will exit to it. diff --git a/apps/app_dahdiras.c b/apps/app_dahdiras.c index 879868ea53..a69d092f55 100644 --- a/apps/app_dahdiras.c +++ b/apps/app_dahdiras.c @@ -60,7 +60,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") <syntax> <parameter name="args" required="true"> <para>A list of parameters to pass to the pppd daemon, - separeted by <literal>,</literal> characters.</para> + separated by <literal>,</literal> characters.</para> </parameter> </syntax> <description> diff --git a/apps/app_dial.c b/apps/app_dial.c index 089523ef41..b918f23a50 100644 --- a/apps/app_dial.c +++ b/apps/app_dial.c @@ -425,7 +425,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") <para>Filename of sound that will be played when no channel can be reached</para> </parameter> <parameter name="sleep" required="true"> - <para>Number of seconds to wait after a dialattempt failed before a new attempt is made</para> + <para>Number of seconds to wait after a dial attempt failed before a new attempt is made</para> </parameter> <parameter name="retries" required="true"> <para>Number of retries</para> diff --git a/apps/app_exec.c b/apps/app_exec.c index b4a66962e6..3b831ba6c5 100644 --- a/apps/app_exec.c +++ b/apps/app_exec.c @@ -49,7 +49,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") </syntax> <description> <para>Allows an arbitrary application to be invoked even when not - hardcoded into the dialplan. If the underlying application + hard coded into the dialplan. If the underlying application terminates the dialplan, or if the application cannot be found, Exec will terminate the dialplan.</para> <para>To invoke external applications, see the application System. @@ -67,7 +67,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") </syntax> <description> <para>Allows an arbitrary application to be invoked even when not - hardcoded into the dialplan. To invoke external applications + hard coded into the dialplan. To invoke external applications see the application System. Always returns to the dialplan. The channel variable TRYSTATUS will be set to one of: </para> diff --git a/apps/app_page.c b/apps/app_page.c index 7aacbd9d66..69c0b61efa 100644 --- a/apps/app_page.c +++ b/apps/app_page.c @@ -75,7 +75,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") <para>Record the page into a file (meetme option <literal>r</literal>)</para> </option> <option name="s"> - <para>Only dial channel if devicestate says its <literal>notinuse</literal></para> + <para>Only dial a channel if ts device state says that it is <literal>NOT_INUSE</literal></para> </option> </optionlist> </parameter> diff --git a/apps/app_playback.c b/apps/app_playback.c index 63dd308579..5981fc52c7 100644 --- a/apps/app_playback.c +++ b/apps/app_playback.c @@ -75,7 +75,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") <value name="FAILED"/> </variable> </variablelist> - <para>See Also: Background (application) -- for playing soundfiles that are interruptible</para> + <para>See Also: Background (application) -- for playing sound files that are interruptible</para> <para>WaitExten (application) -- wait for digits from caller, optionally play music on hold</para> </description> </application> diff --git a/apps/app_record.c b/apps/app_record.c index a575efdbe1..042a8baa9f 100644 --- a/apps/app_record.c +++ b/apps/app_record.c @@ -83,7 +83,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") incremented by one each time the file is recorded. Use <astcli>core show file formats</astcli> to see the available formats on your system User can press <literal>#</literal> to terminate the recording and continue to the next priority. - If the user hangup during a recording, all data will be lost and the application will teminate.</para> + If the user hangup during a recording, all data will be lost and the application will terminate.</para> <variablelist> <variable name="RECORDED_FILE"> <para>Will be set to the final filename of the recording.</para> diff --git a/apps/app_userevent.c b/apps/app_userevent.c index 6d6354af6a..264a40ceb9 100644 --- a/apps/app_userevent.c +++ b/apps/app_userevent.c @@ -43,7 +43,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") <para>Sends an arbitrary event to the manager interface, with an optional <replaceable>body</replaceable> representing additional arguments. The <replaceable>body</replaceable> may be specified as - a <literal>|</literal> delimeted list of headers. Each additional + a <literal>|</literal> delimited list of headers. Each additional argument will be placed on a new line in the event. The format of the event will be:</para> <para> Event: UserEvent</para> diff --git a/funcs/func_env.c b/funcs/func_env.c index 401dc28e37..c56c50d714 100644 --- a/funcs/func_env.c +++ b/funcs/func_env.c @@ -40,7 +40,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") </synopsis> <syntax> <parameter name="varname" required="true"> - <para>Enviroment variable name</para> + <para>Environment variable name</para> </parameter> </syntax> <description> diff --git a/funcs/func_math.c b/funcs/func_math.c index 627cf860a5..3d737ef5f6 100644 --- a/funcs/func_math.c +++ b/funcs/func_math.c @@ -61,7 +61,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") </parameter> </syntax> <description> - <para>Performs mathematicas functions based on two parameters and a operator, the returned + <para>Performs mathematical functions based on two parameters and an operator. The returned value type is <replaceable>type</replaceable></para> <para>Example: Set(i=${MATH(123%16,int)}) - sets var i=11</para> </description> diff --git a/funcs/func_speex.c b/funcs/func_speex.c index 6858cf7a30..a3a5345ed9 100644 --- a/funcs/func_speex.c +++ b/funcs/func_speex.c @@ -60,12 +60,12 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") </syntax> <description> <para>The AGC function will apply automatic gain control to the audio on the - channel that it is executed on. Using <literal>rx</literal> for audio recieved + channel that it is executed on. Using <literal>rx</literal> for audio received and <literal>tx</literal> for audio transmitted to the channel. When using this - function you set a target audio level. It is primarly intended for use with + function you set a target audio level. It is primarily intended for use with analog lines, but could be useful for other channels as well. The target volume is set with a number between <literal>1-32768</literal>. The larger the number - the louder (more gain) the channel will recieve.</para> + the louder (more gain) the channel will receive.</para> <para>Examples:</para> <para>exten => 1,1,Set(AGC(rx)=8000)</para> <para>exten => 1,2,Set(AGC(tx)=off)</para> diff --git a/funcs/func_strings.c b/funcs/func_strings.c index c456385648..651fcede25 100644 --- a/funcs/func_strings.c +++ b/funcs/func_strings.c @@ -149,7 +149,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") <description> <para>The comma-delimited list passed as a value to which the function is set will be interpreted as a set of values to which the comma-delimited list of - variable names in the arguement should be set.</para> + variable names in the argument should be set.</para> <para>Example: Set(ARRAY(var1,var2)=1,2) will set var1 to 1 and var2 to 2</para> </description> </function> -- GitLab