summaryrefslogtreecommitdiff
path: root/channels
diff options
context:
space:
mode:
authorCorey Farrell <git@cfware.com>2017-12-20 12:14:54 -0500
committerCorey Farrell <git@cfware.com>2017-12-20 12:40:01 -0500
commit1b80ffa495160c8b4ded31fa0597ec578f908d97 (patch)
tree0f7449db5166a719811f9ca26b2bd0a317cc0f37 /channels
parent4815be9aeb17afd650af184a272d73b63ff98774 (diff)
Fix Common Typo's.
Fix instances of: * Retreive * Recieve * other then * different then * Repeated words ("the the", "an an", "and and", etc). * othterwise, teh ASTERISK-24198 #close Change-Id: I3809a9c113b92fd9d0d9f9bac98e9c66dc8b2d31
Diffstat (limited to 'channels')
-rw-r--r--channels/chan_dahdi.c2
-rw-r--r--channels/chan_mgcp.c2
-rw-r--r--channels/chan_sip.c10
-rw-r--r--channels/chan_unistim.c2
-rw-r--r--channels/sip/include/reqresp_parser.h2
5 files changed, 9 insertions, 9 deletions
diff --git a/channels/chan_dahdi.c b/channels/chan_dahdi.c
index b20a0f33a..4859d1a60 100644
--- a/channels/chan_dahdi.c
+++ b/channels/chan_dahdi.c
@@ -8000,7 +8000,7 @@ static struct ast_frame *dahdi_handle_event(struct ast_channel *ast)
p->subs[otherindex].needunhold = 1;
p->owner = p->subs[SUB_REAL].owner;
} else {
- ast_verb(3, "Dumping incomplete call on on %s\n", ast_channel_name(p->subs[SUB_THREEWAY].owner));
+ ast_verb(3, "Dumping incomplete call on %s\n", ast_channel_name(p->subs[SUB_THREEWAY].owner));
swap_subs(p, SUB_THREEWAY, SUB_REAL);
ast_channel_softhangup_internal_flag_add(p->subs[SUB_THREEWAY].owner, AST_SOFTHANGUP_DEV);
p->owner = p->subs[SUB_REAL].owner;
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c
index 6cac4bc8a..547226c80 100644
--- a/channels/chan_mgcp.c
+++ b/channels/chan_mgcp.c
@@ -389,7 +389,7 @@ struct mgcp_endpoint {
/* struct ast_channel *owner; */
/* struct ast_rtp *rtp; */
/* struct sockaddr_in tmpdest; */
- /* message go the the endpoint and not the channel so they stay here */
+ /* message go the endpoint and not the channel so they stay here */
struct ast_variable *chanvars; /*!< Variables to set for channel created by user */
struct mgcp_endpoint *next;
struct mgcp_gateway *parent;
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 894bbf8a6..ed94948a4 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -9286,7 +9286,7 @@ static enum match_req_res match_req_to_dialog(struct sip_pvt *sip_pvt_ptr, struc
}
/*! \brief This function creates a dialog to handle a forked request. This dialog
- * exists only to properly terminiate the the forked request immediately.
+ * exists only to properly terminiate the forked request immediately.
*/
static void forked_invite_init(struct sip_request *req, const char *new_theirtag, struct sip_pvt *original, struct ast_sockaddr *addr)
{
@@ -15808,7 +15808,7 @@ static int sip_reregister(const void *data)
if (r->call && r->call->do_history) {
append_history(r->call, "RegistryRenew", "Account: %s@%s", r->username, r->hostname);
}
- /* Since registry's are only added/removed by the the monitor thread, this
+ /* Since registry's are only added/removed by the monitor thread, this
may be overkill to reference/dereference at all here */
if (sipdebug) {
ast_log(LOG_NOTICE, " -- Re-registration for %s@%s\n", r->username, r->hostname);
@@ -26347,7 +26347,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, str
if (p->owner) {
ast_debug(3, "INVITE w Replaces on existing call? Refusing action. [%s]\n", p->callid);
- transmit_response_reliable(p, "400 Bad request", req); /* The best way to not not accept the transfer */
+ transmit_response_reliable(p, "400 Bad request", req); /* The best way to not accept the transfer */
check_via(p, req);
copy_request(&p->initreq, req);
/* Do not destroy existing call */
@@ -26435,7 +26435,7 @@ static int handle_request_invite(struct sip_pvt *p, struct sip_request *req, str
if (replaces_pvt == p) {
ast_log(LOG_NOTICE, "INVITE with replaces into it's own call id (%s == %s)!\n", replace_id, p->callid);
- transmit_response_reliable(p, "400 Bad request", req); /* The best way to not not accept the transfer */
+ transmit_response_reliable(p, "400 Bad request", req); /* The best way to not accept the transfer */
error = 1;
}
@@ -34386,7 +34386,7 @@ static int peer_cmp_cb(void *obj, void *arg, int flags)
}
/*!
- * Hash function based on the the peer's ip address. For IPv6, we use the end
+ * Hash function based on the peer's ip address. For IPv6, we use the end
* of the address.
* \todo Find a better hashing function
*/
diff --git a/channels/chan_unistim.c b/channels/chan_unistim.c
index f124c0f2b..fff7601fb 100644
--- a/channels/chan_unistim.c
+++ b/channels/chan_unistim.c
@@ -4964,7 +4964,7 @@ static int unistim_hangup(struct ast_channel *ast)
continue;
}
if (d->ssub[i] != sub) {
- if (d->ssub[i] != NULL) { /* Found other subchannel active other then hangup'ed one */
+ if (d->ssub[i] != NULL) { /* Found other subchannel active other than hangup'ed one */
end_call = 0;
}
continue;
diff --git a/channels/sip/include/reqresp_parser.h b/channels/sip/include/reqresp_parser.h
index 2543329dd..eb2eb1eb7 100644
--- a/channels/sip/include/reqresp_parser.h
+++ b/channels/sip/include/reqresp_parser.h
@@ -59,7 +59,7 @@ AST_LIST_HEAD_NOLOCK(contactliststruct, contact);
* parts, user:secret.
* - If the URI contains a port number, hostport will return with both
* parts, host:port.
- * - This function overwrites the the URI string.
+ * - This function overwrites the URI string.
*
* \retval 0 on success
* \retval -1 on error.