Browse code

modules: readme files regenerated - secsipid ... [skip ci]

Kamailio Dev authored on 12/04/2021 16:46:13
Showing 1 changed files
... ...
@@ -55,7 +55,7 @@ Daniel-Constantin Mierla
55 55
    1.8. secsipid_check_identity_pubkey usage
56 56
    1.9. secsipid_get_url usage
57 57
    1.10. secsipid_add_identity usage
58
-   1.11. Libsecsipid usage
58
+   1.11. Libsecsipid Usage
59 59
 
60 60
 Chapter 1. Admin Guide
61 61
 
... ...
@@ -299,25 +299,32 @@ request_route {
299 299
 
300 300
 5. Installation
301 301
 
302
-   The module depends on "libsecsipid", which is a component of
303
-   "sipsecidx" project from https://github.com/asipto/secsipidx/. The
304
-   library is implemented in Go language, with generated C API and
305
-   library. Until the libsecsipid is going to be packaged in OS
306
-   distributions, the secsipid module can be compiled by copying
307
-   secsipid.h libsecsipid.h and libsecsipid.a files in the folder of the
308
-   module.
302
+   The module needs "secsipdi_proc.so" module thatdepends on
303
+   "libsecsipid", which is a component of "sipsecidx" project from
304
+   https://github.com/asipto/secsipidx/. The library is implemented in Go
305
+   language, with generated C API and library. Until the libsecsipid is
306
+   going to be packaged in OS distributions, the secsipid_proc module can
307
+   be compiled by copying secsipid.h libsecsipid.h and libsecsipid.a files
308
+   in the folder of the module.
309 309
 
310 310
    To generate the libsecsipid.a file, it requires to have Go language
311 311
    installed and its environment configured, then run the following
312 312
    commands:
313 313
 
314
-   Example 1.11. Libsecsipid usage
314
+   Example 1.11. Libsecsipid Usage
315 315
 ...
316 316
 go get https://github.com/asipto/secsipidx
317 317
 cd $GOPATH/src/github.com/asipto/secsipidx/csecsipid/
318 318
 make liba
319 319
 cp secsipid.h libsecsipid.h libsecsipid.a \
320
-    /path/to/kamailio/src/modules/secsipid/
320
+    /path/to/kamailio/src/modules/secsipid_proc/
321
+
321 322
 cd /path/to/kamailio/
322
-make modules modules=src/modules/secsipid/
323
+make include_modules="secsipid secsipid_proc ..." cfg
324
+make all
325
+make install
326
+
327
+## or compiling individual modules for use inside source tree
328
+# make modules modules=src/modules/secsipid_proc
329
+# make modules modules=src/modules/secsipid
323 330
 ...