Module: kamailio
Branch: master
Commit: 134bf80ba553f6855b39bdb957edfb489e4b1d39
URL:
https://github.com/kamailio/kamailio/commit/134bf80ba553f6855b39bdb957edfb4…
Author: Lucian Balaceanu <lucian.balaceanu(a)1and1.ro>
Committer: Lucian Balaceanu <lucian.balaceanu(a)1and1.ro>
Date: 2020-10-16T12:48:25+03:00
carrierroute: terminology changes
---
Modified: src/modules/carrierroute/carrierroute.c
Modified: src/modules/carrierroute/cr_func.c
Modified: src/modules/carrierroute/doc/carrierroute_admin.xml
Modified: src/modules/carrierroute/doc/carrierroute_db.xml
---
Diff:
https://github.com/kamailio/kamailio/commit/134bf80ba553f6855b39bdb957edfb4…
Patch:
https://github.com/kamailio/kamailio/commit/134bf80ba553f6855b39bdb957edfb4…
---
diff --git a/src/modules/carrierroute/carrierroute.c
b/src/modules/carrierroute/carrierroute.c
index 79f8f2e2dc..74705caa25 100644
--- a/src/modules/carrierroute/carrierroute.c
+++ b/src/modules/carrierroute/carrierroute.c
@@ -27,7 +27,7 @@
/*!
* \defgroup carrierroute CARRIERROUTE :: The Kamailio carrierroute Module
- * The module provides routing, balancing and blacklisting capabilities.
+ * The module provides routing, balancing and blocklisting capabilities.
* It reads routing entries from a database source or from a config file
* at Kamailio startup. It can uses one routing tree (for one carrier),
* or if needed for every user a different routing tree (unique for each carrier)
diff --git a/src/modules/carrierroute/cr_func.c b/src/modules/carrierroute/cr_func.c
index c4ce4d52a0..46c6902684 100644
--- a/src/modules/carrierroute/cr_func.c
+++ b/src/modules/carrierroute/cr_func.c
@@ -402,7 +402,7 @@ static int actually_rewrite(const struct route_rule *rs, str *dest,
memcpy(p, AT_SIGN.s, AT_SIGN.len);
p += AT_SIGN.len;
}
- /* this could be an error, or a blacklisted destination */
+ /* this could be an error, or a blocklisted destination */
if (rs->host.len == 0) {
*p = '\0';
return -1;
diff --git a/src/modules/carrierroute/doc/carrierroute_admin.xml
b/src/modules/carrierroute/doc/carrierroute_admin.xml
index dee8d006f5..3b883d7515 100644
--- a/src/modules/carrierroute/doc/carrierroute_admin.xml
+++ b/src/modules/carrierroute/doc/carrierroute_admin.xml
@@ -13,9 +13,9 @@
<section>
<title>Overview</title>
- <para>A module which provides routing, balancing and blacklisting
capabilities.</para>
+ <para>A module which provides routing, balancing and blocklisting
capabilities.</para>
<para>
- The module provides routing, balancing and blacklisting capabilities.
+ The module provides routing, balancing and blocklisting capabilities.
It reads routing entries from a database source or from a config file at
&kamailio;
startup. It can uses one routing tree (for one carrier), or if needed for every user
a different routing tree (unique for each carrier) for number prefix based routing.
diff --git a/src/modules/carrierroute/doc/carrierroute_db.xml
b/src/modules/carrierroute/doc/carrierroute_db.xml
index f755d08a40..fdc0ddfc45 100644
--- a/src/modules/carrierroute/doc/carrierroute_db.xml
+++ b/src/modules/carrierroute/doc/carrierroute_db.xml
@@ -168,7 +168,7 @@ modparam("carrierroute", "carrierroute_strip_col",
"strip")
<section>
<title><varname>carrierroute_rewrite_host_col</varname>
(string)</title>
<para>Name of column contains the rewrite prefixes. Here you can define a
rewrite prefix
- for the localpart of the SIP URI. An empty field represents a blacklist entry,
anything else
+ for the localpart of the SIP URI. An empty field represents a blocklist entry,
anything else
is put as domain part into the Request URI of the SIP message.</para>
<example>
<title>Set <varname>carrierroute_rewrite_host_col</varname>
parameter</title>