From 01697d48362ccd2b172c9cdc5de91de1115fc843 Mon Sep 17 00:00:00 2001 From: Josh Soref Date: Sat, 30 Oct 2021 21:04:34 -0400 Subject: [PATCH] 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 --- addons/chan_mobile.c | 20 ++++++++++---------- addons/chan_ooh323.c | 6 +++--- addons/ooh323c/README | 2 +- addons/ooh323c/src/decode.c | 2 +- addons/ooh323c/src/encode.c | 4 ++-- addons/ooh323c/src/eventHandler.h | 6 +++--- addons/ooh323c/src/h323/H323-MESSAGES.h | 2 +- addons/ooh323c/src/h323/H323-MESSAGESDec.c | 8 ++++---- addons/ooh323c/src/h323/H323-MESSAGESEnc.c | 4 ++-- addons/ooh323c/src/memheap.c | 4 ++-- addons/ooh323c/src/ooCalls.c | 2 +- addons/ooh323c/src/ooCapability.h | 12 ++++++------ addons/ooh323c/src/ooCmdChannel.c | 4 ++-- addons/ooh323c/src/ooGkClient.c | 4 ++-- addons/ooh323c/src/ooGkClient.h | 2 +- addons/ooh323c/src/ooLogChan.c | 2 +- addons/ooh323c/src/ooSocket.h | 2 +- addons/ooh323c/src/ooUtils.c | 2 +- addons/ooh323c/src/ooUtils.h | 2 +- addons/ooh323c/src/ooasn1.h | 2 +- addons/ooh323c/src/oochannels.c | 2 +- addons/ooh323c/src/ooh245.c | 2 +- addons/ooh323c/src/ooh245.h | 4 ++-- addons/ooh323c/src/ooh323.c | 2 +- addons/ooh323c/src/ooh323ep.c | 2 +- addons/ooh323c/src/ooq931.c | 6 +++--- addons/ooh323c/src/ooq931.h | 2 +- 27 files changed, 56 insertions(+), 56 deletions(-) diff --git a/addons/chan_mobile.c b/addons/chan_mobile.c index 240c2d4ee6..c77ca7aee1 100644 --- a/addons/chan_mobile.c +++ b/addons/chan_mobile.c @@ -102,7 +102,7 @@ struct adapter_pvt { 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 @@ static int at_match_prefix(char *buf, char *prefix) } /*! - * \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 @@ static int hfp_parse_ecav(struct hfp_pvt *hfp, char *buf) } /*! - * \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 @@ static void msg_queue_free_and_pop(struct mbl_pvt *pvt) } /*! - * \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 @@ static int handle_response_ok(struct mbl_pvt *pvt, char *buf) } 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 @@ static int handle_response_ciev(struct mbl_pvt *pvt, char *buf) 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 @@ static int handle_response_ciev(struct mbl_pvt *pvt, char *buf) 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 @@ static struct adapter_pvt *mbl_load_adapter(struct ast_config *cfg, const char * /* 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 @@ static struct adapter_pvt *mbl_load_adapter(struct ast_config *cfg, const char * /* 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 @@ static struct mbl_pvt *mbl_load_device(struct ast_config *cfg, const char *cat) } 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 c878041129..814022c260 100644 --- a/addons/chan_ooh323.c +++ b/addons/chan_ooh323.c @@ -2055,7 +2055,7 @@ int onOutgoingCall(ooCallData *call) } 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 @@ int onNewCallCreated(ooCallData *call) } 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 @@ int onNewCallCreated(ooCallData *call) 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 3231747098..a4a0036af5 100644 --- a/addons/ooh323c/README +++ b/addons/ooh323c/README @@ -75,7 +75,7 @@ To run the stack test application chansetup 3. For running calling instance ./h323peer [--use-ip ip] -n -duration - -interval destination + -interval 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 d0579c69b5..c260d8c0ad 100644 --- a/addons/ooh323c/src/decode.c +++ b/addons/ooh323c/src/decode.c @@ -417,7 +417,7 @@ int decodeDynBitString (OOCTXT* pctxt, ASN1DynBitStr* pBitStr) 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 b48733be84..4d12912982 100644 --- a/addons/ooh323c/src/encode.c +++ b/addons/ooh323c/src/encode.c @@ -1007,7 +1007,7 @@ int encode2sCompBinInt (OOCTXT* pctxt, ASN1INT value) { /* 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 @@ static int encodeNonNegBinInt (OOCTXT* pctxt, ASN1UINT value) /* 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 32719c58a8..0f98f333d0 100644 --- a/addons/ooh323c/src/eventHandler.h +++ b/addons/ooh323c/src/eventHandler.h @@ -49,7 +49,7 @@ extern "C" { * 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 @@ typedef void (*StartElement) (const char* name, int index) ; * 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 @@ typedef void (*EnumValue) (ASN1UINT value) ; * 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 eb32ad9c9d..0ae8d5d75d 100644 --- a/addons/ooh323c/src/h323/H323-MESSAGES.h +++ b/addons/ooh323c/src/h323/H323-MESSAGES.h @@ -1926,7 +1926,7 @@ typedef struct EXTERN H225SecurityCapabilities { } 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 4a641e43b8..7fcb747686 100644 --- a/addons/ooh323c/src/h323/H323-MESSAGESDec.c +++ b/addons/ooh323c/src/h323/H323-MESSAGESDec.c @@ -6357,14 +6357,14 @@ EXTERN int asn1PD_H225SecurityCapabilities (OOCTXT* pctxt, H225SecurityCapabilit 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 20159008ac..1c3948fc80 100644 --- a/addons/ooh323c/src/h323/H323-MESSAGESEnc.c +++ b/addons/ooh323c/src/h323/H323-MESSAGESEnc.c @@ -4408,9 +4408,9 @@ EXTERN int asn1PE_H225SecurityCapabilities (OOCTXT* pctxt, H225SecurityCapabilit 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 33be66765e..5446522ceb 100644 --- a/addons/ooh323c/src/memheap.c +++ b/addons/ooh323c/src/memheap.c @@ -265,7 +265,7 @@ void* memHeapAlloc (void** ppvMemHeap, int nbytes) 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 @@ static OSMemLink* memHeapAddBlock (OSMemLink** ppMemLink, /* 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 15ab3258f4..ee4fc895b4 100644 --- a/addons/ooh323c/src/ooCalls.c +++ b/addons/ooh323c/src/ooCalls.c @@ -783,7 +783,7 @@ OOH323CallData* ooFindCallByToken(const char *callToken) -/* 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 ce9cc392f4..36bb1a5b5a 100644 --- a/addons/ooh323c/src/ooCapability.h +++ b/addons/ooh323c/src/ooCapability.h @@ -294,7 +294,7 @@ EXTERN int ooCapabilityDisableDTMFQ931Keypad(struct OOH323CallData *call); * 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 @@ EXTERN int ooCapabilityAddSimpleCapability * 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 @@ int ooCapabilityAddGSMCapability(struct OOH323CallData *call, int cap, * 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 @@ EXTERN int ooCapabilityAddH263VideoCapability(struct OOH323CallData *call, /** * 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 ooAppendCapToCapPrefs(struct OOH323CallData *call, int cap); 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 0cdb9dddfe..ec38c4afcb 100644 --- a/addons/ooh323c/src/ooCmdChannel.c +++ b/addons/ooh323c/src/ooCmdChannel.c @@ -186,7 +186,7 @@ int ooReadAndProcessStackCommand() 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 @@ int ooReadAndProcessStackCommand() 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 5ec33eef93..174baab125 100644 --- a/addons/ooh323c/src/ooGkClient.c +++ b/addons/ooh323c/src/ooGkClient.c @@ -1231,7 +1231,7 @@ int ooGkClientHandleRegistrationConfirm (&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 @@ int ooGkClientSendAdmissionRequest (&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 e529b4a987..b7bde935aa 100644 --- a/addons/ooh323c/src/ooGkClient.h +++ b/addons/ooh323c/src/ooGkClient.h @@ -318,7 +318,7 @@ EXTERN int ooGkClientHandleRASMessage /** - * 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 05b152a86f..2b659b3f96 100644 --- a/addons/ooh323c/src/ooLogChan.c +++ b/addons/ooh323c/src/ooLogChan.c @@ -78,7 +78,7 @@ OOLogicalChannel* ooAddNewLogicalChannel(OOH323CallData *call, int channelNo, 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 b4cbf881b5..d22382fff3 100644 --- a/addons/ooh323c/src/ooSocket.h +++ b/addons/ooh323c/src/ooSocket.h @@ -318,7 +318,7 @@ EXTERN int ooSocketSendTo(OOSOCKET socket, const ASN1OCTET* pdata, /** * 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 c71933cb73..fb60746f6a 100644 --- a/addons/ooh323c/src/ooUtils.c +++ b/addons/ooh323c/src/ooUtils.c @@ -30,7 +30,7 @@ OOBOOL ooUtilsIsStrEmpty (const char* str) } -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 78aee325c0..ff9b16d165 100644 --- a/addons/ooh323c/src/ooUtils.h +++ b/addons/ooh323c/src/ooUtils.h @@ -48,6 +48,6 @@ EXTERN OOBOOL ooUtilsIsStrEmpty (const char * str); * @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 4fee621160..9315150441 100644 --- a/addons/ooh323c/src/ooasn1.h +++ b/addons/ooh323c/src/ooasn1.h @@ -607,7 +607,7 @@ EXTERN int initContextBuffer /** * 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 3add1f30c6..8250c8b2f9 100644 --- a/addons/ooh323c/src/oochannels.c +++ b/addons/ooh323c/src/oochannels.c @@ -297,7 +297,7 @@ int ooCreateH225Connection(OOH323CallData *call) { 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 fe8ff28e08..014e49d570 100644 --- a/addons/ooh323c/src/ooh245.c +++ b/addons/ooh323c/src/ooh245.c @@ -2559,7 +2559,7 @@ int ooOnReceivedRequestChannelClose(OOH323CallData *call, 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 9635a4e10c..362ed7ddae 100644 --- a/addons/ooh323c/src/ooh245.h +++ b/addons/ooh323c/src/ooh245.h @@ -174,7 +174,7 @@ EXTERN int ooSendMasterSlaveDeterminationReject (struct OOH323CallData* call); * 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 @@ EXTERN int ooOnReceivedUserInputIndication (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 ebdf75a342..93e90454c2 100644 --- a/addons/ooh323c/src/ooh323.c +++ b/addons/ooh323c/src/ooh323.c @@ -616,7 +616,7 @@ int ooOnReceivedSetup(OOH323CallData *call, Q931Message *q931Msg) 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 be43896e18..5ae344432a 100644 --- a/addons/ooh323c/src/ooh323ep.c +++ b/addons/ooh323c/src/ooh323ep.c @@ -65,7 +65,7 @@ int ooH323EpInitialize } /* 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 fc18703921..fe8b06ebee 100644 --- a/addons/ooh323c/src/ooq931.c +++ b/addons/ooh323c/src/ooq931.c @@ -1210,7 +1210,7 @@ int ooSetFastStartResponse(OOH323CallData *pCall, Q931Message *pQ931msg, 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 @@ int ooSendStatusInquiry(OOH323CallData *call) /* 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 @@ int ooH323MakeCall_helper(OOH323CallData *call) } 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 31e53e9295..03b257c668 100644 --- a/addons/ooh323c/src/ooq931.h +++ b/addons/ooh323c/src/ooq931.h @@ -582,7 +582,7 @@ EXTERN int ooH323MakeCall_helper(struct OOH323CallData *call); * @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. */