[Asterisk-code-review] addons: Spelling fixes (asterisk[master])

Josh Soref asteriskteam at digium.com
Sun Nov 7 13:47:55 CST 2021


Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/17320 )


Change subject: addons: Spelling fixes
......................................................................

addons: Spelling fixes

Correct typos of the following word families:

definition
listener
fastcopy
logical
registration
classify
documentation
explicitly
dialed
endpoint
elements
arithmetic
might
prepend
byte
terminal
inquiry
skipping
aliases
calling
absent
authentication
transmit
their
ericsson
disconnecting
redir
items
client
adapter
transmitter
existing
satisfies
pointer
interval
supplied

ASTERISK-29714

Change-Id: I8548438246f7b718d88e0b9e0a1eb384bbec88e4
---
M addons/chan_mobile.c
M addons/chan_ooh323.c
M addons/ooh323c/README
M addons/ooh323c/src/decode.c
M addons/ooh323c/src/encode.c
M addons/ooh323c/src/eventHandler.h
M addons/ooh323c/src/h323/H323-MESSAGES.h
M addons/ooh323c/src/h323/H323-MESSAGESDec.c
M addons/ooh323c/src/h323/H323-MESSAGESEnc.c
M addons/ooh323c/src/memheap.c
M addons/ooh323c/src/ooCalls.c
M addons/ooh323c/src/ooCapability.h
M addons/ooh323c/src/ooCmdChannel.c
M addons/ooh323c/src/ooGkClient.c
M addons/ooh323c/src/ooGkClient.h
M addons/ooh323c/src/ooLogChan.c
M addons/ooh323c/src/ooSocket.h
M addons/ooh323c/src/ooUtils.c
M addons/ooh323c/src/ooUtils.h
M addons/ooh323c/src/ooasn1.h
M addons/ooh323c/src/oochannels.c
M addons/ooh323c/src/ooh245.c
M addons/ooh323c/src/ooh245.h
M addons/ooh323c/src/ooh323.c
M addons/ooh323c/src/ooh323ep.c
M addons/ooh323c/src/ooq931.c
M addons/ooh323c/src/ooq931.h
27 files changed, 56 insertions(+), 56 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/20/17320/1

diff --git a/addons/chan_mobile.c b/addons/chan_mobile.c
index 240c2d4..c77ca7a 100644
--- a/addons/chan_mobile.c
+++ b/addons/chan_mobile.c
@@ -102,7 +102,7 @@
 	char id[31];					/* the 'name' from mobile.conf */
 	bdaddr_t addr;					/* adddress of adapter */
 	unsigned int inuse:1;				/* are we in use ? */
-	unsigned int alignment_detection:1;		/* do alignment detection on this adpater? */
+	unsigned int alignment_detection:1;		/* do alignment detection on this adapter? */
 	struct io_context *io;				/*!< io context for audio connections */
 	struct io_context *accept_io;			/*!< io context for sco listener */
 	int *sco_id;					/*!< the io context id of the sco listener socket */
@@ -2006,7 +2006,7 @@
 }
 
 /*!
- * \brief Read an AT message and clasify it.
+ * \brief Read an AT message and classify it.
  * \param rsock an rfcomm socket
  * \param buf the buffer to store the result in
  * \param count the size of the buffer or the maximum number of characters to read
@@ -2176,7 +2176,7 @@
 }
 
 /*!
- * \brief Enable Sony Erricson extensions / indications.
+ * \brief Enable Sony Ericsson extensions / indications.
  * \param hfp an hfp_pvt struct
  */
 static int hfp_send_ecam(struct hfp_pvt *hfp)
@@ -3040,7 +3040,7 @@
 }
 
 /*!
- * \brief Remove all itmes from the queue and free them.
+ * \brief Remove all items from the queue and free them.
  * \param pvt a mbl_pvt structure
  */
 static void msg_queue_flush(struct mbl_pvt *pvt)
@@ -3347,7 +3347,7 @@
 			}
 			break;
 		case AT_CLIP:
-			ast_debug(1, "[%s] caling line indication enabled\n", pvt->id);
+			ast_debug(1, "[%s] calling line indication enabled\n", pvt->id);
 			if (hfp_send_ecam(pvt->hfp) || msg_queue_push(pvt, AT_OK, AT_ECAM)) {
 				ast_debug(1, "[%s] error enabling Sony Ericsson call monitoring extensions\n", pvt->id);
 				goto e_return;
@@ -3567,7 +3567,7 @@
 			if (pvt->owner) {
 				ast_debug(1, "[%s] hanging up owner\n", pvt->id);
 				if (mbl_queue_hangup(pvt)) {
-					ast_log(LOG_ERROR, "[%s] error queueing hangup, disconnectiong...\n", pvt->id);
+					ast_log(LOG_ERROR, "[%s] error queueing hangup, disconnecting...\n", pvt->id);
 					return -1;
 				}
 			}
@@ -3601,7 +3601,7 @@
 						handle_response_busy(pvt);
 					}
 					if (mbl_queue_hangup(pvt)) {
-						ast_log(LOG_ERROR, "[%s] error queueing hangup, disconnectiong...\n", pvt->id);
+						ast_log(LOG_ERROR, "[%s] error queueing hangup, disconnecting...\n", pvt->id);
 						return -1;
 					}
 				}
@@ -4431,7 +4431,7 @@
 
 	/* bind the sco listener socket */
 	if (sco_bind(adapter) < 0) {
-		ast_log(LOG_ERROR, "Skipping adapter %s. Error binding audio connection listerner socket.\n", adapter->id);
+		ast_log(LOG_ERROR, "Skipping adapter %s. Error binding audio connection listener socket.\n", adapter->id);
 		goto e_destroy_io;
 	}
 
@@ -4443,7 +4443,7 @@
 
 	/* start the sco listener for this adapter */
 	if (ast_pthread_create_background(&adapter->sco_listener_thread, NULL, do_sco_listen, adapter)) {
-		ast_log(LOG_ERROR, "Skipping adapter %s. Error creating audio connection listerner thread.\n", adapter->id);
+		ast_log(LOG_ERROR, "Skipping adapter %s. Error creating audio connection listener thread.\n", adapter->id);
 		goto e_remove_sco;
 	}
 
@@ -4499,7 +4499,7 @@
 	}
 	AST_RWLIST_UNLOCK(&adapters);
 	if (!adapter) {
-		ast_log(LOG_ERROR, "Skiping device %s. Unknown adapter '%s' specified.\n", cat, adapter_str);
+		ast_log(LOG_ERROR, "Skipping device %s. Unknown adapter '%s' specified.\n", cat, adapter_str);
 		goto e_return;
 	}
 
diff --git a/addons/chan_ooh323.c b/addons/chan_ooh323.c
index c878041..814022c 100644
--- a/addons/chan_ooh323.c
+++ b/addons/chan_ooh323.c
@@ -2055,7 +2055,7 @@
 			}
 			ooCallAddAliasDialedDigits(call, p->caller_dialedDigits);
 		} else if (!ast_strlen_zero(p->callerid_num)) {
-			if (ooIsDailedDigit(p->callerid_num)) {
+			if (ooIsDialedDigit(p->callerid_num)) {
 				if (gH323Debug) {
 					ast_verb(0, "setting callid number %s\n", p->callerid_num);
 				}
@@ -2136,7 +2136,7 @@
 			}
 			ooCallAddAliasDialedDigits(call, p->caller_dialedDigits);
 		} else if (!ast_strlen_zero(p->callerid_num)) {
-			if (ooIsDailedDigit(p->callerid_num)) {
+			if (ooIsDialedDigit(p->callerid_num)) {
 				if (gH323Debug) {
 					ast_verb(0, "setting callid number %s\n", p->callerid_num);
 				}
@@ -2148,7 +2148,7 @@
 
 
 		if (!ast_strlen_zero(p->exten))  {
-			if (ooIsDailedDigit(p->exten)) {
+			if (ooIsDialedDigit(p->exten)) {
 				ooCallSetCalledPartyNumber(call, p->exten);
 				ooCallAddRemoteAliasDialedDigits(call, p->exten);
 			} else {
diff --git a/addons/ooh323c/README b/addons/ooh323c/README
index 3231747..a4a0036 100644
--- a/addons/ooh323c/README
+++ b/addons/ooh323c/README
@@ -75,7 +75,7 @@
 3. For running calling instance
 
         ./h323peer [--use-ip ip] -n <number of calls> -duration <call duration>
-                   -interval <inetrval between successive calls> destination
+                   -interval <interval between successive calls> destination
 
    where all times are in seconds. Interval of 0 means next call will be placed
    after current call finishes. "destination" is the dotted ip address of the
diff --git a/addons/ooh323c/src/decode.c b/addons/ooh323c/src/decode.c
index d0579c6..c260d8c 100644
--- a/addons/ooh323c/src/decode.c
+++ b/addons/ooh323c/src/decode.c
@@ -417,7 +417,7 @@
    ASN1OCTET* ptmp;
    int nbits, stat = ASN_OK;
 
-   /* If "fast copy" option is not set (ASN1FATSCOPY) or if constructed,
+   /* If "fast copy" option is not set (ASN1FASTCOPY) or if constructed,
     * copy the bit string value into a dynamic memory buffer;
     * otherwise, store the pointer to the value in the decode
     * buffer in the data pointer argument. */
diff --git a/addons/ooh323c/src/encode.c b/addons/ooh323c/src/encode.c
index b48733b..4d12912 100644
--- a/addons/ooh323c/src/encode.c
+++ b/addons/ooh323c/src/encode.c
@@ -1007,7 +1007,7 @@
 {
    /* 10.4.6  A minimum octet 2's-complement-binary-integer encoding    */
    /* of the whole number has a field width that is a multiple of 8     */
-   /* bits and also satisifies the condition that the leading 9 bits    */
+   /* bits and also satisfies the condition that the leading 9 bits     */
    /* field shall not be all zeros and shall not be all ones.           */
 
    /* first encode integer value into a local buffer */
@@ -1048,7 +1048,7 @@
    /* 10.3.6  A minimum octet non-negative binary integer encoding of   */
    /* the whole number (which does not predetermine the number of       */
    /* octets to be used for the encoding) has a field which is a        */
-   /* multiple of 8 bits and also satisifies the condition that the     */
+   /* multiple of 8 bits and also satisfies the condition that the      */
    /* leading eight bits of the field shall not be zero unless the      */
    /* field is precisely 8 bits long.                                   */
 
diff --git a/addons/ooh323c/src/eventHandler.h b/addons/ooh323c/src/eventHandler.h
index 32719c5..0f98f33 100644
--- a/addons/ooh323c/src/eventHandler.h
+++ b/addons/ooh323c/src/eventHandler.h
@@ -49,7 +49,7 @@
  * SEQUENCE OF, SET OF, or CHOICE construct is parsed.
  *
  * @param name         For SEQUENCE, SET, or CHOICE, this is the name of the
- *                       element as defined in the ASN.1 defination. For
+ *                       element as defined in the ASN.1 definition. For
  *                       SEQUENCE OF or SET OF, this is set to the name
  *                       "element".
  * @param index        For SEQUENCE, SET, or CHOICE, this is not used and is
@@ -68,7 +68,7 @@
  * SEQUENCE, SET, SEQUENCE OF, SET OF, or CHOICE construct.
  *
  * @param name         For SEQUENCE, SET, or CHOICE, this is the name of the
- *                       element as defined in the ASN.1 defination. For
+ *                       element as defined in the ASN.1 definition. For
  *                       SEQUENCE OF or SET OF, this is set to the name
  *                       "element".
  * @param index        For SEQUENCE, SET, or CHOICE, this is not used and is
@@ -194,7 +194,7 @@
  * within a decode function when an ASN.1 open type is parsed.
  *
  * @param numocts      Number of octets in the parsed value.
- * @param data         Pointer to byet array contain in tencoded ASN.1
+ * @param data         Pointer to byte array contain in tencoded ASN.1
  *                       value.
  * @return             - none
  */
diff --git a/addons/ooh323c/src/h323/H323-MESSAGES.h b/addons/ooh323c/src/h323/H323-MESSAGES.h
index eb32ad9..0ae8d5d 100644
--- a/addons/ooh323c/src/h323/H323-MESSAGES.h
+++ b/addons/ooh323c/src/h323/H323-MESSAGES.h
@@ -1926,7 +1926,7 @@
    } m;
    H225NonStandardParameter nonStandard;
    H225SecurityServiceMode encryption;
-   H225SecurityServiceMode authenticaton;
+   H225SecurityServiceMode authentication;
    H225SecurityServiceMode integrity;
 } H225SecurityCapabilities;
 
diff --git a/addons/ooh323c/src/h323/H323-MESSAGESDec.c b/addons/ooh323c/src/h323/H323-MESSAGESDec.c
index 4a641e4..7fcb747 100644
--- a/addons/ooh323c/src/h323/H323-MESSAGESDec.c
+++ b/addons/ooh323c/src/h323/H323-MESSAGESDec.c
@@ -6357,14 +6357,14 @@
 
    invokeEndElement (pctxt, "encryption", -1);
 
-   /* decode authenticaton */
+   /* decode authentication */
 
-   invokeStartElement (pctxt, "authenticaton", -1);
+   invokeStartElement (pctxt, "authentication", -1);
 
-   stat = asn1PD_H225SecurityServiceMode (pctxt, &pvalue->authenticaton);
+   stat = asn1PD_H225SecurityServiceMode (pctxt, &pvalue->authentication);
    if (stat != ASN_OK) return stat;
 
-   invokeEndElement (pctxt, "authenticaton", -1);
+   invokeEndElement (pctxt, "authentication", -1);
 
    /* decode integrity */
 
diff --git a/addons/ooh323c/src/h323/H323-MESSAGESEnc.c b/addons/ooh323c/src/h323/H323-MESSAGESEnc.c
index 2015900..1c3948f 100644
--- a/addons/ooh323c/src/h323/H323-MESSAGESEnc.c
+++ b/addons/ooh323c/src/h323/H323-MESSAGESEnc.c
@@ -4408,9 +4408,9 @@
    stat = asn1PE_H225SecurityServiceMode (pctxt, &pvalue->encryption);
    if (stat != ASN_OK) return stat;
 
-   /* encode authenticaton */
+   /* encode authentication */
 
-   stat = asn1PE_H225SecurityServiceMode (pctxt, &pvalue->authenticaton);
+   stat = asn1PE_H225SecurityServiceMode (pctxt, &pvalue->authentication);
    if (stat != ASN_OK) return stat;
 
    /* encode integrity */
diff --git a/addons/ooh323c/src/memheap.c b/addons/ooh323c/src/memheap.c
index 33be667..5446522 100644
--- a/addons/ooh323c/src/memheap.c
+++ b/addons/ooh323c/src/memheap.c
@@ -265,7 +265,7 @@
                   if (nunits <= (ASN1UINT)pElem_nunits (pElem)) {
                      RTMEMDIAG3
                         ("memHeapAlloc: "
-                         "found an exisiting free element 0x%x, size %d\n",
+                         "found an existing free element 0x%x, size %d\n",
                         pElem, (pElem_nunits (pElem) * 8u));
 
                      if (pMemBlk->freeElemOff ==
@@ -1214,7 +1214,7 @@
 
    /* if pMemBlk has RTMEMLINK flags it means that it is allocated
     * cooperatively with OSMemLink, and we don't need to do additional
-    * allocations for it. Just use pointer's arithemtic. */
+    * allocations for it. Just use pointer's arithmetic. */
 
    if (blockType & RTMEMLINK)
       pMemLink = (OSMemLink*) (((ASN1OCTET*)pMemBlk) - sizeof (OSMemLink));
diff --git a/addons/ooh323c/src/ooCalls.c b/addons/ooh323c/src/ooCalls.c
index 15ab325..ee4fc89 100644
--- a/addons/ooh323c/src/ooCalls.c
+++ b/addons/ooh323c/src/ooCalls.c
@@ -783,7 +783,7 @@
 
 
 
-/* Checks whether session with suplied ID and direction is already active*/
+/* Checks whether session with supplied ID and direction is already active*/
 ASN1BOOL ooIsSessionEstablished(OOH323CallData *call, int sessionID, char* dir)
 {
    OOLogicalChannel * temp = NULL;
diff --git a/addons/ooh323c/src/ooCapability.h b/addons/ooh323c/src/ooCapability.h
index ce9cc39..36bb1a5 100644
--- a/addons/ooh323c/src/ooCapability.h
+++ b/addons/ooh323c/src/ooCapability.h
@@ -294,7 +294,7 @@
  * and txframes parameters to the endpoint or call.(ex. G711, G728, G723.1,
  * G729)
  * @param call                 Handle to a call. If this is not Null, then
- *                             capability is added to call's remote enpoint
+ *                             capability is added to call's remote endpoint
  *                             capability list, else it is added to local H323
  *                             endpoint list.
  * @param cap                  Type of G711 capability to be added.
@@ -326,7 +326,7 @@
  * to local endpoints capability list or to remote endpoints capability list or
  * to a call's capability list.
  * @param call                 Handle to a call. If this is not Null, then
- *                             capability is added to call's remote enpoint
+ *                             capability is added to call's remote endpoint
  *                             capability list, else it is added to local H323
  *                             endpoint list.
  * @param cap                  Type of GSM capability to be added.
@@ -357,7 +357,7 @@
  * capability list or to remote endpoints capability list or to a call's
  * capability list.
  * @param call                 Handle to a call. If this is not Null, then
- *                             capability is added to call's remote enpoint
+ *                             capability is added to call's remote endpoint
  *                             capability list, else it is added to local H323
  *                             endpoint list.
  * @param sqcifMPI             Minimum picture interval for encoding/decoding
@@ -396,7 +396,7 @@
 /**
  * This function is an helper function to ooCapabilityAddH263VideoCapability.
  * @param call                 Handle to a call. If this is not Null, then
- *                             capability is added to call's remote enpoint
+ *                             capability is added to call's remote endpoint
  *                             capability list, else it is added to local H323
  *                             endpoint list.
  * @param sqcifMPI             Minimum picture interval for encoding/decoding
@@ -717,11 +717,11 @@
 EXTERN int ooChangeCapPrefOrder(struct OOH323CallData *call, int cap, int pos);
 
 /**
- * This function is used to preppend a particular capability to preference
+ * This function is used to prepend a particular capability to preference
  * list.
  * @param call     Handle to call, if call's preference list has to be modified
  *                 else NULL, to modify endpoint's preference list.
- * @param cap      Capability to be preppended.
+ * @param cap      Capability to be prepended.
  *
  * @return         OO_OK, on success. OO_FAILED, otherwise.
  */
diff --git a/addons/ooh323c/src/ooCmdChannel.c b/addons/ooh323c/src/ooCmdChannel.c
index 0cdb9dd..ec38c4a 100644
--- a/addons/ooh323c/src/ooCmdChannel.c
+++ b/addons/ooh323c/src/ooCmdChannel.c
@@ -186,7 +186,7 @@
                 if(!pCall) {
                    OOTRACEINFO2("Call \"%s\" does not exist\n",
                                 (char*)cmd.param1);
-                   OOTRACEINFO1("Call migth be cleared/closed\n");
+                   OOTRACEINFO1("Call might be cleared/closed\n");
                 }
                 else {
                      ooSendProgress(ooFindCallByToken((char*)cmd.param1));
@@ -200,7 +200,7 @@
                   if(!pCall) {
                      OOTRACEINFO2("Call \"%s\" does not exist\n",
                                   (char*)cmd.param1);
-                     OOTRACEINFO1("Call migth be cleared/closed\n");
+                     OOTRACEINFO1("Call might be cleared/closed\n");
                   }
                   else {
                      ooSendAlerting(ooFindCallByToken((char*)cmd.param1));
diff --git a/addons/ooh323c/src/ooGkClient.c b/addons/ooh323c/src/ooGkClient.c
index 5ec33ee..174baab 100644
--- a/addons/ooh323c/src/ooGkClient.c
+++ b/addons/ooh323c/src/ooGkClient.c
@@ -1231,7 +1231,7 @@
                                 (&pGkClient->ctxt, sizeof(ooGkClientTimerCb));
       if(!cbData)
       {
-         OOTRACEERR1("Error:Failed to allocate memory for Regisration timer."
+         OOTRACEERR1("Error:Failed to allocate memory for Registration timer."
                      "\n");
          pGkClient->state = GkClientFailed;
          return OO_FAILED;
@@ -1927,7 +1927,7 @@
                                (&pGkClient->ctxt, sizeof(ooGkClientTimerCb));
    if(!cbData)
    {
-      OOTRACEERR1("Error:Failed to allocate memory for Regisration timer."
+      OOTRACEERR1("Error:Failed to allocate memory for Registration timer."
                   "\n");
       pGkClient->state = GkClientFailed;
       ast_mutex_unlock(&pGkClient->Lock);
diff --git a/addons/ooh323c/src/ooGkClient.h b/addons/ooh323c/src/ooGkClient.h
index e529b4a..b7bde93 100644
--- a/addons/ooh323c/src/ooGkClient.h
+++ b/addons/ooh323c/src/ooGkClient.h
@@ -318,7 +318,7 @@
 
 
 /**
- * This function is used to send a message on Gatekeeper clien't RAS channel.
+ * This function is used to send a message on Gatekeeper client RAS channel.
  * @param pGkClient   Handle to the gatekeeper client.
  * @param pRasMsg     Handle to Ras message to be sent.
  *
diff --git a/addons/ooh323c/src/ooLogChan.c b/addons/ooh323c/src/ooLogChan.c
index 05b152a..2b659b3 100644
--- a/addons/ooh323c/src/ooLogChan.c
+++ b/addons/ooh323c/src/ooLogChan.c
@@ -78,7 +78,7 @@
       OOTRACEDBGC3("Using configured media info (%s, %s)\n", call->callType,
                    call->callToken);
       pNewChannel->localRtpPort = pMediaInfo->lMediaRedirPort ? pMediaInfo->lMediaRedirPort : pMediaInfo->lMediaPort;
-      /* check MediaRedirPort here because RedirCPort is ReditPort + 1 and can't be 0 ;) */
+      /* check MediaRedirPort here because RedirCPort is RedirPort + 1 and can't be 0 ;) */
       pNewChannel->localRtcpPort = pMediaInfo->lMediaRedirPort ? pMediaInfo->lMediaRedirCPort : pMediaInfo->lMediaCntrlPort;
       /* If user application has not specified a specific ip and is using
          multihomed mode, substitute appropriate ip.
diff --git a/addons/ooh323c/src/ooSocket.h b/addons/ooh323c/src/ooSocket.h
index b4cbf88..d22382f 100644
--- a/addons/ooh323c/src/ooSocket.h
+++ b/addons/ooh323c/src/ooSocket.h
@@ -318,7 +318,7 @@
 
 /**
  * This function is used for synchronous monitoring of multiple sockets.
- * For more information refer to documnetation of "select" system call.
+ * For more information refer to documentation of "select" system call.
  *
  * @param nfds         The highest numbered descriptor to be monitored
  *                     plus one.
diff --git a/addons/ooh323c/src/ooUtils.c b/addons/ooh323c/src/ooUtils.c
index c71933c..fb60746 100644
--- a/addons/ooh323c/src/ooUtils.c
+++ b/addons/ooh323c/src/ooUtils.c
@@ -30,7 +30,7 @@
 }
 
 
-OOBOOL ooIsDailedDigit(const char* str)
+OOBOOL ooIsDialedDigit(const char* str)
 {
    if(str == NULL || *str =='\0') { return FALSE; }
    while(*str != '\0')
diff --git a/addons/ooh323c/src/ooUtils.h b/addons/ooh323c/src/ooUtils.h
index 78aee32..ff9b16d 100644
--- a/addons/ooh323c/src/ooUtils.h
+++ b/addons/ooh323c/src/ooUtils.h
@@ -48,6 +48,6 @@
  * @param str    String to test
  * @return       TRUE if string contains all digits; FALSE otherwise
  */
-EXTERN OOBOOL ooIsDailedDigit(const char* str);
+EXTERN OOBOOL ooIsDialedDigit(const char* str);
 
 #endif
diff --git a/addons/ooh323c/src/ooasn1.h b/addons/ooh323c/src/ooasn1.h
index 4fee621..9315150 100644
--- a/addons/ooh323c/src/ooasn1.h
+++ b/addons/ooh323c/src/ooasn1.h
@@ -607,7 +607,7 @@
 /**
  * This function initializes a context block. It makes sure that if the block
  * was not previosly initialized, that all key working parameters are set to
- * thier correct initial state values (i.e. declared within a function as a
+ * their correct initial state values (i.e. declared within a function as a
  * normal working variable), it is required that they invoke this function
  * before using it.
  *
diff --git a/addons/ooh323c/src/oochannels.c b/addons/ooh323c/src/oochannels.c
index 3add1f3..8250c8b 100644
--- a/addons/ooh323c/src/oochannels.c
+++ b/addons/ooh323c/src/oochannels.c
@@ -297,7 +297,7 @@
       {
          call->pH225Channel->sock = channelSocket;
 
-         OOTRACEINFO3("H2250 transmiter channel creation - successful "
+         OOTRACEINFO3("H2250 transmitter channel creation - successful "
                       "(%s, %s)\n", call->callType, call->callToken);
 
          /* If multihomed, get ip from socket */
diff --git a/addons/ooh323c/src/ooh245.c b/addons/ooh323c/src/ooh245.c
index fe8ff28..014e49d 100644
--- a/addons/ooh323c/src/ooh245.c
+++ b/addons/ooh323c/src/ooh245.c
@@ -2559,7 +2559,7 @@
    if (lChannel->state == OO_LOGICALCHAN_ESTABLISHED) {
      ret = ooSendCloseLogicalChannel(call, lChannel);
      if (ret != OO_OK) {
-      OOTRACEERR3("ERROR:Failed to build CloseLgicalChannel message(%s, %s)\n",
+      OOTRACEERR3("ERROR:Failed to build CloseLogicalChannel message(%s, %s)\n",
                    call->callType, call->callToken);
       return OO_FAILED;
      }
diff --git a/addons/ooh323c/src/ooh245.h b/addons/ooh323c/src/ooh245.h
index 9635a4e..362ed7d 100644
--- a/addons/ooh323c/src/ooh245.h
+++ b/addons/ooh323c/src/ooh245.h
@@ -174,7 +174,7 @@
  * MasterSlaveDetermination procedure.
  * @param call        Handle to the call for which MasterSlaveReject is
  *                    received.
- * @param reject      Poinetr to the received reject message.
+ * @param reject      Pointer to the received reject message.
  *
  * @return            OO_OK, on success. OO_FAILED, on failure.
  */
@@ -271,7 +271,7 @@
    (OOH323CallData *call, H245UserInputIndication *indication);
 
 /**
- * This function is called on receiving a TreminalCapabilitySetAck message.
+ * This function is called on receiving a TerminalCapabilitySetAck message.
  * If the MasterSlaveDetermination process is also over, this function
  * initiates the process of opening logical channels.
  * @param call          Pointer to call for which TCSAck is received.
diff --git a/addons/ooh323c/src/ooh323.c b/addons/ooh323c/src/ooh323.c
index ebdf75a..93e9045 100644
--- a/addons/ooh323c/src/ooh323.c
+++ b/addons/ooh323c/src/ooh323.c
@@ -616,7 +616,7 @@
               removeEventHandler(call->pctxt);
               return OO_FAILED;
          }
-         /* For now, just add decoded fast start elemts to list. This list
+         /* For now, just add decoded fast start elements to list. This list
             will be processed at the time of sending CONNECT message. */
          dListAppend(call->pctxt, &call->remoteFastStartOLCs, olc);
       }
diff --git a/addons/ooh323c/src/ooh323ep.c b/addons/ooh323c/src/ooh323ep.c
index be43896..5ae3444 100644
--- a/addons/ooh323c/src/ooh323ep.c
+++ b/addons/ooh323c/src/ooh323ep.c
@@ -65,7 +65,7 @@
    }
 
    /* Initialize default port ranges that will be used by stack.
-      Apps can override these by explicitely setting port ranges
+      Apps can override these by explicitly setting port ranges
    */
 
    gH323ep.tcpPorts.start = TCPPORTSSTART;
diff --git a/addons/ooh323c/src/ooq931.c b/addons/ooh323c/src/ooq931.c
index fc18703..fe8b06e 100644
--- a/addons/ooh323c/src/ooq931.c
+++ b/addons/ooh323c/src/ooq931.c
@@ -1210,7 +1210,7 @@
          pChannel = ooFindLogicalChannelByLogicalChannelNo
                       (pCall, olc->forwardLogicalChannelNumber);
 
-         /* start receive and tramsmit channel listening */
+         /* start receive and transmit channel listening */
          if(dir & OORX)
          {
             strcpy(pChannel->remoteIP, remoteMediaControlIP);
@@ -2025,7 +2025,7 @@
    /* OOCTXT *pctxt = &gH323ep.msgctxt; */
    OOCTXT *pctxt = call->msgctxt;
 
-   OOTRACEDBGC3("Building StatusInquryMsg (%s, %s)\n", call->callType,
+   OOTRACEDBGC3("Building StatusInquiryMsg (%s, %s)\n", call->callType,
                  call->callToken);
    ret = ooCreateQ931Message(pctxt, &q931msg, Q931StatusEnquiryMsg);
    if(ret != OO_OK)
@@ -2987,7 +2987,7 @@
          }
          if(!epCap)
          {
-            OOTRACEWARN4("Warn:Preferred capability %s is abscent in "
+            OOTRACEWARN4("Warn:Preferred capability %s is absent in "
                          "capability list. (%s, %s)\n",
                          ooGetCapTypeText(call->capPrefs.order[k]),
                          call->callType, call->callToken);
diff --git a/addons/ooh323c/src/ooq931.h b/addons/ooh323c/src/ooq931.h
index 31e53e9..03b257c 100644
--- a/addons/ooh323c/src/ooq931.h
+++ b/addons/ooh323c/src/ooq931.h
@@ -582,7 +582,7 @@
  * @param dest      Destination string to be parsed.
  * @param parsedIP  Pointer to buffer in which parsed ip:port will be returned.
  * @param len       Length of the buffer passed.
- * @param aliasList Aliase List in which new aliases will be added.
+ * @param aliasList Aliases List in which new aliases will be added.
  *
  * @return          OO_OK, on success. OO_FAILED, on failure.
  */

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17320
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I8548438246f7b718d88e0b9e0a1eb384bbec88e4
Gerrit-Change-Number: 17320
Gerrit-PatchSet: 1
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211107/0c98253f/attachment-0001.html>


More information about the asterisk-code-review mailing list