[Asterisk-code-review] spelling: response (asterisk[master])

Josh Soref asteriskteam at digium.com
Sun Nov 7 00:16:16 CDT 2021


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


Change subject: spelling: response
......................................................................

spelling: response

Change-Id: I95521924b6d47f05b07368dc08c3df7c4971a692
---
M CHANGES
M apps/app_sms.c
M apps/app_voicemail.c
M channels/chan_sip.c
M include/asterisk/utils.h
M main/manager.c
M main/stun.c
M main/utils.c
M res/res_rtp_asterisk.c
9 files changed, 10 insertions(+), 10 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/64/17164/1

diff --git a/CHANGES b/CHANGES
index c6b1fd4..6bc58b0 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1530,7 +1530,7 @@
 
 AMI
 ------------------
- * The 'PJSIPShowEndpoint' command's respone event of 'IdentifyDetail' now
+ * The 'PJSIPShowEndpoint' command's response event of 'IdentifyDetail' now
    contains a new optional parameter, 'MatchHeader', mapping to the new
    configuration option 'match_header' for the corresponding 'identify' object.
    It should be noted that since 'match_header' takes in a key: value pair, the
diff --git a/apps/app_sms.c b/apps/app_sms.c
index 043d30a..9f8cf3e 100644
--- a/apps/app_sms.c
+++ b/apps/app_sms.c
@@ -103,7 +103,7 @@
 			<para>"Messages are processed as per text file message queues. smsq (a separate software) is a command to
 			generate message queues and send messages.</para>
 			<note><para>The protocol has tight delay bounds. Please use short frames and disable/keep short the
-			jitter buffer on the ATA to make sure that respones (ACK etc.) are received in time.</para></note>
+			jitter buffer on the ATA to make sure that responses (ACK etc.) are received in time.</para></note>
 		</description>
 	</application>
  ***/
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index f750c46..dc0520d 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -15015,7 +15015,7 @@
 		ast_copy_string(vminfo_args, test_items[test_counter].vminfo_test_args, sizeof(vminfo_args));
 		test_ret = acf_vm_info(chan, vminfo_cmd, vminfo_args, vminfo_buf, sizeof(vminfo_buf));
 		if (strcmp(vminfo_buf, test_items[test_counter].vminfo_expected)) {
-			ast_test_status_update(test, "VM_INFO respose was: '%s', but expected: '%s'\n", vminfo_buf, test_items[test_counter].vminfo_expected);
+			ast_test_status_update(test, "VM_INFO response was: '%s', but expected: '%s'\n", vminfo_buf, test_items[test_counter].vminfo_expected);
 			res = AST_TEST_FAIL;
 		}
 		if (!(test_ret == test_items[test_counter].vminfo_ret)) {
diff --git a/channels/chan_sip.c b/channels/chan_sip.c
index 23634d0..cb4f03e 100644
--- a/channels/chan_sip.c
+++ b/channels/chan_sip.c
@@ -29139,7 +29139,7 @@
 			ast_log(LOG_WARNING, "Invalid SIP response code: '%d'\n", respid);
 			return 0;
 		}
-		/* RFC 3261 - 8.1.3.3 If more than one Via header field value is present in a reponse
+		/* RFC 3261 - 8.1.3.3 If more than one Via header field value is present in a response
 		 * the UAC SHOULD discard the message. This is not perfect, as it will not catch multiple
 		 * headers joined with a comma. Fixing that would pretty much involve writing a new parser */
 		if (!ast_strlen_zero(__get_header(req, "via", &via_pos))) {
diff --git a/include/asterisk/utils.h b/include/asterisk/utils.h
index 08120bf..59cd638 100644
--- a/include/asterisk/utils.h
+++ b/include/asterisk/utils.h
@@ -676,7 +676,7 @@
 /*!
  * \brief Parse digest authorization header.
  * \return Returns -1 if we have no auth or something wrong with digest.
- * \note This function may be used for Digest request and responce header.
+ * \note This function may be used for Digest request and response header.
  * request arg is set to nonzero, if we parse Digest Request.
  * pedantic arg can be set to nonzero if we need to do addition Digest check.
  */
diff --git a/main/manager.c b/main/manager.c
index bc52c2d..d25de5b 100644
--- a/main/manager.c
+++ b/main/manager.c
@@ -1006,7 +1006,7 @@
 			<syntax>
 				<xi:include xpointer="xpointer(/docs/manager[@name='Login']/syntax/parameter[@name='ActionID'])" />
 				<parameter name="EventList">
-					<para>Conveys the status of the command reponse list</para>
+					<para>Conveys the status of the command response list</para>
 				</parameter>
 				<parameter name="ListItems">
 					<para>The total number of list items produced</para>
diff --git a/main/stun.c b/main/stun.c
index 7a8e0e5..b46d30a 100644
--- a/main/stun.c
+++ b/main/stun.c
@@ -502,7 +502,7 @@
 			/* Bad STUN packet, not right type, or transaction ID did not match. */
 			memset(answer, 0, sizeof(struct sockaddr_in));
 
-			/* Was not a resonse to our request. */
+			/* Was not a response to our request. */
 			goto try_again;
 		}
 		/* Success.  answer contains the external address if available. */
diff --git a/main/utils.c b/main/utils.c
index f4a026d..6fbe126 100644
--- a/main/utils.c
+++ b/main/utils.c
@@ -2383,7 +2383,7 @@
 /*!
  *\brief Parse digest authorization header.
  *\return Returns -1 if we have no auth or something wrong with digest.
- *\note	This function may be used for Digest request and responce header.
+ *\note	This function may be used for Digest request and response header.
  * request arg is set to nonzero, if we parse Digest Request.
  * pedantic arg can be set to nonzero if we need to do addition Digest check.
  */
diff --git a/res/res_rtp_asterisk.c b/res/res_rtp_asterisk.c
index 4454778..357b692 100644
--- a/res/res_rtp_asterisk.c
+++ b/res/res_rtp_asterisk.c
@@ -3671,7 +3671,7 @@
 
 		/*
 		 * The instance should not be locked because we can block
-		 * waiting for a STUN respone.
+		 * waiting for a STUN response.
 		 */
 		ao2_unlock(instance);
 		rsp = ast_stun_request(component == AST_RTP_ICE_COMPONENT_RTCP
@@ -8769,7 +8769,7 @@
 
 	/*
 	 * The instance should not be locked because we can block
-	 * waiting for a STUN respone.
+	 * waiting for a STUN response.
 	 */
 	ast_sockaddr_to_sin(suggestion, &suggestion_tmp);
 	ast_stun_request(rtp->s, &suggestion_tmp, username, NULL);

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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I95521924b6d47f05b07368dc08c3df7c4971a692
Gerrit-Change-Number: 17164
Gerrit-PatchSet: 1
Gerrit-Owner: Josh Soref <jsoref at gmail.com>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20211107/43dea025/attachment-0001.html>


More information about the asterisk-code-review mailing list