Module: kamailio
Branch: master
Commit: 09eb1673fa922c0ced75dbcdcf8f6c90f6a84720
URL: https://github.com/kamailio/kamailio/commit/09eb1673fa922c0ced75dbcdcf8f6c9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2017-05-17T08:40:12+02:00
rtimer: use wrapper function to reset msg env lists (avp and xavp)
---
Modified: src/modules/rtimer/rtimer_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/09eb1673fa922c0ced75dbcdcf8f6c9…
Patch: https://github.com/kamailio/kamailio/commit/09eb1673fa922c0ced75dbcdcf8f6c9…
---
diff --git a/src/modules/rtimer/rtimer_mod.c b/src/modules/rtimer/rtimer_mod.c
index cc916e5..e067bd6 100644
--- a/src/modules/rtimer/rtimer_mod.c
+++ b/src/modules/rtimer/rtimer_mod.c
@@ -15,8 +15,8 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
@@ -37,8 +37,7 @@
#include "../../core/socket_info.h"
#include "../../core/dset.h"
#include "../../core/pt.h"
-#include "../../core/usr_avp.h"
-#include "../../core/xavp.h"
+#include "../../core/receive.h"
#include "../../core/timer_proc.h"
#include "../../core/script_cb.h"
#include "../../core/parser/parse_param.h"
@@ -197,10 +196,7 @@ void stm_timer_exec(unsigned int ticks, void *param)
set_route_type(REQUEST_ROUTE);
run_top_route(main_rt.rlist[rt->route], fmsg, 0);
exec_post_script_cb(fmsg, REQUEST_CB_TYPE);
- reset_avps();
-#ifdef WITH_XAVP
- xavp_reset_list();
-#endif
+ ksr_msg_env_reset();
}
}
Module: kamailio
Branch: master
Commit: 786e05f7c771fa38fa26ab2bc4e3a47b22dcd33e
URL: https://github.com/kamailio/kamailio/commit/786e05f7c771fa38fa26ab2bc4e3a47…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2017-05-16T07:31:55+02:00
modules: readme files regenerated - lcr ... [skip ci]
---
Modified: src/modules/lcr/README
---
Diff: https://github.com/kamailio/kamailio/commit/786e05f7c771fa38fa26ab2bc4e3a47…
Patch: https://github.com/kamailio/kamailio/commit/786e05f7c771fa38fa26ab2bc4e3a47…
---
diff --git a/src/modules/lcr/README b/src/modules/lcr/README
index 658d691..3ac0c7a 100644
--- a/src/modules/lcr/README
+++ b/src/modules/lcr/README
@@ -20,7 +20,7 @@ Juha Heinanen
1. Overview
2. Dependencies
- 2.1. SIP Router modules
+ 2.1. Kamailio Modules
2.2. External libraries or applications
3. Parameters
@@ -165,7 +165,7 @@ Chapter 1. Admin Guide
1. Overview
2. Dependencies
- 2.1. SIP Router modules
+ 2.1. Kamailio Modules
2.2. External libraries or applications
3. Parameters
@@ -255,10 +255,9 @@ Chapter 1. Admin Guide
gateway of an LCR instance is associated with one or more <prefix, from
uri pattern, from uri userpart, request uri pattern, priority, weight>
tuples. A gateway matches a request if user part of Request-URI matches
- a "prefix", caller URI matches a "From-URI" pattern, caller URI
- userpart matches a mtree with given tree "value", and callee URI
- matches a "Request-URI" pattern in a tuple that is associated with the
- gateway.
+ "prefix", caller URI matches "from_uri" pattern, caller URI userpart
+ matches mtree with "mt_value", and callee URI matches "request_uri"
+ pattern in a tuple that is associated with the gateway.
When the function load_gws() is called, matching gateways (that are not
currently designated as defunct) are ordered for forwarding purposes as
@@ -317,13 +316,14 @@ Chapter 1. Admin Guide
2. Dependencies
- 2.1. SIP Router modules
+ 2.1. Kamailio Modules
2.2. External libraries or applications
-2.1. SIP Router modules
+2.1. Kamailio Modules
The following modules must be loaded before this module:
* A database module like mysql, postgres or dbtext.
+ * mtree module if mt_pv_values parameter is set.
2.2. External libraries or applications
Module: kamailio
Branch: master
Commit: bb517cda1ae9ea0229195871338b0967a9b0a7fc
URL: https://github.com/kamailio/kamailio/commit/bb517cda1ae9ea0229195871338b096…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Juha Heinanen <jh(a)tutpro.com>
Date: 2017-05-16T08:26:22+03:00
modules/lcr: improved documentation
---
Modified: src/modules/lcr/doc/lcr_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/bb517cda1ae9ea0229195871338b096…
Patch: https://github.com/kamailio/kamailio/commit/bb517cda1ae9ea0229195871338b096…
---
diff --git a/src/modules/lcr/doc/lcr_admin.xml b/src/modules/lcr/doc/lcr_admin.xml
index 7196c56..8c4552d 100644
--- a/src/modules/lcr/doc/lcr_admin.xml
+++ b/src/modules/lcr/doc/lcr_admin.xml
@@ -35,9 +35,9 @@
<prefix, from uri pattern, from uri userpart, request uri
pattern, priority, weight>
tuples. A gateway matches a request if user part of Request-URI
- matches a "prefix", caller URI matches a "From-URI" pattern,
- caller URI userpart matches a mtree with given tree "value", and
- callee URI matches a "Request-URI" pattern in a tuple that is
+ matches "prefix", caller URI matches "from_uri" pattern,
+ caller URI userpart matches mtree with "mt_value", and
+ callee URI matches "request_uri" pattern in a tuple that is
associated with the gateway.
</para>
<para>
@@ -134,7 +134,7 @@
<section>
<title>Dependencies</title>
<section>
- <title>&siprouter; modules</title>
+ <title>&kamailio; Modules</title>
<para>
The following modules must be loaded before this module:
<itemizedlist>
@@ -144,6 +144,11 @@
dbtext</emphasis>.
</para>
</listitem>
+ <listitem>
+ <para>
+ <emphasis>mtree module if mt_pv_values parameter is set</emphasis>.
+ </para>
+ </listitem>
</itemizedlist>
</para>
</section>
Using the Python library "requests" to make API calls via
`import requests`
Makes all the worker processes quit:
```
0(2667) INFO: <core> [core/kemi.c:86]: sr_kemi_core_info(): [19:19:15.919278] ===== kamailio.child_init(0)
0(2667) INFO: <core> [main.c:759]: handle_sigs(): terminating due to SIGCHLD
1(2672) INFO: <core> [main.c:814]: sig_usr(): signal 15 received
```
Requests is a very common Python HTTP library.
Can be installed via (Debian):
apt-get install python-pip
pip install requests
--
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/1130