[Asterisk-code-review] spelling: substitution (asterisk[master])
Josh Soref
asteriskteam at digium.com
Sun Nov 7 00:18:13 CDT 2021
Josh Soref has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/17220 )
Change subject: spelling: substitution
......................................................................
spelling: substitution
Change-Id: I443fee2f9506c684e1a6e555849b1160c63af3d5
---
M apps/app_minivm.c
M cdr/cdr_custom.c
M cdr/cdr_sqlite3_custom.c
M configs/samples/calendar.conf.sample
4 files changed, 4 insertions(+), 4 deletions(-)
git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/20/17220/1
diff --git a/apps/app_minivm.c b/apps/app_minivm.c
index 146fdaf..89bd585 100644
--- a/apps/app_minivm.c
+++ b/apps/app_minivm.c
@@ -1013,7 +1013,7 @@
pbx_builtin_setvar_helper(channel, var->name, var->value);
}
- /* Prepare variables for substition in email body and subject */
+ /* Prepare variables for substitution in email body and subject */
pbx_builtin_setvar_helper(channel, "MVM_NAME", vmu->fullname);
pbx_builtin_setvar_helper(channel, "MVM_DUR", dur);
pbx_builtin_setvar_helper(channel, "MVM_DOMAIN", vmu->domain);
diff --git a/cdr/cdr_custom.c b/cdr/cdr_custom.c
index 72a475c..92afb0a 100644
--- a/cdr/cdr_custom.c
+++ b/cdr/cdr_custom.c
@@ -139,7 +139,7 @@
dummy = ast_dummy_channel_alloc();
if (!dummy) {
- ast_log(LOG_ERROR, "Unable to allocate channel for variable subsitution.\n");
+ ast_log(LOG_ERROR, "Unable to allocate channel for variable substitution.\n");
return -1;
}
diff --git a/cdr/cdr_sqlite3_custom.c b/cdr/cdr_sqlite3_custom.c
index 3520d16..212740f 100644
--- a/cdr/cdr_sqlite3_custom.c
+++ b/cdr/cdr_sqlite3_custom.c
@@ -253,7 +253,7 @@
dummy = ast_dummy_channel_alloc();
if (!dummy) {
- ast_log(LOG_ERROR, "Unable to allocate channel for variable subsitution.\n");
+ ast_log(LOG_ERROR, "Unable to allocate channel for variable substitution.\n");
ast_free(value_string);
ast_mutex_unlock(&lock);
return 0;
diff --git a/configs/samples/calendar.conf.sample b/configs/samples/calendar.conf.sample
index 08cbd3a..52f4b75 100644
--- a/configs/samples/calendar.conf.sample
+++ b/configs/samples/calendar.conf.sample
@@ -36,7 +36,7 @@
;waittime = 30 ; How long to wait for an answer, defaults to 30 seconds
;
; Channel variables can be set on the notification channel. The format is
-; setvar=name=value. Variable subsitution is done on the value to allow the use of dialplan
+; setvar=name=value. Variable substitution is done on the value to allow the use of dialplan
; functions like CALENDAR_EVENT. The variables are set in order, so one can use the value
; of earlier variables in the definition of later ones.
;
--
To view, visit https://gerrit.asterisk.org/c/asterisk/+/17220
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings
Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: I443fee2f9506c684e1a6e555849b1160c63af3d5
Gerrit-Change-Number: 17220
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/0dacbf63/attachment-0001.html>
More information about the asterisk-code-review
mailing list