<p>Friendly Automation <strong>submitted</strong> this change.</p><p><a href="https://gerrit.asterisk.org/c/asterisk/+/17412">View Change</a></p><div style="white-space:pre-wrap">Approvals:
  George Joseph: Looks good to me, approved
  Friendly Automation: Approved for Submit

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

<div style="display:none"> Gerrit-Project: asterisk </div>
<div style="display:none"> Gerrit-Branch: 19 </div>
<div style="display:none"> Gerrit-Change-Id: I8548438246f7b718d88e0b9e0a1eb384bbec88e4 </div>
<div style="display:none"> Gerrit-Change-Number: 17412 </div>
<div style="display:none"> Gerrit-PatchSet: 1 </div>
<div style="display:none"> Gerrit-Owner: Josh Soref <jsoref@gmail.com> </div>
<div style="display:none"> Gerrit-Reviewer: Friendly Automation </div>
<div style="display:none"> Gerrit-Reviewer: George Joseph <gjoseph@digium.com> </div>
<div style="display:none"> Gerrit-MessageType: merged </div>