Browse code

secsipid: docs - updates to installation section with secsipid_proc

Daniel-Constantin Mierla authored on 12/04/2021 16:39:25
Showing 1 changed files
... ...
@@ -318,10 +318,11 @@ request_route {
318 318
 	<section id="secsipid.s.installation">
319 319
 	<title>Installation</title>
320 320
 	<para>
321
-		The module depends on "libsecsipid", which is a component of "sipsecidx"
322
-		project from https://github.com/asipto/secsipidx/. The library is
321
+		The module needs "secsipdi_proc.so" module thatdepends on "libsecsipid",
322
+		which is a component of "sipsecidx" project from
323
+		https://github.com/asipto/secsipidx/. The library is
323 324
 		implemented in Go language, with generated C API and library. Until the
324
-		libsecsipid is going to be packaged in OS distributions, the secsipid
325
+		libsecsipid is going to be packaged in OS distributions, the secsipid_proc
325 326
 		module can be compiled by copying secsipid.h libsecsipid.h and libsecsipid.a
326 327
 		files in the folder of the module.
327 328
 	</para>
... ...
@@ -330,16 +331,23 @@ request_route {
330 331
 		installed and its environment configured, then run the following commands:
331 332
 	</para>
332 333
 		<example>
333
-		<title>Libsecsipid usage</title>
334
+		<title>Libsecsipid Usage</title>
334 335
 		<programlisting format="linespecific">
335 336
 ...
336 337
 go get https://github.com/asipto/secsipidx
337 338
 cd $GOPATH/src/github.com/asipto/secsipidx/csecsipid/
338 339
 make liba
339 340
 cp secsipid.h libsecsipid.h libsecsipid.a \
340
-    /path/to/kamailio/src/modules/secsipid/
341
+    /path/to/kamailio/src/modules/secsipid_proc/
342
+
341 343
 cd /path/to/kamailio/
342
-make modules modules=src/modules/secsipid/
344
+make include_modules="secsipid secsipid_proc ..." cfg
345
+make all
346
+make install
347
+
348
+## or compiling individual modules for use inside source tree
349
+# make modules modules=src/modules/secsipid_proc
350
+# make modules modules=src/modules/secsipid
343 351
 ...
344 352
 </programlisting>
345 353
 		</example>