Module: kamailio
Branch: master
Commit: 9aedcb548037a34b61a37ebe3e9baeb9755c9c49
URL: https://github.com/kamailio/kamailio/commit/9aedcb548037a34b61a37ebe3e9baeb…
Author: Henning Westerholt <hw(a)kamailio.org>
Committer: Henning Westerholt <hw(a)kamailio.org>
Date: 2018-03-14T21:29:04+01:00
lib srdb1: small fix/extension in README
---
Modified: src/lib/srdb1/README
---
Diff: https://github.com/kamailio/kamailio/commit/9aedcb548037a34b61a37ebe3e9baeb…
Patch: https://github.com/kamailio/kamailio/commit/9aedcb548037a34b61a37ebe3e9baeb…
---
diff --git a/src/lib/srdb1/README b/src/lib/srdb1/README
index b710ca4065..a7f50d095b 100644
--- a/src/lib/srdb1/README
+++ b/src/lib/srdb1/README
@@ -1,5 +1,9 @@
This directory contains the generic database support interface - db1. The interface
should be used by all modules willing to communicate with a database. Kamailio
can then switch from one database to another simply by loading a different
-database support module. Directory example contains a very simple example
-how to use the interface. Directory doc contains the API documentation.
+database support module. For documentation please have a look to doxygen
+comments in the respective header files.
+
+The directory schema contains the XML structure for the different databases
+definitions. Please use this structure, don't add SQL files for table
+definitions directly.
Module: kamailio
Branch: master
Commit: 32102e43272f8c101121e5edb94b7e5077d985a9
URL: https://github.com/kamailio/kamailio/commit/32102e43272f8c101121e5edb94b7e5…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-03-14T17:36:59+01:00
tmx: documentation for t_flush_xflags() function
---
Modified: src/modules/tmx/doc/tmx_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/32102e43272f8c101121e5edb94b7e5…
Patch: https://github.com/kamailio/kamailio/commit/32102e43272f8c101121e5edb94b7e5…
---
diff --git a/src/modules/tmx/doc/tmx_admin.xml b/src/modules/tmx/doc/tmx_admin.xml
index b767197537..9f6168bb0f 100644
--- a/src/modules/tmx/doc/tmx_admin.xml
+++ b/src/modules/tmx/doc/tmx_admin.xml
@@ -223,6 +223,27 @@ if (t_reply_callid("123qaz", "5", "458", "Replied remotely")) {
...
t_flush_flags();
...
+</programlisting>
+ </example>
+ </section>
+ <section id="tmx.f.t_flush_xflags">
+ <title>
+ <function moreinfo="none">t_flush_xflags()</function>
+ </title>
+ <para>
+ Flush the extended flags from current SIP message into the already created
+ transaction. It make sense only in routing block if the transaction was
+ created via t_newtran() and the extended flags have been altered since.
+ </para>
+ <para>
+ This function can be used from ANY_ROUTE .
+ </para>
+ <example>
+ <title><function>t_flush_xflags</function> usage</title>
+ <programlisting format="linespecific">
+...
+t_flush_xflags();
+...
</programlisting>
</example>
</section>
Hello,
I want to highlight that the last stable versions (for the latest 3
release series: 4.4, 5.0 and 5.1) include fixes for two issues that can
crash a running instance of Kamailio, therefore it is strongly
recommended to upgrade if you are using tmx or lcr modules.
Next week a CVE report is going to be created with more details about
one of these issues.
The issues were reported privately, one by security researchers and one
by a community member, and were fixed quickly. The code related to the
reported issues is rather old (few years by now) and there are no known
incidents of exploiting these issues so far. However, once the CVE
report comes public, there could be a higher risk of exploitation.
Cheers,
Daniel
--
Daniel-Constantin Mierla
www.twitter.com/miconda -- www.linkedin.com/in/miconda
Kamailio Advanced Training - April 16-18, 2018, Berlin - www.asipto.com
Kamailio World Conference - May 14-16, 2018 - www.kamailioworld.com
Hi,
I'm trying to get auth_empheral working on kamailio 5.1.2, but it fails to load
`load_module(): could not open module </usr/lib/x86_64-linux-gnu/kamailio/modules/auth_ephemeral.so>: /usr/lib/x86_64-linux-gnu/kamailio/modules/auth_ephemeral.so: undefined symbol: EVP_sha512`
Tried to compile from source and install from kamailio-autheph-modules 5.1.2+xenial and it fails with same error.
Regards
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/1473
Module: kamailio
Branch: master
Commit: 137c3db340b1e4139b6ddb444a220ce5928b2191
URL: https://github.com/kamailio/kamailio/commit/137c3db340b1e4139b6ddb444a220ce…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2018-03-14T13:16:24+01:00
modules: readme files regenerated - corex ... [skip ci]
---
Modified: src/modules/corex/README
---
Diff: https://github.com/kamailio/kamailio/commit/137c3db340b1e4139b6ddb444a220ce…
Patch: https://github.com/kamailio/kamailio/commit/137c3db340b1e4139b6ddb444a220ce…
---
diff --git a/src/modules/corex/README b/src/modules/corex/README
index eeb318498b..2b15a51aab 100644
--- a/src/modules/corex/README
+++ b/src/modules/corex/README
@@ -48,6 +48,9 @@ Muhammad Shahzad Shafi
4.8. msg_iflag_is_set(flagname)
4.9. file_read(fpath, var)
4.10. file_write(fpath, content)
+ 4.11. setxflag(flag)
+ 4.12. isxflagset(flag)
+ 4.13. resetxflag(flag)
5. RPC Commands
@@ -79,8 +82,11 @@ Muhammad Shahzad Shafi
1.11. msg_iflag_is_set usage
1.12. file_read usage
1.13. file_write usage
- 1.14. event_route[network:msg] use cases
- 1.15. Sample PERL code for do_compress and do_uncompress
+ 1.14. setxflag usage
+ 1.15. isxflagset usage
+ 1.16. resetxflag usage
+ 1.17. event_route[network:msg] use cases
+ 1.18. Sample PERL code for do_compress and do_uncompress
Chapter 1. Admin Guide
@@ -111,6 +117,9 @@ Chapter 1. Admin Guide
4.8. msg_iflag_is_set(flagname)
4.9. file_read(fpath, var)
4.10. file_write(fpath, content)
+ 4.11. setxflag(flag)
+ 4.12. isxflagset(flag)
+ 4.13. resetxflag(flag)
5. RPC Commands
@@ -240,6 +249,9 @@ modparam("corex", "msg_avp", "$avp(msg)")
4.8. msg_iflag_is_set(flagname)
4.9. file_read(fpath, var)
4.10. file_write(fpath, content)
+ 4.11. setxflag(flag)
+ 4.12. isxflagset(flag)
+ 4.13. resetxflag(flag)
4.1. append_branch([ uri, [ q ] ])
@@ -386,6 +398,57 @@ if(file_read("/tmp/data.txt", "$var(data)")) { ... }
if(file_write("/tmp/data.txt", "Data is: $var(data)")) { ... }
...
+4.11. setxflag(flag)
+
+ Set the extended message (transaction) flag.
+
+ Meaning of the parameters is as follows:
+ * flag - the index of the flag to be set. Can be integer or
+ pseudo-variable with integer value (range 0-63).
+
+ This function can be used from ANY_ROUTE.
+
+ Example 1.14. setxflag usage
+...
+setxflag("1");
+...
+$var(flag) = 11;
+setxflag("$var(flag)");
+...
+
+4.12. isxflagset(flag)
+
+ Return true of the extended message (transaction) flag is set.
+
+ Meaning of the parameters is as follows:
+ * flag - the index of the flag to be tested. Can be integer or
+ pseudo-variable with integer value (range 0-63).
+
+ This function can be used from ANY_ROUTE.
+
+ Example 1.15. isxflagset usage
+...
+if(isxflagset("1"))
+{
+ ...
+}
+...
+
+4.13. resetxflag(flag)
+
+ Reset the extended message (transaction) flag.
+
+ Meaning of the parameters is as follows:
+ * flag - the index of the flag to be reset. Can be integer or
+ pseudo-variable with integer value (range 0-63).
+
+ This function can be used from ANY_ROUTE.
+
+ Example 1.16. resetxflag usage
+...
+resetxflag("1");
+...
+
5. RPC Commands
5.1. corex.debug
@@ -520,7 +583,7 @@ if(file_write("/tmp/data.txt", "Data is: $var(data)")) { ... }
Next is a basic usage example where encoding and decoding is done using
PERL,
- Example 1.14. event_route[network:msg] use cases
+ Example 1.17. event_route[network:msg] use cases
...
loadmodule "app_perl.so"
loadmodule "corex.so"
@@ -551,7 +614,7 @@ event_route[network:msg] {
}
...
- Example 1.15. Sample PERL code for do_compress and do_uncompress
+ Example 1.18. Sample PERL code for do_compress and do_uncompress
...
use strict;
use warnings;
Module: kamailio
Branch: master
Commit: fd20e46b280535753b9bf1b32da80a637a8fea26
URL: https://github.com/kamailio/kamailio/commit/fd20e46b280535753b9bf1b32da80a6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-03-14T13:03:48+01:00
corex: documentation for xflags management functions
---
Modified: src/modules/corex/doc/corex_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/fd20e46b280535753b9bf1b32da80a6…
Patch: https://github.com/kamailio/kamailio/commit/fd20e46b280535753b9bf1b32da80a6…
---
diff --git a/src/modules/corex/doc/corex_admin.xml b/src/modules/corex/doc/corex_admin.xml
index 0df7d12cf9..f401c3e022 100644
--- a/src/modules/corex/doc/corex_admin.xml
+++ b/src/modules/corex/doc/corex_admin.xml
@@ -409,6 +409,93 @@ if(file_write("/tmp/data.txt", "Data is: $var(data)")) { ... }
</programlisting>
</example>
</section>
+ <section id="corex.f.setxflag">
+ <title><function moreinfo="none">setxflag(flag)</function></title>
+ <para>
+ Set the extended message (transaction) flag.
+ </para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>flag</emphasis> - the index of the flag to
+ be set. Can be integer or pseudo-variable with integer value
+ (range 0-63).
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>setxflag</function> usage</title>
+ <programlisting format="linespecific">
+...
+setxflag("1");
+...
+$var(flag) = 11;
+setxflag("$var(flag)");
+...
+</programlisting>
+ </example>
+ </section>
+ <section id="corex.f.isxflagset">
+ <title><function moreinfo="none">isxflagset(flag)</function></title>
+ <para>
+ Return true of the extended message (transaction) flag is set.
+ </para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>flag</emphasis> - the index of the flag to
+ be tested. Can be integer or pseudo-variable with integer value
+ (range 0-63).
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>isxflagset</function> usage</title>
+ <programlisting format="linespecific">
+...
+if(isxflagset("1"))
+{
+ ...
+}
+...
+</programlisting>
+ </example>
+ </section>
+ <section id="corex.f.resetxflag">
+ <title><function moreinfo="none">resetxflag(flag)</function></title>
+ <para>
+ Reset the extended message (transaction) flag.
+ </para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>flag</emphasis> - the index of the flag to
+ be reset. Can be integer or pseudo-variable with integer value
+ (range 0-63).
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>resetxflag</function> usage</title>
+ <programlisting format="linespecific">
+...
+resetxflag("1");
+...
+</programlisting>
+ </example>
+ </section>
</section>