summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--addons/chan_mobile.c46
-rw-r--r--apps/app_rpt.c2
-rw-r--r--channels/chan_dahdi.c6
-rw-r--r--channels/chan_vpb.cc2
-rw-r--r--include/asterisk/module.h2
-rw-r--r--main/features.c2
-rw-r--r--main/loader.c2
-rw-r--r--pbx/pbx_dundi.c2
-rw-r--r--res/res_jabber.c4
-rw-r--r--res/res_smdi.c6
10 files changed, 37 insertions, 37 deletions
diff --git a/addons/chan_mobile.c b/addons/chan_mobile.c
index 20c30f06a..f74bb09cb 100644
--- a/addons/chan_mobile.c
+++ b/addons/chan_mobile.c
@@ -146,7 +146,7 @@ struct mbl_pvt {
unsigned int needcallerid:1; /*!< we need callerid */
unsigned int needchup:1; /*!< we need to send a chup */
unsigned int needring:1; /*!< we need to send a RING */
- unsigned int answered:1; /*!< we sent/recieved an answer */
+ unsigned int answered:1; /*!< we sent/received an answer */
unsigned int connected:1; /*!< do we have an rfcomm connection to a device */
AST_LIST_ENTRY(mbl_pvt) entry;
@@ -2571,7 +2571,7 @@ static int hsp_send_ring(int rsock)
/*!
* \brief Add an item to the back of the queue.
* \param pvt a mbl_pvt structure
- * \param expect the msg we expect to recieve
+ * \param expect the msg we expect to receive
* \param response_to the message that was sent to generate the expected
* response
*/
@@ -2591,7 +2591,7 @@ static int msg_queue_push(struct mbl_pvt *pvt, at_message_t expect, at_message_t
/*!
* \brief Add an item to the back of the queue with data.
* \param pvt a mbl_pvt structure
- * \param expect the msg we expect to recieve
+ * \param expect the msg we expect to receive
* \param response_to the message that was sent to generate the expected
* response
* \param data data associated with this message, it will be freed when the
@@ -2803,9 +2803,9 @@ static int handle_response_brsf(struct mbl_pvt *pvt, char *buf)
msg_queue_free_and_pop(pvt);
} else if (entry) {
- ast_debug(1, "[%s] recieved unexpected AT message 'BRSF' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
+ ast_debug(1, "[%s] received unexpected AT message 'BRSF' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
} else {
- ast_debug(1, "[%s] recieved unexpected AT message 'BRSF'\n", pvt->id);
+ ast_debug(1, "[%s] received unexpected AT message 'BRSF'\n", pvt->id);
}
return 0;
@@ -2845,9 +2845,9 @@ static int handle_response_cind(struct mbl_pvt *pvt, char *buf)
}
msg_queue_free_and_pop(pvt);
} else if (entry) {
- ast_debug(1, "[%s] recieved unexpected AT message 'CIND' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
+ ast_debug(1, "[%s] received unexpected AT message 'CIND' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
} else {
- ast_debug(1, "[%s] recieved unexpected AT message 'CIND'\n", pvt->id);
+ ast_debug(1, "[%s] received unexpected AT message 'CIND'\n", pvt->id);
}
return 0;
@@ -2870,7 +2870,7 @@ static int handle_response_ok(struct mbl_pvt *pvt, char *buf)
if ((entry = msg_queue_head(pvt)) && entry->expected == AT_OK) {
switch (entry->response_to) {
- /* initilization stuff */
+ /* initialization stuff */
case AT_BRSF:
ast_debug(1, "[%s] BSRF sent successfully\n", pvt->id);
@@ -2972,7 +2972,7 @@ static int handle_response_ok(struct mbl_pvt *pvt, char *buf)
ast_debug(1, "[%s] sms new message indication enabled\n", pvt->id);
pvt->has_sms = 1;
break;
- /* end initilization stuff */
+ /* end initialization stuff */
case AT_A:
ast_debug(1, "[%s] answer sent successfully\n", pvt->id);
@@ -3000,14 +3000,14 @@ static int handle_response_ok(struct mbl_pvt *pvt, char *buf)
break;
case AT_UNKNOWN:
default:
- ast_debug(1, "[%s] recieved OK for unhandled request: %s\n", pvt->id, at_msg2str(entry->response_to));
+ ast_debug(1, "[%s] received OK for unhandled request: %s\n", pvt->id, at_msg2str(entry->response_to));
break;
}
msg_queue_free_and_pop(pvt);
} else if (entry) {
- ast_debug(1, "[%s] recieved AT message 'OK' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
+ ast_debug(1, "[%s] received AT message 'OK' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
} else {
- ast_debug(1, "[%s] recieved unexpected AT message 'OK'\n", pvt->id);
+ ast_debug(1, "[%s] received unexpected AT message 'OK'\n", pvt->id);
}
return 0;
@@ -3034,7 +3034,7 @@ static int handle_response_error(struct mbl_pvt *pvt, char *buf)
|| entry->expected == AT_SMS_PROMPT)) {
switch (entry->response_to) {
- /* initilization stuff */
+ /* initialization stuff */
case AT_BRSF:
ast_debug(1, "[%s] error reading BSRF\n", pvt->id);
goto e_return;
@@ -3053,7 +3053,7 @@ static int handle_response_error(struct mbl_pvt *pvt, char *buf)
case AT_VGS:
ast_debug(1, "[%s] volume level synchronization failed\n", pvt->id);
- /* this is not a fatal error, let's continue with initilization */
+ /* this is not a fatal error, let's continue with initialization */
/* set the SMS operating mode to text mode */
if (hfp_send_cmgf(pvt->hfp, 1) || msg_queue_push(pvt, AT_OK, AT_CMGF)) {
@@ -3069,7 +3069,7 @@ static int handle_response_error(struct mbl_pvt *pvt, char *buf)
ast_debug(1, "[%s] error setting CNMI\n", pvt->id);
ast_debug(1, "[%s] no SMS support\n", pvt->id);
break;
- /* end initilization stuff */
+ /* end initialization stuff */
case AT_A:
ast_debug(1, "[%s] answer failed\n", pvt->id);
@@ -3096,14 +3096,14 @@ static int handle_response_error(struct mbl_pvt *pvt, char *buf)
break;
case AT_UNKNOWN:
default:
- ast_debug(1, "[%s] recieved ERROR for unhandled request: %s\n", pvt->id, at_msg2str(entry->response_to));
+ ast_debug(1, "[%s] received ERROR for unhandled request: %s\n", pvt->id, at_msg2str(entry->response_to));
break;
}
msg_queue_free_and_pop(pvt);
} else if (entry) {
- ast_debug(1, "[%s] recieved AT message 'ERROR' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
+ ast_debug(1, "[%s] received AT message 'ERROR' when expecting %s, ignoring\n", pvt->id, at_msg2str(entry->expected));
} else {
- ast_debug(1, "[%s] recieved unexpected AT message 'ERROR'\n", pvt->id);
+ ast_debug(1, "[%s] received unexpected AT message 'ERROR'\n", pvt->id);
}
return 0;
@@ -3371,13 +3371,13 @@ static void *do_monitor_phone(void *data)
at_message_t at_msg;
struct msg_queue_entry *entry;
- /* Note: At one point the initilization procedure was neatly contained
- * in the hfp_init() function, but that initilization method did not
- * work with non standard devices. As a result, the initilization
+ /* Note: At one point the initialization procedure was neatly contained
+ * in the hfp_init() function, but that initialization method did not
+ * work with non standard devices. As a result, the initialization
* procedure is not spread throughout the event handling loop.
*/
- /* start initilization with the BRSF request */
+ /* start initialization with the BRSF request */
ast_mutex_lock(&pvt->lock);
pvt->timeout = 10000;
if (hfp_send_brsf(hfp, &hfp_our_brsf) || msg_queue_push(pvt, AT_BRSF, AT_BRSF)) {
@@ -3758,7 +3758,7 @@ static void *do_discovery(void *data)
pvt->connected = 1;
adapter->inuse = 1;
manager_event(EVENT_FLAG_SYSTEM, "MobileStatus", "Status: Connect\r\nDevice: %s\r\n", pvt->id);
- ast_verb(3, "Bluetooth Device %s has connected, initilizing...\n", pvt->id);
+ ast_verb(3, "Bluetooth Device %s has connected, initializing...\n", pvt->id);
}
}
}
diff --git a/apps/app_rpt.c b/apps/app_rpt.c
index 7eb6d0da2..0aa20e000 100644
--- a/apps/app_rpt.c
+++ b/apps/app_rpt.c
@@ -6712,7 +6712,7 @@ struct ast_frame wf;
strcpy(mylink->linklist,tmp + 2);
time(&mylink->linklistreceived);
rpt_mutex_unlock(&myrpt->lock);
- if (debug > 6) ast_log(LOG_NOTICE,"@@@@ node %s recieved node list %s from node %s\n",
+ if (debug > 6) ast_log(LOG_NOTICE,"@@@@ node %s received node list %s from node %s\n",
myrpt->name,tmp,mylink->name);
return;
}
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index 2eb86ba47..e3ec010e8 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -6422,13 +6422,13 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast)
case DAHDI_EVENT_BITSCHANGED:
#ifdef HAVE_OPENR2
if (p->sig != SIG_MFCR2) {
- ast_log(LOG_WARNING, "Recieved bits changed on %s signalling?\n", sig2str(p->sig));
+ ast_log(LOG_WARNING, "Received bits changed on %s signalling?\n", sig2str(p->sig));
} else {
ast_log(LOG_DEBUG, "bits changed in chan %d\n", p->channel);
openr2_chan_handle_cas(p->r2chan);
}
#else
- ast_log(LOG_WARNING, "Recieved bits changed on %s signalling?\n", sig2str(p->sig));
+ ast_log(LOG_WARNING, "Received bits changed on %s signalling?\n", sig2str(p->sig));
#endif
case DAHDI_EVENT_PULSE_START:
/* Stop tone if there's a pulse start and the PBX isn't started */
@@ -8751,7 +8751,7 @@ static void *analog_ss_thread(void *data)
else if (smdi_msg->type == 'N')
pbx_builtin_setvar_helper(chan, "_SMDI_VM_TYPE", "u");
- ast_debug(1, "Recieved SMDI message on %s\n", chan->name);
+ ast_debug(1, "Received SMDI message on %s\n", chan->name);
} else {
ast_log(LOG_WARNING, "SMDI enabled but no SMDI message present\n");
}
diff --git a/channels/chan_vpb.cc b/channels/chan_vpb.cc
index fa82437c0..c9875008c 100644
--- a/channels/chan_vpb.cc
+++ b/channels/chan_vpb.cc
@@ -1509,7 +1509,7 @@ static struct vpb_pvt *mkif(int board, int channel, int mode, int gains, float t
tmp->callgroup = callgroup;
tmp->pickupgroup = pickupgroup;
- /* Initilize dtmf caller ID position variable */
+ /* Initialize dtmf caller ID position variable */
tmp->dtmf_caller_pos = 0;
ast_copy_string(tmp->language, language, sizeof(tmp->language));
diff --git a/include/asterisk/module.h b/include/asterisk/module.h
index 48911c8c2..0beed8d2c 100644
--- a/include/asterisk/module.h
+++ b/include/asterisk/module.h
@@ -70,7 +70,7 @@ enum ast_module_load_result {
* \param resource_name The name of the module to load.
*
* This function is run by the PBX to load the modules. It performs
- * all loading and initilization tasks. Basically, to load a module, just
+ * all loading and initialization tasks. Basically, to load a module, just
* give it the name of the module and it will do the rest.
*
* \return See possible enum values for ast_module_load_result.
diff --git a/main/features.c b/main/features.c
index b09543f66..457e6c948 100644
--- a/main/features.c
+++ b/main/features.c
@@ -1363,7 +1363,7 @@ static int builtin_blindtransfer(struct ast_channel *chan, struct ast_channel *p
if (!transferer->cdr) { /* this code should never get called (in a perfect world) */
transferer->cdr=ast_cdr_alloc();
if (transferer->cdr) {
- ast_cdr_init(transferer->cdr, transferer); /* initilize our channel's cdr */
+ ast_cdr_init(transferer->cdr, transferer); /* initialize our channel's cdr */
ast_cdr_start(transferer->cdr);
}
}
diff --git a/main/loader.c b/main/loader.c
index 451d33194..c216a9462 100644
--- a/main/loader.c
+++ b/main/loader.c
@@ -756,7 +756,7 @@ static enum ast_module_load_result start_resource(struct ast_module *mod)
*
* If the ast_heap is provided (not NULL) the module is found and added to the
* heap without running the module's load() function. By doing this, modules
- * added to the resource_heap can be initilized later in order by priority.
+ * added to the resource_heap can be initialized later in order by priority.
*
* If the ast_heap is not provided, the module's load function will be executed
* immediately */
diff --git a/pbx/pbx_dundi.c b/pbx/pbx_dundi.c
index 2392741af..ce0f02c59 100644
--- a/pbx/pbx_dundi.c
+++ b/pbx/pbx_dundi.c
@@ -1885,7 +1885,7 @@ static int handle_command_response(struct dundi_transaction *trans, struct dundi
break;
default:
/* Send unknown command if we don't know it, with final flag IFF it's the
- first command in the dialog and only if we haven't recieved final notification */
+ first command in the dialog and only if we haven't received final notification */
if (!final) {
dundi_ie_append_byte(ied, DUNDI_IE_UNKNOWN, cmd);
dundi_send(trans, DUNDI_COMMAND_UNKNOWN, 0, !hdr->oseqno, ied);
diff --git a/res/res_jabber.c b/res/res_jabber.c
index e7feb37df..444575d0a 100644
--- a/res/res_jabber.c
+++ b/res/res_jabber.c
@@ -560,7 +560,7 @@ static struct ast_custom_function jabberstatus_function = {
/*!
* \brief Dial plan function to send a message.
* \param chan ast_channel
- * \param data Data is sender|reciever|message.
+ * \param data Data is sender|receiver|message.
* \return 0 on success,-1 on error.
*/
static int aji_send_exec(struct ast_channel *chan, const char *data)
@@ -1437,7 +1437,7 @@ static int aji_dinfo_handler(void *data, ikspak *pak)
resource = aji_find_resource(buddy, pak->from->resource);
if (pak->subtype == IKS_TYPE_ERROR) {
- ast_log(LOG_WARNING, "Recieved error from a client, turn on jabber debug!\n");
+ ast_log(LOG_WARNING, "Received error from a client, turn on jabber debug!\n");
return IKS_FILTER_EAT;
}
if (pak->subtype == IKS_TYPE_RESULT) {
diff --git a/res/res_smdi.c b/res/res_smdi.c
index b8ff7808c..0232df12e 100644
--- a/res/res_smdi.c
+++ b/res/res_smdi.c
@@ -753,7 +753,7 @@ static void *smdi_read(void *iface_p)
/* add the message to the message queue */
md_msg->timestamp = ast_tvnow();
ast_smdi_md_message_push(iface, md_msg);
- ast_log(LOG_DEBUG, "Recieved SMDI MD message on %s\n", iface->name);
+ ast_log(LOG_DEBUG, "Received SMDI MD message on %s\n", iface->name);
ASTOBJ_UNREF(md_msg, ast_smdi_md_message_destroy);
@@ -802,11 +802,11 @@ static void *smdi_read(void *iface_p)
/* add the message to the message queue */
mwi_msg->timestamp = ast_tvnow();
ast_smdi_mwi_message_push(iface, mwi_msg);
- ast_log(LOG_DEBUG, "Recieved SMDI MWI message on %s\n", iface->name);
+ ast_log(LOG_DEBUG, "Received SMDI MWI message on %s\n", iface->name);
ASTOBJ_UNREF(mwi_msg, ast_smdi_mwi_message_destroy);
} else {
- ast_log(LOG_ERROR, "Unknown SMDI message type recieved on %s (M%c).\n", iface->name, c);
+ ast_log(LOG_ERROR, "Unknown SMDI message type received on %s (M%c).\n", iface->name, c);
start = 0;
}
}