]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Several components: fixing Typos in comments and code, "avaliable" instead of "available"
authorRusty Newton <rnewton@digium.com>
Tue, 17 Dec 2013 23:35:07 +0000 (23:35 +0000)
committerRusty Newton <rnewton@digium.com>
Tue, 17 Dec 2013 23:35:07 +0000 (23:35 +0000)
(issue ASTERISK-23021)
(closes issue ASTERISK-23021)
Reported by: Jeremy LainĂ©
Tested by: Rusty Newton
Patches:
   available.patch uploaded by Jeremy LainĂ© (license 6561)

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/11@404045 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_chanspy.c
apps/app_mixmonitor.c
channels/chan_iax2.c
include/asterisk/test.h
main/channel.c
main/rtp_engine.c

index c5adb78adf6e47ad229218c3093ae5b2c423c01a..bf6d33024da264a5c4b427676e7072a647b3d09f 100644 (file)
@@ -363,7 +363,7 @@ enum {
        OPTION_NAME              = (1 << 12),   /* Say the name of the person on whom we will spy */
        OPTION_DTMF_SWITCH_MODES = (1 << 13),   /* Allow numeric DTMF to switch between chanspy modes */
        OPTION_DTMF_EXIT         = (1 << 14),   /* Set DTMF to exit, added for DAHDIScan integration */
-       OPTION_DTMF_CYCLE        = (1 << 15),   /* Custom DTMF for cycling next avaliable channel, (default is '*') */
+       OPTION_DTMF_CYCLE        = (1 << 15),   /* Custom DTMF for cycling next available channel, (default is '*') */
        OPTION_DAHDI_SCAN        = (1 << 16),   /* Scan groups in DAHDIScan mode */
        OPTION_STOP              = (1 << 17),
        OPTION_EXITONHANGUP      = (1 << 18),   /* Hang up when the spied-on channel hangs up. */
index 80c32565a749039bff62a3f967cf09b07afcbe60..6333fd572c8f6467267de0d5466780b7c9bc4117 100644 (file)
@@ -1078,7 +1078,7 @@ static int stop_mixmonitor_full(struct ast_channel *chan, const char *data)
 
        ast_mutex_lock(&mixmonitor_ds->lock);
 
-       /* closing the filestream here guarantees the file is avaliable to the dialplan
+       /* closing the filestream here guarantees the file is available to the dialplan
         * after calling StopMixMonitor */
        mixmonitor_ds_close_fs(mixmonitor_ds);
 
index 7196e21ec957ede076a8166f2153022bc04d5ede..ae800d12da97000a94ece2a5fb50c1ebf32ac35b 100644 (file)
@@ -2808,7 +2808,7 @@ static int create_callno_pools(void)
  * \brief Schedules delayed removal of iax2_pvt call number data
  *
  * \note After MIN_REUSE_TIME has passed for a destroyed iax2_pvt, the callno is
- * avaliable again, and the address from the previous connection must be decremented
+ * available again, and the address from the previous connection must be decremented
  * from the peercnts table.  This function schedules these operations to take place.
  */
 static void sched_delay_remove(struct sockaddr_in *sin, struct callno_entry *callno_entry)
index 27ec3cfa8d6105dd1f3001def8cbe2550449579c..606c332763495a655b1533ca751e42665f07e700 100644 (file)
@@ -45,7 +45,7 @@
 
    Create a callback function for the test using the AST_TEST_DEFINE macro.
 
-   Each defined test has three arguments avaliable to it's test code.
+   Each defined test has three arguments available to it's test code.
        \param struct ast_test_info *info
        \param enum ast_test_command cmd
        \param struct ast_test *test
index e98bbbb046173914d419908f414dc1db2c202355..8ecbc25fe2d721f06a074191c054d629045a87b0 100644 (file)
@@ -5590,7 +5590,7 @@ struct ast_channel *ast_call_forward(struct ast_channel *caller, struct ast_chan
                        ast_cdr_setaccount(new_chan, oh->account);
                        ast_channel_unlock(new_chan);
                }
-       } else if (caller) { /* no outgoing helper so use caller if avaliable */
+       } else if (caller) { /* no outgoing helper so use caller if available */
                call_forward_inherit(new_chan, caller, orig);
        }
 
index f5b96fe8462c0c0e499590bb54f508c656aca7b8..afb860382ecbc50620b5eb4c735db06421a74e8f 100644 (file)
@@ -2183,7 +2183,7 @@ static void add_static_payload(int map, const struct ast_format *format, int rtp
        }
 
        if (map < 0) {
-               ast_log(LOG_WARNING, "No Dynamic RTP mapping avaliable for format %s\n" ,ast_getformatname(format));
+               ast_log(LOG_WARNING, "No Dynamic RTP mapping available for format %s\n" ,ast_getformatname(format));
                ast_rwlock_unlock(&static_RTP_PT_lock);
                return;
        }