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>