Module: kamailio
Branch: master
Commit: 3d7ba76ec80e4135af1593c433d5e84fab44fedf
URL: https://github.com/kamailio/kamailio/commit/3d7ba76ec80e4135af1593c433d5e84…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2018-04-12T12:25:52+02:00
corex: documentation for via_add_srvid()
---
Modified: src/modules/corex/doc/corex_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/3d7ba76ec80e4135af1593c433d5e84…
Patch: https://github.com/kamailio/kamailio/commit/3d7ba76ec80e4135af1593c433d5e84…
---
diff --git a/src/modules/corex/doc/corex_admin.xml b/src/modules/corex/doc/corex_admin.xml
index 96b3df667c..a8076b36c5 100644
--- a/src/modules/corex/doc/corex_admin.xml
+++ b/src/modules/corex/doc/corex_admin.xml
@@ -573,6 +573,33 @@ set_recv_socket("udp:127.0.0.1:5060");
...
set_source_address("udp:127.0.0.1:5080");
...
+</programlisting>
+ </example>
+ </section>
+ <section id="corex.f.via_add_srvid">
+ <title><function moreinfo="none">via_add_srvid(flags)</function></title>
+ <para>
+ Control if srvid parameter is added or not to local Via. If yes,
+ the value is server_id, added only if it is different than 0.
+ </para>
+ <para>Meaning of the parameters is as follows:</para>
+ <itemizedlist>
+ <listitem>
+ <para>
+ <emphasis>flags</emphasis>: 1 - add srvid parameter; 0 - do not
+ add srvid parameter.
+ </para>
+ </listitem>
+ </itemizedlist>
+ <para>
+ This function can be used from ANY_ROUTE.
+ </para>
+ <example>
+ <title><function>via_add_srvid</function> usage</title>
+ <programlisting format="linespecific">
+...
+via_add_srv("1");
+...
</programlisting>
</example>
</section>
Hello,
in many modules we have a template text about our support contacts in the
"FAQ" part:
"E-mails regarding any stable Kamailio release should be sent to
<sr-users(a)lists.kamailio.org> and e-mails regarding development
versions should be sent to <sr-dev(a)lists.kamailio.org>.
If you want to keep the mail private, send it to
<sr-users(a)lists.kamailio.org>."
The lower part (about the private contact) makes no sense anymore. It used
contain a private SER contact address, and lost somehow its meaning during the
conversion to Kamailio.
I would like to change to this text to:
"If you need to keep the e-mail private (e.g. for security issues) send it to
management at kamailio dot org."
Any objections against this change, or remarks about the replacement text?
Regards,
Henning
Module: kamailio
Branch: master
Commit: cc6865cd7d0fc48709acd7685d315eb5575e45bd
URL: https://github.com/kamailio/kamailio/commit/cc6865cd7d0fc48709acd7685d315eb…
Author: Andreas Granig <agranig(a)sipwise.com>
Committer: Andreas Granig <agranig(a)sipwise.com>
Date: 2018-04-11T17:28:32+02:00
db_redis: Fix scanning large tables
* When querying large tables (e.g. pre-loading location by usrloc),
make sure to use O(1) when adding keys by prepending them to list.
* Increase batch size of redis scan command to reduce number of
redis queries.
* Batch creation of DB_ROW entries to free up memory allocated by
redis in heap regularly.
* Fix more issues reported by coverity.
---
Modified: src/modules/db_redis/redis_connection.c
Modified: src/modules/db_redis/redis_dbase.c
Modified: src/modules/db_redis/redis_table.c
---
Diff: https://github.com/kamailio/kamailio/commit/cc6865cd7d0fc48709acd7685d315eb…
Patch: https://github.com/kamailio/kamailio/commit/cc6865cd7d0fc48709acd7685d315eb…
I have not found any situation, where t_flush_flags() is needed. If I set a flag after t_newtran() and then call t_relay(), the flag stays set both in failure route and reply route. If there exists a case, where t_flush_flags() needs to be called after t_newtran(), it should be mentioned in README in order to avoid needless calls of t_flush_flags().
--
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/1490