mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-03 03:20:57 +00:00
docs: Fix various typos in main/
Found via `codespell -q 3 -S "./CREDITS" -L abd,asent,atleast,childrens,contentn,crypted,dne,durationm,exten,inout,leapyear,nd,oclock,offsetp,ot,parm,parms,requestor,ser,slanguage,slin,thirdparty,varn,varns,ues`
(cherry picked from commit 03ec0f2d17
)
This commit is contained in:
committed by
Asterisk Development Team
parent
7300a506d0
commit
a82e7c2f89
@@ -584,7 +584,7 @@ static enum ast_device_state cc_state_to_devstate_map[] = {
|
||||
*
|
||||
* \param state
|
||||
*
|
||||
* \return the correponding DEVICE STATE from the cc_state_to_devstate_map
|
||||
* \return the corresponding DEVICE STATE from the cc_state_to_devstate_map
|
||||
* when passed an internal state.
|
||||
*/
|
||||
static enum ast_device_state cc_state_to_devstate(enum cc_state state)
|
||||
@@ -612,7 +612,7 @@ static enum ast_device_state ccss_device_state(const char *device_name)
|
||||
match_flags = MATCH_NO_REQUEST;
|
||||
core_instance = ao2_t_callback_data(cc_core_instances, 0, match_agent,
|
||||
(char *) device_name, &match_flags,
|
||||
"Find Core Instance for ccss_device_state reqeust.");
|
||||
"Find Core Instance for ccss_device_state request.");
|
||||
if (!core_instance) {
|
||||
ast_log_dynamic_level(cc_logger_level,
|
||||
"Couldn't find a core instance for caller %s\n", device_name);
|
||||
@@ -2208,7 +2208,7 @@ static void call_destructor_with_no_monitor(const char * const monitor_type, voi
|
||||
|
||||
/*!
|
||||
* \internal
|
||||
* \brief Allocate and intitialize a device cc_monitor
|
||||
* \brief Allocate and initialize a device cc_monitor
|
||||
*
|
||||
* For all intents and purposes, this is the same as
|
||||
* cc_extension_monitor_init, except that there is only
|
||||
@@ -4294,7 +4294,7 @@ static int cccancel_exec(struct ast_channel *chan, const char *data)
|
||||
}
|
||||
|
||||
if (strcmp(core_instance->agent->callbacks->type, "generic")) {
|
||||
ast_log(LOG_WARNING, "CallCompletionCancel may only be used for calles with a generic agent\n");
|
||||
ast_log(LOG_WARNING, "CallCompletionCancel may only be used for calls with a generic agent\n");
|
||||
cc_unref(core_instance, "Unref core instance found during CallCompletionCancel");
|
||||
pbx_builtin_setvar_helper(chan, "CC_CANCEL_RESULT", "FAIL");
|
||||
pbx_builtin_setvar_helper(chan, "CC_CANCEL_REASON", "NOT_GENERIC");
|
||||
|
Reference in New Issue
Block a user