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

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


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


Change subject: spelling: threshold
......................................................................

spelling: threshold

Change-Id: I9f285cd786a57fe1b0e23961a6f91a04594e5b3e
---
M apps/app_minivm.c
M apps/app_sms.c
M apps/app_voicemail.c
M configs/samples/sip.conf.sample
4 files changed, 4 insertions(+), 4 deletions(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/51/17251/1

diff --git a/apps/app_minivm.c b/apps/app_minivm.c
index 89bd585..6d73ad1 100644
--- a/apps/app_minivm.c
+++ b/apps/app_minivm.c
@@ -2828,7 +2828,7 @@
 			/* External voicemail notify application */
 			ast_copy_string(global_externnotify, var->value, sizeof(global_externnotify));
 		} else if (!strcmp(var->name, "silencethreshold")) {
-			/* Silence treshold */
+			/* Silence threshold */
 			global_silencethreshold = atoi(var->value);
 		} else if (!strcmp(var->name, "maxmessage")) {
 			int x;
diff --git a/apps/app_sms.c b/apps/app_sms.c
index 9f8cf3e..5a04f58 100644
--- a/apps/app_sms.c
+++ b/apps/app_sms.c
@@ -1730,7 +1730,7 @@
 		} else {
 			h->imag = h->imag * 7 / 8;
 		}
-		if (h->imag <= 500) {               /* below [arbitrary] threahold: lost carrier */
+		if (h->imag <= 500) {               /* below [arbitrary] threshold: lost carrier */
 			if (h->idle++ == 80000) {       /* nothing happening */
 				ast_log(LOG_NOTICE, "No data, hanging up\n");
 				h->hangup = 1;
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index e11e1b9..263d489 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -13949,7 +13949,7 @@
 			}
 		}
 
-		/* Silence treshold */
+		/* Silence threshold */
 		silencethreshold = ast_dsp_get_threshold_from_settings(THRESHOLD_SILENCE);
 		if ((val = ast_variable_retrieve(cfg, "general", "silencethreshold")))
 			silencethreshold = atoi(val);
diff --git a/configs/samples/sip.conf.sample b/configs/samples/sip.conf.sample
index f21b7df..6dfad08 100644
--- a/configs/samples/sip.conf.sample
+++ b/configs/samples/sip.conf.sample
@@ -701,7 +701,7 @@
 ; for a device.
 ;
 ; If you set the busylevel, we will indicate busy when we have a number of calls that
-; matches the busylevel treshold.
+; matches the busylevel threshold.
 ;
 ; For queues, you will need this level of detail in status reporting, regardless
 ; if you use SIP subscriptions. Queues and manager use the same internal interface

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

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I9f285cd786a57fe1b0e23961a6f91a04594e5b3e
Gerrit-Change-Number: 17251
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/9f36aba6/attachment.html>


More information about the asterisk-code-review mailing list