res: Spelling fixes

Correct typos of the following word families:

identifying
structures
actcount
initializer
attributes
statement
enough
locking
declaration
userevent
provides
unregister
session
execute
searches
verification
suppressed
prepared
passwords
recipients
event
because
brief
unidentified
redundancy
character
the
module
reload
operation
backslashes
accurate
incorrect
collision
initializing
instance
interpreted
buddies
omitted
manually
requires
queries
generator
scheduler
configuration has
owner
resource
performed
masquerade
apparently
routable

ASTERISK-29714

Change-Id: I88485116d2c59b776aa2e1f8b4ce8239a21decda
This commit is contained in:
Josh Soref 2021-10-30 21:04:36 -04:00 committed by Friendly Automation
parent ff11d74331
commit 9ae9893c63
45 changed files with 68 additions and 68 deletions

View File

@ -464,7 +464,7 @@ switch_statement : KW_SWITCH test_expr LC case_statements RC {
;
/*
* Definition of a statememt in our language
* Definition of a statement in our language
*/
statement : LC statements RC {
$$ = npval2(PV_STATEMENTBLOCK, &@1, &@3);

View File

@ -528,7 +528,7 @@ void traverse_pval_item_template(pval *item, int depth)/* depth comes in handy f
break;
case PV_FOR:
/* fields: item->u1.for_init == a string containing the initalizer
/* fields: item->u1.for_init == a string containing the initializer
item->u2.for_test == a string containing the loop test
item->u3.for_inc == a string containing the loop increment
@ -1470,7 +1470,7 @@ static void find_pval_goto_item(pval *item, int lev)
break;
case PV_FOR:
/* fields: item->u1.for_init == a string containing the initalizer
/* fields: item->u1.for_init == a string containing the initializer
item->u2.for_test == a string containing the loop test
item->u3.for_inc == a string containing the loop increment
@ -1697,7 +1697,7 @@ static struct pval *match_pval_item(pval *item)
break;
case PV_FOR:
/* fields: item->u1.for_init == a string containing the initalizer
/* fields: item->u1.for_init == a string containing the initializer
item->u2.for_test == a string containing the loop test
item->u3.for_inc == a string containing the loop increment
@ -2686,7 +2686,7 @@ void check_pval_item(pval *item, struct argapp *apps, int in_globals)
break;
case PV_FOR:
/* fields: item->u1.for_init == a string containing the initalizer
/* fields: item->u1.for_init == a string containing the initializer
item->u2.for_test == a string containing the loop test
item->u3.for_inc == a string containing the loop increment
@ -3214,7 +3214,7 @@ int find_switch_item(pval *item)
break;
case PV_FOR:
/* fields: item->u1.for_init == a string containing the initalizer
/* fields: item->u1.for_init == a string containing the initializer
item->u2.for_test == a string containing the loop test
item->u3.for_inc == a string containing the loop increment
@ -4820,7 +4820,7 @@ void destroy_pval_item(pval *item)
break;
case PV_FOR:
/* fields: item->u1.for_init == a string containing the initalizer
/* fields: item->u1.for_init == a string containing the initializer
item->u2.for_test == a string containing the loop test
item->u3.for_inc == a string containing the loop increment

View File

@ -346,7 +346,7 @@ static struct ast_channel *prepare_bridge_media_channel(const char *type)
* \param args_playback_id string to use for playback split from
* arguments (null valid)
* \param response ARI response being built
* \param bridge Bridge the playback is being peformed on
* \param bridge Bridge the playback is being performed on
* \param control Control being used for the playback channel
* \param json contents of the response to ARI
* \param playback_url stores playback URL for use with response
@ -517,7 +517,7 @@ enum play_found_result {
* \param args_playback_id string to use for playback split from
* arguments (null valid)
* \param response ARI response being built
* \param bridge Bridge the playback is being peformed on
* \param bridge Bridge the playback is being performed on
* \param found_channel The channel that was found controlling playback
*
* \retval PLAY_FOUND_SUCCESS The operation was successful

View File

@ -86,7 +86,7 @@ static void stasis_app_message_handler(
ast_assert(session != NULL);
/*
* We need to get the debug flag before lockinf session
* We need to get the debug flag before locking session
* to help prevent a deadlock with the apps_registry container.
*/
app_debug_enabled = stasis_app_get_debug_by_name(app_name);
@ -574,7 +574,7 @@ void ast_ari_events_user_event(struct ast_variable *headers,
case STASIS_APP_USER_USEREVENT_INVALID:
ast_ari_response_error(response, 400, "Bad Request",
"Invalid userevnet data");
"Invalid userevent data");
break;
case STASIS_APP_USER_INTERNAL_ERROR:

View File

@ -431,7 +431,7 @@ struct ast_bridge *park_common_setup(struct ast_channel *parkee, struct ast_chan
* to necessary parking information when joining, and applying various bridge roles to the
* channel.
*
* \param parkee The channel being preparred for parking
* \param parkee The channel being prepared for parking
* \param parker The channel initiating the park; may be the parkee as well. May be NULL.
* \param app_data arguments supplied to the Park application. May be NULL.
* \param silence_announcements optional pointer to an integer where we want to store the silence option flag

View File

@ -47,7 +47,7 @@ static struct stasis_message_router *router;
*
* \details We keep a wrapper around the metric so we can easily
* update the value when the state of the registration changes, as
* well as remove and unregsiter the metric when someone destroys
* well as remove and unregister the metric when someone destroys
* or reloads the registration
*/
struct prometheus_metric_wrapper {

View File

@ -3010,7 +3010,7 @@ static int handle_recordfile(struct ast_channel *chan, AGI *agi, int argc, const
switch(f->frametype) {
case AST_FRAME_DTMF:
if (strchr(argv[4], f->subclass.integer)) {
/* This is an interrupting chracter, so rewind to chop off any small
/* This is an interrupting character, so rewind to chop off any small
amount of DTMF that may have been recorded
*/
ast_stream_rewind(fs, 200);

View File

@ -43,7 +43,7 @@
* The structure of the generated code is:
*
* - res/ari/resource_{resource}.h
* - For each operation in the resouce, a generated argument structure
* - For each operation in the resource, a generated argument structure
* (holding the parsed arguments from the request) and function
* declarations (to implement in res/ari/resource_{resource}.c)
* - res_ari_{resource}.c

View File

@ -83,7 +83,7 @@
<enum name="summary"><para>The VEVENT SUMMARY property or Exchange event 'subject'</para></enum>
<enum name="description"><para>The text description of the event</para></enum>
<enum name="organizer"><para>The organizer of the event</para></enum>
<enum name="location"><para>The location of the eventt</para></enum>
<enum name="location"><para>The location of the event</para></enum>
<enum name="categories"><para>The categories of the event</para></enum>
<enum name="priority"><para>The priority of the event</para></enum>
<enum name="calendar"><para>The name of the calendar associated with the event</para></enum>

View File

@ -339,7 +339,7 @@ static time_t icalfloat_to_timet(icaltimetype time)
}
/* span->start & span->end may be dates or floating times which have no timezone,
* which would mean that they should apply to the local timezone for all recepients.
* which would mean that they should apply to the local timezone for all recipients.
* For example, if a meeting was set for 1PM-2PM floating time, people in different time
* zones would not be scheduled at the same local times. Dates are often treated as
* floating times, so all day events will need to be converted--so we can trust the
@ -400,7 +400,7 @@ static void caldav_add_event(icalcomponent *comp, struct icaltime_span *span, vo
if ((prop = icalcomponent_get_first_property(comp, ICAL_UID_PROPERTY))) {
ast_string_field_set(event, uid, icalproperty_get_value_as_string(prop));
} else {
ast_log(LOG_WARNING, "No UID found, but one is required. Generating, but updates may not be acurate\n");
ast_log(LOG_WARNING, "No UID found, but one is required. Generating, but updates may not be accurate\n");
if (!ast_strlen_zero(event->summary)) {
ast_string_field_set(event, uid, event->summary);
} else {

View File

@ -198,7 +198,7 @@ static void icalendar_add_event(icalcomponent *comp, struct icaltime_span *span,
struct icaltriggertype trigger;
if (!(pvt && pvt->owner)) {
ast_log(LOG_ERROR, "Require a private structure with an ownenr\n");
ast_log(LOG_ERROR, "Require a private structure with an owner\n");
return;
}
@ -241,7 +241,7 @@ static void icalendar_add_event(icalcomponent *comp, struct icaltime_span *span,
if ((prop = icalcomponent_get_first_property(comp, ICAL_UID_PROPERTY))) {
ast_string_field_set(event, uid, icalproperty_get_value_as_string(prop));
} else {
ast_log(LOG_WARNING, "No UID found, but one is required. Generating, but updates may not be acurate\n");
ast_log(LOG_WARNING, "No UID found, but one is required. Generating, but updates may not be accurate\n");
if (!ast_strlen_zero(event->summary)) {
ast_string_field_set(event, uid, event->summary);
} else {

View File

@ -121,7 +121,7 @@ static struct ast_variable *realtime_curl(const char *url, const char *unused, c
}
/*!
* \brief Excute an Select query and return ast_config list
* \brief Execute an Select query and return ast_config list
* \param url
* \param unused
* \param fields list containing one or more field/operator/value set.

View File

@ -405,7 +405,7 @@ static struct ast_variable **realtime_ldap_result_to_vars(struct ldap_table_conf
int delim_tot_count = 0;
int delim_count = 0;
/* \breif First find the total count
/* \brief First find the total count
*/
ldap_entry = ldap_first_entry(ldapConn, ldap_result_msg);
@ -1758,7 +1758,7 @@ static int unload_module(void)
return 0;
}
/*! \breif Relod Module
/*! \brief Reload Module
*/
static int reload(void)
{

View File

@ -155,7 +155,7 @@ static SQLHSTMT custom_prepare(struct odbc_obj *obj, void *data)
}
/*!
* \brief Excute an SQL query and return ast_variable list
* \brief Execute an SQL query and return ast_variable list
* \param database
* \param table
* \param ap list containing one or more field/operator/value set.
@ -326,7 +326,7 @@ static struct ast_variable *realtime_odbc(const char *database, const char *tabl
}
/*!
* \brief Excute an Select query and return ast_config list
* \brief Execute an Select query and return ast_config list
* \param database
* \param table
* \param ap list containing one or more field/operator/value set.
@ -499,7 +499,7 @@ next_sql_fetch:;
}
/*!
* \brief Excute an UPDATE query
* \brief Execute an UPDATE query
* \param database
* \param table
* \param keyfield where clause field
@ -726,7 +726,7 @@ static int update2_odbc(const char *database, const char *table, const struct as
}
/*!
* \brief Excute an INSERT query
* \brief Execute an INSERT query
* \param database
* \param table
* \param ap list containing one or more field/value set(s)
@ -807,7 +807,7 @@ static int store_odbc(const char *database, const char *table, const struct ast_
}
/*!
* \brief Excute an DELETE query
* \brief Execute an DELETE query
* \param database
* \param table
* \param keyfield where clause field

View File

@ -126,7 +126,7 @@ static void destroy_table(struct tables *table)
ast_free(table);
}
/*! \brief Helper function for pgsql_exec. For running querys, use pgsql_exec()
/*! \brief Helper function for pgsql_exec. For running queries, use pgsql_exec()
*
* Connect if not currently connected. Run the given query.
*

View File

@ -808,7 +808,7 @@ static void *dispatch_thread_handler(void *data)
ast_rwlock_unlock(&init_cpg_lock);
ast_debug(5, "dispatch_thread_handler unlock\n");
} else {
ast_log(LOG_ERROR, "Failed to get fd: initiliazing CPG. This module is now broken.\n");
ast_log(LOG_ERROR, "Failed to get fd: initializing CPG. This module is now broken.\n");
return NULL;
}
send_cluster_notify();

View File

@ -890,7 +890,7 @@ static int spandsp_fax_gateway_start(struct ast_fax_session *s)
/*! \brief process a frame from the bridge
* \param s fax session
* \param f frame to process
* \return 1 on sucess 0 on incorect packet*/
* \return 1 on sucess 0 on incorrect packet*/
static int spandsp_fax_gateway_process(struct ast_fax_session *s, const struct ast_frame *f)
{
struct spandsp_pvt *p = s->tech_pvt;

View File

@ -263,7 +263,7 @@ static int readmimefile(struct ast_iostream *in, FILE *fout, char *boundary, int
marker += x; /* Index beyond the filename marker */
path_start = &buf[marker];
for (path_end = path_start, x = 0; x < char_in_buf-marker; x++, path_end++) {
if ('\\' == *path_end) { /* convert backslashses to forward slashes */
if ('\\' == *path_end) { /* convert backslashes to forward slashes */
*path_end = '/';
}
if ('\"' == *path_end) { /* If at the end of the file name spec */

View File

@ -90,7 +90,7 @@
<para>Plays hold music specified by class. If omitted, the default music
source for the channel will be used. Change the default class with
Set(CHANNEL(musicclass)=...). If duration is given, hold music will be played
specified number of seconds. If duration is ommited, music plays indefinitely.
specified number of seconds. If duration is omitted, music plays indefinitely.
Returns <literal>0</literal> when done, <literal>-1</literal> on hangup.</para>
<para>This application does not automatically answer and should be preceeded by
an application such as Answer() or Progress().</para>
@ -1741,7 +1741,7 @@ static int local_ast_moh_start(struct ast_channel *chan, const char *mclass, con
return -1;
}
} else {
/* We don't register RT moh class, so let's init it manualy */
/* We don't register RT moh class, so let's init it manually */
time(&mohclass->start);
mohclass->start -= respawn_time;

View File

@ -1074,7 +1074,7 @@ static int pp_each_extension_helper(struct ast_channel *chan, const char *cmd, c
AST_STANDARD_APP_ARGS(args, data);
if (ast_strlen_zero(args.mac) || ast_strlen_zero(args.template)) {
ast_log(LOG_WARNING, "PP_EACH_EXTENSION requries both a macaddress and template filename.\n");
ast_log(LOG_WARNING, "PP_EACH_EXTENSION requires both a macaddress and template filename.\n");
return 0;
}

View File

@ -1052,7 +1052,7 @@
It can be one of the following values:
</para><enumlist>
<enum name="no"><para>
meaning no verificaton is done.
meaning no verification is done.
</para></enum>
<enum name="fingerprint"><para>
meaning to verify the remote fingerprint.
@ -1565,7 +1565,7 @@
in their WWW-Authenticate header. It can't be blank
unless you expect the server to be sending a blank
realm in the header. You can't use pre-hashed
paswords with a wildcard auth object.
passwords with a wildcard auth object.
You can generate the hash with the following shell
command:
</para>

View File

@ -96,7 +96,7 @@ struct global_config {
unsigned int unidentified_request_count;
/*! The period during which unidentified requests are accumulated */
unsigned int unidentified_request_period;
/*! Interval at which expired unidentifed requests will be pruned */
/*! Interval at which expired unidentified requests will be pruned */
unsigned int unidentified_request_prune_interval;
struct {
/*! Taskprocessor high water alert trigger level */

View File

@ -427,7 +427,7 @@ static int ident_handler(const struct aco_option *opt, struct ast_variable *var,
return -1;
}
if (endpoint->ident_method & method) {
/* We are already indentifying by this method. No need to do it again. */
/* We are already identifying by this method. No need to do it again. */
continue;
}

View File

@ -55,7 +55,7 @@ struct ast_sip_sched_task {
struct timeval next_periodic;
/*! reschedule interval in milliseconds */
int interval;
/*! ast_sched scheudler id */
/*! ast_sched scheduler id */
int current_scheduler_id;
/*! task is currently running */
int is_running;

View File

@ -119,7 +119,7 @@ void ast_sip_session_remove_supplements(struct ast_sip_session *session)
/* free the supplements */
while ((iter = AST_LIST_REMOVE_HEAD(&session->supplements, next))) {
if (iter->module) {
/* referenced session closed. decreasing modue reference. */
/* referenced session closed. decreasing module reference. */
ast_module_unref(iter->module);
}

View File

@ -52,7 +52,7 @@
/*** DOCUMENTATION
<configInfo name="res_pjsip_config_wizard" language="en_US">
<synopsis>Module that privides simple configuration wizard capabilities.</synopsis>
<synopsis>Module that provides simple configuration wizard capabilities.</synopsis>
<description><para>
<emphasis>PJSIP Configuration Wizard</emphasis>
</para>

View File

@ -311,7 +311,7 @@ static int read_headers(void *obj)
pj_hdr_string_len = pjsip_hdr_print_on(hdr, pj_hdr_string, data->len - 1);
if (pj_hdr_string_len == -1) {
ast_log(AST_LOG_ERROR,
"Not enought buffer space in pjsip_hdr_print_on\n");
"Not enough buffer space in pjsip_hdr_print_on\n");
return -1;
}
pj_hdr_string[pj_hdr_string_len] = '\0';
@ -411,7 +411,7 @@ static int read_header(void *obj)
pj_hdr_string_len = pjsip_hdr_print_on(hdr, pj_hdr_string, data->len - 1);
if (pj_hdr_string_len == -1) {
ast_log(AST_LOG_ERROR,
"Not enought buffer space in pjsip_hdr_print_on\n");
"Not enough buffer space in pjsip_hdr_print_on\n");
return -1;
}
@ -441,7 +441,7 @@ static int read_header(void *obj)
/*!
* \internal
* \brief Implements PJSIP_HEADER 'add' by inserting the specified header into thge list.
* \brief Implements PJSIP_HEADER 'add' by inserting the specified header into the list.
*
* Retrieve the header_datastore from the session or create one if it doesn't exist.
* Create and initialize the list if needed.

View File

@ -513,7 +513,7 @@ static struct ast_sip_endpoint *handle_atsign(const char *to, char *destination,
*atsign = '\0';
endpoint_name = destination;
/* Apprently there may be ';<user_options>' after the endpoint name ??? */
/* Apparently there may be ';<user_options>' after the endpoint name ??? */
AST_SIP_USER_OPTIONS_TRUNCATE_CHECK(endpoint_name);
endpoint = ast_sorcery_retrieve_by_id(ast_sip_get_sorcery(), "endpoint", endpoint_name);
if (!endpoint) {

View File

@ -207,7 +207,7 @@ static pj_bool_t handle_rx_message(struct ast_sip_endpoint *endpoint, pjsip_rx_d
if (endpoint->nat.rewrite_contact) {
/* rewrite_contact is intended to ensure we send requests/responses to
* a routeable address when NAT is involved. The URI that dictates where
* a routable address when NAT is involved. The URI that dictates where
* we send requests/responses can be determined either by Record-Route
* headers or by the Contact header if no Record-Route headers are present.
* We therefore will attempt to rewrite a Record-Route header first, and if

View File

@ -141,7 +141,7 @@ static pj_status_t set_outbound_authentication_credentials(pjsip_auth_clt_sess *
* structures. In this case however, the elements are the
* structures themselves instead of pointers to them. This is due
* to the fact that pjsip_auth_clt_set_credentials() expects an
* array of structues, not an array of pointers to structures.
* array of structures, not an array of pointers to structures.
* Thankfully, vectors allow you to "steal" their underlying
* arrays, in this case an array of pjsip_cred_info structures,
* which we'll pass to pjsip_auth_clt_set_credentials() at the

View File

@ -308,7 +308,7 @@ struct sip_outbound_registration {
AST_STRING_FIELD(client_uri);
/*! \brief Optional user for contact header */
AST_STRING_FIELD(contact_user);
/*! \bried Optional header parameters for contact */
/*! \brief Optional header parameters for contact */
AST_STRING_FIELD(contact_header_params);
/*! \brief Explicit transport to use for registration */
AST_STRING_FIELD(transport);

View File

@ -481,7 +481,7 @@ struct ast_sip_subscription {
const struct ast_sip_subscription_handler *handler;
/*! Pointer to the base of the tree */
struct sip_subscription_tree *tree;
/*! Body generaator for NOTIFYs */
/*! Body generator for NOTIFYs */
struct ast_sip_pubsub_body_generator *body_generator;
/*! Vector of child subscriptions */
AST_VECTOR(, struct ast_sip_subscription *) children;

View File

@ -100,7 +100,7 @@ static void rfc3326_add_reason_header(struct ast_sip_session *session, struct pj
}
if (session->endpoint && session->endpoint->suppress_q850_reason_headers) {
ast_debug(1, "A Q.850 '%s'(%i) Reason header was suppresed for endpoint '%s'\n",
ast_debug(1, "A Q.850 '%s'(%i) Reason header was suppressed for endpoint '%s'\n",
ast_cause2str((ast_channel_hangupcause(session->channel) & 0x7f)),
(ast_channel_hangupcause(session->channel) & 0x7f),
ast_sorcery_object_get_id(session->endpoint));

View File

@ -3098,7 +3098,7 @@ struct ast_sip_session *ast_sip_session_alloc(struct ast_sip_endpoint *endpoint,
session->authentication_challenge_count = 0;
/* Fire seesion begin handlers */
/* Fire session begin handlers */
handle_session_begin(session);
/* Avoid unnecessary ref manipulation to return a session */

View File

@ -1334,7 +1334,7 @@ static char *pktccops_gateset(struct ast_cli_entry *e, int cmd, struct ast_cli_a
case CLI_INIT:
e->command = "pktccops gateset";
e->usage =
"Usage: pktccops gateset <cmts> <mta> <acctcount> <bitrate> <packet size> <switch ip> <switch port>\n"
"Usage: pktccops gateset <cmts> <mta> <actcount> <bitrate> <packet size> <switch ip> <switch port>\n"
" Send Gate-Set to cmts.\n";
return NULL;
case CLI_GENERATE:

View File

@ -5688,7 +5688,7 @@ static struct ast_frame *process_dtmf_cisco(struct ast_rtp_instance *instance, u
then falls to 0 at its end)
+3 (+5,+7,...) - detected DTMF digit (0..9,*,#,A-D,...)
Repeated DTMF information (bytes 4/5, 6/7) is history shifted right
by each new packet and thus provides some redudancy.
by each new packet and thus provides some redundancy.
Sample of Cisco RTP DTMF packet is (all data in hex):
19 07 00 02 12 02 20 02
@ -5751,7 +5751,7 @@ static struct ast_frame *process_cn_rfc3389(struct ast_rtp_instance *instance, u
struct ast_rtp *rtp = ast_rtp_instance_get_data(instance);
/* Convert comfort noise into audio with various codecs. Unfortunately this doesn't
totally help us out becuase we don't have an engine to keep it going and we are not
totally help us out because we don't have an engine to keep it going and we are not
guaranteed to have it every 20ms or anything */
if (ast_debug_rtp_packet_is_allowed) {
ast_debug(0, "- RTP 3389 Comfort noise event: Format %s (len = %d)\n",
@ -8035,7 +8035,7 @@ static struct ast_frame *ast_rtp_read(struct ast_rtp_instance *instance, int rtc
ast_free(payload);
if (!frame) {
/* If this packet can't be interpeted due to being out of memory we return what we have and assume
/* If this packet can't be interpreted due to being out of memory we return what we have and assume
* that we will determine it is a missing packet later and NACK for it.
*/
return AST_LIST_FIRST(&frames);
@ -8576,7 +8576,7 @@ static void ast_rtp_remote_address_set(struct ast_rtp_instance *instance, struct
}
/*!
* \brief Write t140 redundacy frame
* \brief Write t140 redundancy frame
*
* \param data primary data to be buffered
*

View File

@ -1071,7 +1071,7 @@ static int smdi_load(int reload)
/* get the current attributes from the port */
if (tcgetattr(iface->fd, &iface->mode)) {
ast_log(LOG_ERROR, "Error getting atributes of %s (%s)\n", iface->name, strerror(errno));
ast_log(LOG_ERROR, "Error getting attributes of %s (%s)\n", iface->name, strerror(errno));
continue;
}

View File

@ -392,7 +392,7 @@ static void sorcery_config_internal_load(void *data, const struct ast_sorcery *s
RAII_VAR(void *, obj, NULL, ao2_cleanup);
id = ast_category_get_name(category);
/* If given configurationhas not been met skip the category, it is not applicable */
/* If given configuration has not been met skip the category, it is not applicable */
if (!sorcery_is_configuration_met(sorcery, type, category, config)) {
continue;
}

View File

@ -1203,7 +1203,7 @@ static void channel_replaced_cb(void *data, struct ast_channel *old_chan, struct
}
static const struct ast_datastore_info masquerade_store_info = {
.type = "stasis-masqerade",
.type = "stasis-masquerade",
.chan_fixup = channel_stolen_cb,
.chan_breakdown = channel_replaced_cb,
};

View File

@ -598,7 +598,7 @@ struct ast_json *stasis_app_playback_to_json(
return ast_json_ref(json);
}
typedef int (*playback_opreation_cb)(struct stasis_app_playback *playback);
typedef int (*playback_operation_cb)(struct stasis_app_playback *playback);
static int playback_noop(struct stasis_app_playback *playback)
{
@ -695,7 +695,7 @@ static int playback_forward(struct stasis_app_playback *playback)
* \brief A sparse array detailing how commands should be handled in the
* various playback states. Unset entries imply invalid operations.
*/
playback_opreation_cb operations[STASIS_PLAYBACK_STATE_MAX][STASIS_PLAYBACK_MEDIA_OP_MAX] = {
playback_operation_cb operations[STASIS_PLAYBACK_STATE_MAX][STASIS_PLAYBACK_MEDIA_OP_MAX] = {
[STASIS_PLAYBACK_STATE_QUEUED][STASIS_PLAYBACK_STOP] = playback_cancel,
[STASIS_PLAYBACK_STATE_QUEUED][STASIS_PLAYBACK_RESTART] = playback_noop,
@ -727,7 +727,7 @@ enum stasis_playback_oper_results stasis_app_playback_operation(
struct stasis_app_playback *playback,
enum stasis_app_playback_media_operation operation)
{
playback_opreation_cb cb;
playback_operation_cb cb;
SCOPED_AO2LOCK(lock, playback);
ast_assert((unsigned int)playback->state < STASIS_PLAYBACK_STATE_MAX);

View File

@ -217,7 +217,7 @@ char *curl_public_key(const char *public_cert_url, const char *path, struct curl
curl = get_curl_instance(data);
if (!curl) {
ast_log(LOG_ERROR, "Failed to set up CURL isntance for '%s'\n", public_cert_url);
ast_log(LOG_ERROR, "Failed to set up CURL instance for '%s'\n", public_cert_url);
fclose(public_key_file);
remove(tmp_filename);
return NULL;

View File

@ -18,7 +18,7 @@
#ifndef _STIR_SHAKEN_CURL_H
#define _STIR_SHAKEN_CURL_H
/* Forward declarion for CURL callback data */
/* Forward declaration for CURL callback data */
struct curl_cb_data;
/*!

View File

@ -385,7 +385,7 @@
<configOption name="buddy">
<synopsis>Manual addition of buddy to list</synopsis>
<description><para>
Manual addition of buddy to the buddy list. For distributed events, these budies are
Manual addition of buddy to the buddy list. For distributed events, these buddies are
automatically added in the whitelist as 'owners' of the node(s).
</para></description>
</configOption>

View File

@ -75,7 +75,7 @@
#include "asterisk/ast_version.h"
#include "asterisk/pbx.h"
/* Colission between Net-SNMP and Asterisk */
/* Collision between Net-SNMP and Asterisk */
#define unload_module ast_unload_module
#include "asterisk/module.h"
#undef unload_module

View File

@ -174,7 +174,7 @@ static int handle_find_recording(const char *dir_name, const char *filename, voi
/*!
* \brief Finds a recording in the given directory.
*
* This function searchs for a file with the given file name, with a registered
* This function searches for a file with the given file name, with a registered
* format that matches its extension.
*
* \param dir_name Directory to search (absolute path).