Module: kamailio
Branch: master
Commit: a9c9b83c9dd1c09738b5a33362a8e339c20b786c
URL: https://github.com/kamailio/kamailio/commit/a9c9b83c9dd1c09738b5a33362a8e33…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2021-09-28T10:35:12+02:00
rtpengine: docs - note that rpc reload is limited to 10secs frequency
---
Modified: src/modules/rtpengine/doc/rtpengine_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/a9c9b83c9dd1c09738b5a33362a8e33…
Patch: https://github.com/kamailio/kamailio/commit/a9c9b83c9dd1c09738b5a33362a8e33…
---
diff --git a/src/modules/rtpengine/doc/rtpengine_admin.xml b/src/modules/rtpengine/doc/rtpengine_admin.xml
index 2106241f8d..c3201bbf37 100644
--- a/src/modules/rtpengine/doc/rtpengine_admin.xml
+++ b/src/modules/rtpengine/doc/rtpengine_admin.xml
@@ -3285,7 +3285,7 @@ play_dtmf("code=1 volume=5 duration=300 pause=150");
<title>RPC Commands</title>
<section id="rtpengine.r.reload">
- <title>rtpengine.reload</title>
+ <title><function moreinfo="none">rtpengine.reload</function></title>
<para>
Reloads the database node table content <emphasis>if configured</emphasis>.
Returns specific message related to success, failure and no db_url configured.
@@ -3295,6 +3295,9 @@ play_dtmf("code=1 volume=5 duration=300 pause=150");
hides old ones, based on the database content. If allow_op modparam is enabled,
the sessions are still allowed to finish for the hidden old nodes.
</para>
+ <para>
+ The execution of this command is limited to 10 seconds intervals.
+ </para>
<example>
<title>
<function moreinfo="none">rtpengine.reload</function> usage</title>
I’m attempting to connect my application to kamailio via the seas module.
Kamailio ver. 5.3.2
I have loaded all the necessary configuration file components.
I start kamailio and everything looks good. I then start my app server which connects to the loopback ports 5040 and 5041 and send my counted string “servername” to each connection. Again everything looks good. Seas module responds with : “… EUREKA, we have a new connected AS: myappserver
I then send a register request to kamailio. Request_route calls as_relay_t(myappserver) and I subsequently get an ERROR – w_as_relay_t(): no processer found for packet dst xxx.xxx.xxx.xxx:pppp
As best as I can figure out from the source…. It looks as if something else needs to be sent to kamailio (from myappserver) in order for a processor_id to be assigned to ‘as->bound_processor[i]
My application server is just straight up C code. I must be forgetting something or maybe completely off the mark as to how the seas module functions.
Any help would be greatly appreciated.
Thanks,
Dan
Sent from Mail for Windows
Module: kamailio
Branch: master
Commit: 2fdf550ac0a865ba2336e80ce2d450f3c378ad50
URL: https://github.com/kamailio/kamailio/commit/2fdf550ac0a865ba2336e80ce2d450f…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2021-09-27T12:46:18+02:00
modules: readme files regenerated - posops ... [skip ci]
---
Modified: src/modules/posops/README
---
Diff: https://github.com/kamailio/kamailio/commit/2fdf550ac0a865ba2336e80ce2d450f…
Patch: https://github.com/kamailio/kamailio/commit/2fdf550ac0a865ba2336e80ce2d450f…
---
diff --git a/src/modules/posops/README b/src/modules/posops/README
index d5f49f0cbb..6e126f645f 100644
--- a/src/modules/posops/README
+++ b/src/modules/posops/README
@@ -41,6 +41,7 @@ Daniel-Constantin Mierla
4.9. pos_findi_str(idx, val)
4.10. pos_rfind_str(idx, val)
4.11. pos_rfindi_str(idx, val)
+ 4.12. pos_search(idx, re)
List of Examples
@@ -56,6 +57,7 @@ Daniel-Constantin Mierla
1.10. pos_findi_str() usage
1.11. pos_find_str() usage
1.12. pos_rfindi_str() usage
+ 1.13. pos_search() usage
Chapter 1. Admin Guide
@@ -84,6 +86,7 @@ Chapter 1. Admin Guide
4.9. pos_findi_str(idx, val)
4.10. pos_rfind_str(idx, val)
4.11. pos_rfindi_str(idx, val)
+ 4.12. pos_search(idx, re)
1. Overview
@@ -140,6 +143,7 @@ modparam("posops", "idx0", -200)
4.9. pos_findi_str(idx, val)
4.10. pos_rfind_str(idx, val)
4.11. pos_rfindi_str(idx, val)
+ 4.12. pos_search(idx, re)
4.1. pos_append(idx, val)
@@ -316,3 +320,23 @@ $var(idx) = pos_rfind_str("100", "kamailio");
...
$var(idx) = pos_rfindi_str("100", "kamailio");
...
+
+4.12. pos_search(idx, re)
+
+ Return the position that starts matching the regular expression re in
+ message buffer starting at idx. In case of not finding it or error, the
+ return code is negative. If val is at index 0, it returns the value
+ specified by modparam idx0.
+
+ The idx can be an integer value or a variable holding an integer. If
+ the value is negative, the position is counted from the end of the
+ buffer.
+
+ The re can be a static regular expression string.
+
+ This function can be used from ANY_ROUTE.
+
+ Example 1.13. pos_search() usage
+...
+$var(idx) = pos_search("100", "[0-9]+");
+...