diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c index 9e087085f15ee854dd8fe3afe4c800e28b23d48e..5dd0cadc81e2e05a9a29f257fc49f4e33dc55a60 100644 --- a/addons/chan_ooh323.c +++ b/addons/chan_ooh323.c @@ -1967,7 +1967,7 @@ int reload_config(int reload) ast_config_destroy(cfg); - /* Determine ip address if neccessary */ + /* Determine ip address if necessary */ if (ast_strlen_zero(gIP)) { ooGetLocalIPAddress(gIP); if (!strcmp(gIP, "127.0.0.1")) { diff --git a/addons/ooh323c/src/ooGkClient.h b/addons/ooh323c/src/ooGkClient.h index fa52f3e9283aee7386f65da3696159601eee7065..662dae18db8f9e61c445cbf3dfd74091eb103572 100644 --- a/addons/ooh323c/src/ooGkClient.h +++ b/addons/ooh323c/src/ooGkClient.h @@ -411,7 +411,7 @@ EXTERN int ooGkClientHandleUnregistrationRequest /** - * This function is used to send an unregistration confirm messsage to + * This function is used to send an unregistration confirm message to * gatekeeper. * @param pGkClient Handle to gatekeeper client. * @param reqNo Request Sequence number for the confirm message. diff --git a/apps/app_forkcdr.c b/apps/app_forkcdr.c index 66ba9d40fbec097f1573f043f37c838e40524fb7..4bacbef78c2b16f0b615b3ba806d6c6e67f4faf5 100644 --- a/apps/app_forkcdr.c +++ b/apps/app_forkcdr.c @@ -64,7 +64,7 @@ ASTERISK_FILE_VERSION(__FILE__, "$Revision$") reset.</para> </option> <option name="e"> - <para>End the original CDR. Do this after all the neccessry data is copied + <para>End the original CDR. Do this after all the necessary data is copied from the original CDR to the new forked CDR.</para> </option> <option name="r"> diff --git a/apps/app_sms.c b/apps/app_sms.c index 78af84926476327aa479cd7824b6b24e62b12020..67b5c012aa59658d5eee5b768511a0654bb5e95e 100644 --- a/apps/app_sms.c +++ b/apps/app_sms.c @@ -1779,7 +1779,7 @@ static void sms_process(sms_t * h, int samples, signed short *data) h->iphasep = 0; } if (bit && h->ibitc == 200) { /* sync, restart message */ - /* Protocol 2: empty connnection ready (I am master) */ + /* Protocol 2: empty connection ready (I am master) */ if (h->framenumber < 0 && h->ibytec >= 160 && !memcmp(h->imsg, "UUUUUUUUUUUUUUUUUUUU", 20)) { h->framenumber = 1; ast_verb(3, "SMS protocol 2 detected\n"); diff --git a/channels/chan_console.c b/channels/chan_console.c index 836895ac0bc8667f03142f42411927f98de02b9c..4be7f92aa9417c7cd59d4df06ecad864b10925cd 100644 --- a/channels/chan_console.c +++ b/channels/chan_console.c @@ -1372,7 +1372,7 @@ static void destroy_pvts(void) /*! * \brief Load the configuration * \param reload if this was called due to a reload - * \retval 0 succcess + * \retval 0 success * \retval -1 failure */ static int load_config(int reload) diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c index e3ec010e811b71a4611d7e21c017de6ff711d6be..9bc91024c6e26307b700955f4e899574a3dadc5f 100644 --- a/channels/chan_dahdi.c +++ b/channels/chan_dahdi.c @@ -1041,7 +1041,7 @@ static struct dahdi_pvt { */ char mohinterpret[MAX_MUSICCLASS]; /*! - * \brief Sugggested music-on-hold class for peer channel to use for calls. + * \brief Suggested music-on-hold class for peer channel to use for calls. * \note The "mohsuggest" string read in from chan_dahdi.conf */ char mohsuggest[MAX_MUSICCLASS]; @@ -1609,7 +1609,7 @@ static int my_get_callerid(void *pvt, char *namebuf, char *numbuf, enum analog_e /*** NOTES ***/ /* Change API: remove cid_signalling from get_callerid, add a new start_cid_detect and stop_cid_detect function * to enable slin mode and allocate cid detector. get_callerid should be able to be called any number of times until - * either a timeout occurss or CID is detected (returns 0). returning 1 should be event received, and -1 should be + * either a timeout occurs or CID is detected (returns 0). returning 1 should be event received, and -1 should be * a failure and die, and returning 2 means no event was received. */ res = read(p->subs[index].dfd, buf, sizeof(buf)); if (res < 0) { @@ -7092,7 +7092,7 @@ winkflashdone: p->dop.dialstr[0] = '\0'; break; default: - ast_log(LOG_WARNING, "Don't know how to handle ring/off hoook for signalling %d\n", p->sig); + ast_log(LOG_WARNING, "Don't know how to handle ring/off hook for signalling %d\n", p->sig); } break; case DAHDI_EVENT_HOOKCOMPLETE: diff --git a/channels/sig_pri.h b/channels/sig_pri.h index 7cb38884bf91953c318aa69f445dc9150706278e..e3ef06dc16911f6fdfbc4ca8776daa812f584e02 100644 --- a/channels/sig_pri.h +++ b/channels/sig_pri.h @@ -132,7 +132,7 @@ struct sig_pri_chan { char rdnis[AST_MAX_EXTENSION]; char dnid[AST_MAX_EXTENSION]; char exten[AST_MAX_EXTENSION]; - int callingpres; /*!< The value of callling presentation that we're going to use when placing a PRI call */ + int callingpres; /*!< The value of calling presentation that we're going to use when placing a PRI call */ char lastcid_num[AST_MAX_EXTENSION]; char lastcid_name[AST_MAX_EXTENSION]; diff --git a/codecs/lpc10/pitsyn.c b/codecs/lpc10/pitsyn.c index ea8177e223d8d5ea92f9e22776685172136525a2..36f6f2a7afe016f61cac30febec8c511e41c40ed 100644 --- a/codecs/lpc10/pitsyn.c +++ b/codecs/lpc10/pitsyn.c @@ -73,7 +73,7 @@ extern int pitsyn_(integer *order, integer *voice, integer *pitch, real *rms, re * Initial revision * */ /* Revision 1.2 1996/03/25 18:49:07 jaf */ -/* Added commments about which indices of array arguments are read or */ +/* Added comments about which indices of array arguments are read or */ /* written. */ /* Rearranged local variable declarations to indicate which need to be */ diff --git a/contrib/init.d/rc.debian.asterisk b/contrib/init.d/rc.debian.asterisk index 74cdeffe0f8c5cbfecb14fdcfd92a3bc4b4d5fa8..889bd1eaabb278456138aa87c6410a536bbea58b 100755 --- a/contrib/init.d/rc.debian.asterisk +++ b/contrib/init.d/rc.debian.asterisk @@ -4,7 +4,7 @@ # Mon Jun 04 2007 Iñaki Baz Castillo <ibc@in.ilimit.es> # - Eliminated SAFE_ASTERISK since it doesn't work as LSB script (it could require a independent "safe_asterisk" init script). # - Load and use the standar "/lib/lsb/init-functions". -# - Addded "--oknodo" to "start-stop-daemon" for compatibility with LSB: +# - Added "--oknodo" to "start-stop-daemon" for compatibility with LSB: # http://www.linux-foundation.org/spec/refspecs/LSB_3.0.0/LSB-Core-generic/LSB-Core-generic/iniscrptact.html # # Thu Nov 17 2005 Gregory Boehnlein <damin@nacs.net> diff --git a/funcs/func_math.c b/funcs/func_math.c index bd44be806a5c6086f9d78104438ee48502337ff7..cac3512ab5accb1b73bcceeb539e50ef877d53ad 100644 --- a/funcs/func_math.c +++ b/funcs/func_math.c @@ -392,7 +392,7 @@ static int crement_function_read(struct ast_channel *chan, const char *cmd, } if (ast_strlen_zero(var)) { - ast_log(LOG_NOTICE, "Variable %s doesn't exist - are you sure you wrote it corrrectly?\n", data); + ast_log(LOG_NOTICE, "Variable %s doesn't exist - are you sure you wrote it correctly?\n", data); ast_channel_unlock(chan); return -1; } diff --git a/include/asterisk/abstract_jb.h b/include/asterisk/abstract_jb.h index 1e9508b71cceaa552a79a7d55b9f2ffbb712f620..804cbe8a969fe7af6032935201c8d3ef020c72a5 100644 --- a/include/asterisk/abstract_jb.h +++ b/include/asterisk/abstract_jb.h @@ -183,8 +183,8 @@ void ast_jb_destroy(struct ast_channel *chan); * \param varname property name. * \param value property value. * - * Called from a channel driver to build a jitterbuffer configuration tipically when - * reading a configuration file. It is not neccessary for a channel driver to know + * Called from a channel driver to build a jitterbuffer configuration typically when + * reading a configuration file. It is not necessary for a channel driver to know * each of the jb configuration property names. The jitterbuffer itself knows them. * The channel driver can pass each config var it reads through this function. It will * return 0 if the variable was consumed from the jb conf.