Module: kamailio
Branch: 5.4
Commit: e46c76a135ae24794748de8bdf87ae46f4ad7199
URL: https://github.com/kamailio/kamailio/commit/e46c76a135ae24794748de8bdf87ae4…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-04-13T09:16:23+02:00
modules: readme files regenerated - modules ... [skip ci]
---
Modified: src/modules/textopsx/README
---
Diff: https://github.com/kamailio/kamailio/commit/e46c76a135ae24794748de8bdf87ae4…
Patch: https://github.com/kamailio/kamailio/commit/e46c76a135ae24794748de8bdf87ae4…
---
diff --git a/src/modules/textopsx/README b/src/modules/textopsx/README
index 8b87eb20d3..43270eec79 100644
--- a/src/modules/textopsx/README
+++ b/src/modules/textopsx/README
@@ -223,7 +223,7 @@ if(fnmatch("$rU", "123*"))
Meaning of the parameters is as follows:
* hf - Header field to be appended. Format: HFNAME [ [IDX] ]. If
index is not specified new header is inserted at the end of
- message.
+ message. The index 1 correxponds to the first header.
* hvalue - Value to be added, config var formatting supported.
Example 1.6. append_hf_value usage
@@ -244,7 +244,7 @@ ot exists add new header
Meaning of the parameters is as follows:
* hf - Header field to be appended. Format: HFNAME [ [IDX] ]. If
index is not specified new header is inserted at the top of
- message.
+ message. The index 1 correxponds to the first header.
* hvalue - Value to be added, config var formatting supported.
Example 1.7. insert_hf_value usage
@@ -262,7 +262,7 @@ insert_hf_value("foo[1]", "gogo") # try add to the first header
Meaning of the parameters is as follows:
* hf_par - Header field/param to be removed. Format: HFNAME [ [IDX] ]
[. PARAM ] If asterisk is specified as index then all values are
- affected.
+ affected. The index 1 correxponds to the first header.
Example 1.8. remove_hf_value usage
...
@@ -282,7 +282,7 @@ remove_hf_value("foo[*].bar") # for each foo delete bar parameters
Meaning of the parameters is as follows:
* hf_par - Header/param to be removed. Format: HFNAME [ [IDX] ] [.
PARAM ] If asterisk is specified as index then all values are
- affected.
+ affected. The index 1 correxponds to the first header.
Example 1.9. remove_hf_value2 usage
...
@@ -301,7 +301,7 @@ remove_hf_value2("foo[*].bar") # for each foo delete bar parameters
Meaning of the parameters is as follows:
* hf_para - Header field value / param to be appended. Format: HFNAME
[ [IDX] ] [. PARAM] If asterisk is specified as index then all
- values are affected.
+ values are affected. The index 1 correxponds to the first header.
* hvalue - Value to be assigned, config var formatting supported. If
value is empty then no equal sign appears in param.
@@ -325,7 +325,7 @@ assign_hf_value("foo[*].bar", "") # set empty value (ex. lr)
Meaning of the parameters is as follows:
* hf_para - Header field value / param to be appended. Format: HFNAME
[ [IDX] ] [. PARAM] If asterisk is specified as index then all
- values are affected.
+ values are affected. The index 1 correxponds to the first header.
* hvalue - Value to be assigned, config var formatting supported. If
value is empty then no equal sign appears in param.
Module: kamailio
Branch: master
Commit: 91ec4259465fdaab41749b8fed0f96636a0619e5
URL: https://github.com/kamailio/kamailio/commit/91ec4259465fdaab41749b8fed0f966…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-04-12T18:46:13+02:00
modules: readme files regenerated - secsipid ... [skip ci]
---
Modified: src/modules/secsipid/README
---
Diff: https://github.com/kamailio/kamailio/commit/91ec4259465fdaab41749b8fed0f966…
Patch: https://github.com/kamailio/kamailio/commit/91ec4259465fdaab41749b8fed0f966…
---
diff --git a/src/modules/secsipid/README b/src/modules/secsipid/README
index ec12000f65..c96b7830c6 100644
--- a/src/modules/secsipid/README
+++ b/src/modules/secsipid/README
@@ -55,7 +55,7 @@ Daniel-Constantin Mierla
1.8. secsipid_check_identity_pubkey usage
1.9. secsipid_get_url usage
1.10. secsipid_add_identity usage
- 1.11. Libsecsipid usage
+ 1.11. Libsecsipid Usage
Chapter 1. Admin Guide
@@ -299,25 +299,32 @@ request_route {
5. Installation
- The module depends on "libsecsipid", which is a component of
- "sipsecidx" project from https://github.com/asipto/secsipidx/. The
- library is implemented in Go language, with generated C API and
- library. Until the libsecsipid is going to be packaged in OS
- distributions, the secsipid module can be compiled by copying
- secsipid.h libsecsipid.h and libsecsipid.a files in the folder of the
- module.
+ The module needs "secsipdi_proc.so" module thatdepends on
+ "libsecsipid", which is a component of "sipsecidx" project from
+ https://github.com/asipto/secsipidx/. The library is implemented in Go
+ language, with generated C API and library. Until the libsecsipid is
+ going to be packaged in OS distributions, the secsipid_proc module can
+ be compiled by copying secsipid.h libsecsipid.h and libsecsipid.a files
+ in the folder of the module.
To generate the libsecsipid.a file, it requires to have Go language
installed and its environment configured, then run the following
commands:
- Example 1.11. Libsecsipid usage
+ Example 1.11. Libsecsipid Usage
...
go get https://github.com/asipto/secsipidx
cd $GOPATH/src/github.com/asipto/secsipidx/csecsipid/
make liba
cp secsipid.h libsecsipid.h libsecsipid.a \
- /path/to/kamailio/src/modules/secsipid/
+ /path/to/kamailio/src/modules/secsipid_proc/
+
cd /path/to/kamailio/
-make modules modules=src/modules/secsipid/
+make include_modules="secsipid secsipid_proc ..." cfg
+make all
+make install
+
+## or compiling individual modules for use inside source tree
+# make modules modules=src/modules/secsipid_proc
+# make modules modules=src/modules/secsipid
...
Module: kamailio
Branch: master
Commit: 7018672d9881ab97848b4e1131d73412b0db221d
URL: https://github.com/kamailio/kamailio/commit/7018672d9881ab97848b4e1131d7341…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-04-12T18:39:25+02:00
secsipid: docs - updates to installation section with secsipid_proc
---
Modified: src/modules/secsipid/doc/secsipid_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/7018672d9881ab97848b4e1131d7341…
Patch: https://github.com/kamailio/kamailio/commit/7018672d9881ab97848b4e1131d7341…
---
diff --git a/src/modules/secsipid/doc/secsipid_admin.xml b/src/modules/secsipid/doc/secsipid_admin.xml
index 9360d788a4..d9d622af17 100644
--- a/src/modules/secsipid/doc/secsipid_admin.xml
+++ b/src/modules/secsipid/doc/secsipid_admin.xml
@@ -318,10 +318,11 @@ request_route {
<section id="secsipid.s.installation">
<title>Installation</title>
<para>
- The module depends on "libsecsipid", which is a component of "sipsecidx"
- project from https://github.com/asipto/secsipidx/. The library is
+ The module needs "secsipdi_proc.so" module thatdepends on "libsecsipid",
+ which is a component of "sipsecidx" project from
+ https://github.com/asipto/secsipidx/. The library is
implemented in Go language, with generated C API and library. Until the
- libsecsipid is going to be packaged in OS distributions, the secsipid
+ libsecsipid is going to be packaged in OS distributions, the secsipid_proc
module can be compiled by copying secsipid.h libsecsipid.h and libsecsipid.a
files in the folder of the module.
</para>
@@ -330,16 +331,23 @@ request_route {
installed and its environment configured, then run the following commands:
</para>
<example>
- <title>Libsecsipid usage</title>
+ <title>Libsecsipid Usage</title>
<programlisting format="linespecific">
...
go get https://github.com/asipto/secsipidx
cd $GOPATH/src/github.com/asipto/secsipidx/csecsipid/
make liba
cp secsipid.h libsecsipid.h libsecsipid.a \
- /path/to/kamailio/src/modules/secsipid/
+ /path/to/kamailio/src/modules/secsipid_proc/
+
cd /path/to/kamailio/
-make modules modules=src/modules/secsipid/
+make include_modules="secsipid secsipid_proc ..." cfg
+make all
+make install
+
+## or compiling individual modules for use inside source tree
+# make modules modules=src/modules/secsipid_proc
+# make modules modules=src/modules/secsipid
...
</programlisting>
</example>