```
[root@logan-0a kamailio]# make -C src/modules/outbound install
make: Entering directory '/root/kamailio/src/modules/outbound'
CC (gcc) [M outbound.so] config.o
CC (gcc) [M outbound.so] outbound_mod.o
outbound_mod.c: In function ‘mod_init’:
outbound_mod.c:112:25: warning: pointer targets in passing argument 1 of ‘SHA1’ differ in signedness [-Wpointer-sign]
SHA1(flow_token_secret.s, flow_token_secret.len, ob_key.s);
~~~~~~~~~~~~~~~~~^~
In file included from outbound_mod.c:28:
/usr/include/openssl/sha.h:44:16: note: expected ‘const unsigned char *’ but argument is of type ‘char *’
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
^~~~
outbound_mod.c:112:58: warning: pointer targets in passing argument 3 of ‘SHA1’ differ in signedness [-Wpointer-sign]
SHA1(flow_token_secret.s, flow_token_secret.len, ob_key.s);
~~~~~~^~
In file included from outbound_mod.c:28:
/usr/include/openssl/sha.h:44:16: note: expected ‘unsigned char *’ but argument is of type ‘char *’
unsigned char *SHA1(const unsigned char *d, size_t n, unsigned char *md);
^~~~
LD (gcc) [M outbound.so] outbound.so
touch /usr/local/lib64/kamailio//modules/outbound.so
install -m 755 outbound.so /usr/local/lib64/kamailio//modules
make: Leaving directory '/root/kamailio/src/modules/outbound'
```
Build on CentOS 8 Stream
--
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/3128
You are receiving this because you are subscribed to this thread.
Message ID: <kamailio/kamailio/issues/3128(a)github.com>
Module: kamailio
Branch: master
Commit: 80c941bd083854c4b55bd4af218cb65d06040d94
URL: https://github.com/kamailio/kamailio/commit/80c941bd083854c4b55bd4af218cb65…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2022-05-31T10:16:16+02:00
modules: readme files regenerated - ims_ipsec_pcscf ... [skip ci]
---
Modified: src/modules/ims_ipsec_pcscf/README
---
Diff: https://github.com/kamailio/kamailio/commit/80c941bd083854c4b55bd4af218cb65…
Patch: https://github.com/kamailio/kamailio/commit/80c941bd083854c4b55bd4af218cb65…
---
diff --git a/src/modules/ims_ipsec_pcscf/README b/src/modules/ims_ipsec_pcscf/README
index f02167fb7e..dbbf9c55d5 100644
--- a/src/modules/ims_ipsec_pcscf/README
+++ b/src/modules/ims_ipsec_pcscf/README
@@ -302,13 +302,15 @@ ipsec_create("location", "1");
* domain - Logical domain within the registrar. If a database is used
then this must be name of the table which stores the contacts.
flags - bitwise flag:
- + 0x01 - set force socket for request messages. Useful for ipsec
- and TCP.
- + 0x02 - reverse search for a contact in the memory. Useful when
- contact alias is disabled.
- + 0x04 - use destination URI for IPSec tunnel search. Useful for
- routing requests within dialog.
- + 0x08 - use new R-URI for IPSec tunnel search.
+ + 0x01 (1) - set force socket for request messages. Useful for
+ ipsec and TCP.
+ + 0x02 (2) - reverse search for a contact in the memory. Useful
+ when contact alias is disabled.
+ + 0x04 (4) - use destination URI for IPSec tunnel search. Useful
+ for routing requests within dialog.
+ + 0x08 (8) - use new R-URI for IPSec tunnel search.
+ + 0x10 (16) - do not look for alias parameter to set received
+ details.
This is an optional parameter, default value - 0.
Example 1.12. ipsec_forward
Module: kamailio
Branch: master
Commit: 07d9a77272ee0b8b3e25ee5ddb443cd3adb01890
URL: https://github.com/kamailio/kamailio/commit/07d9a77272ee0b8b3e25ee5ddb443cd…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2022-05-31T10:11:10+02:00
ims_ipsec_pcscf: docs for new flag for no alias use
---
Modified: src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/07d9a77272ee0b8b3e25ee5ddb443cd…
Patch: https://github.com/kamailio/kamailio/commit/07d9a77272ee0b8b3e25ee5ddb443cd…
---
diff --git a/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml b/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
index 77a758b5c4..0715da7fae 100644
--- a/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
+++ b/src/modules/ims_ipsec_pcscf/doc/ims_ipsec_pcscf_admin.xml
@@ -284,24 +284,29 @@ ipsec_create("location", "1");
<itemizedlist>
<listitem>
<para>
- <emphasis>0x01</emphasis> - set force socket for request messages. Useful for ipsec and TCP.
+ <emphasis>0x01</emphasis> (1) - set force socket for request messages. Useful for ipsec and TCP.
</para>
</listitem>
<listitem>
<para>
- <emphasis>0x02</emphasis> - reverse search for a contact in the memory.
+ <emphasis>0x02</emphasis> (2) - reverse search for a contact in the memory.
Useful when contact alias is disabled.
</para>
</listitem>
<listitem>
<para>
- <emphasis>0x04</emphasis> - use destination URI for IPSec tunnel search. Useful for
+ <emphasis>0x04</emphasis> (4) - use destination URI for IPSec tunnel search. Useful for
routing requests within dialog.
</para>
</listitem>
<listitem>
<para>
- <emphasis>0x08</emphasis> - use new R-URI for IPSec tunnel search.
+ <emphasis>0x08</emphasis> (8) - use new R-URI for IPSec tunnel search.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>0x10</emphasis> (16) - do not look for alias parameter to set received details.
</para>
</listitem>
</itemizedlist>