- URL: https://github.com/kamailio/kamailio/commit/8cc9193404e7dac358e96fe8b9dd744…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:00:51Z
exec: debug message when command returns non-zero
(cherry picked from commit e9eee1ead964992a2d81014709755bbfd1e995c9)
- URL: https://github.com/kamailio/kamailio/commit/f0732ee99ee486a71790b2ce4419ba1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:04:25Z
dialog: skip doing cseq update processing for non-sip requests
(cherry picked from commit 960b60ede8543f38b61ad2769e81e11d5a777df8)
- URL: https://github.com/kamailio/kamailio/commit/580afabee9f76f1e37b09b1f7b7086c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:06:25Z
core: init origproto to fix compiler warning
- GH #2543
(cherry picked from commit ef3233d14080936486d09edbe9598d7d92bd2f33)
- URL: https://github.com/kamailio/kamailio/commit/6e7858b0b1837bfa17fb374f01b3ad2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:06:54Z
http_async_client: include poll.h instead sys/poll.h
- according to POSIX specs
- GH #2543
(cherry picked from commit 8f30c75cff7787a39f7c934e00e933b1beb43c20)
- URL: https://github.com/kamailio/kamailio/commit/0b09dd1f5453f66684053f5b3ea3d2c…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:07:04Z
sctp: memcpy field data to avoid unaligned access warning
- GH #2543
(cherry picked from commit 4bb099b046939b85e1827b804167a51ef4bc00c4)
- URL: https://github.com/kamailio/kamailio/commit/164c4f1523d8400b84a4359b1e15d56…
Author: Aleksandar Yosifov <alexyosifov(a)gmail.com>
Date: 2020-12-21T15:07:16Z
core: added missing field in sip_msg_update_buffer
- added a missing field in sip_msg_update_buffer()
when restoring message fiedls: msg->pid.
(cherry picked from commit 57be5c1f33344275c15777a7927d9c48df4a69ba)
- URL: https://github.com/kamailio/kamailio/commit/63022e0d95500e5da0d1a7cc4d14ced…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:08:40Z
jsonrpcs: exported dispatch() function to kemi
(cherry picked from commit 08a9ed3d136c861f990e4f63c2c0544e08d9078d)
- URL: https://github.com/kamailio/kamailio/commit/fc91871294ff7d23fadb642550122e1…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:09:04Z
drouting: give portparameter set to 0 to sip_resolvehost()
- enable doing SRV query, GH #2553
(cherry picked from commit 18f59c10582845da5eea280990daf19c804978fb)
- URL: https://github.com/kamailio/kamailio/commit/833e3d0f9bbc2e4e00c662f4927ace9…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:09:12Z
dispatcher: test no-dns flag to skip ip matching for hostnames
- no dns done at startup if the flag is set in the destination record
(cherry picked from commit 1c58b8e0ed221404a15c1426f40df167654e3860)
- URL: https://github.com/kamailio/kamailio/commit/a9a35d0ba6e6f55a7788bf8cee945b7…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:09:36Z
tm: print ruri mode in debug message from t load contacts
(cherry picked from commit 3214ecd8ee82d1b69cde57d96dddefe1301c190c)
- URL: https://github.com/kamailio/kamailio/commit/41761ed5d158ab59ef51aca11a849ce…
Author: Aleksandar Yosifov <alexyosifov(a)gmail.com>
Date: 2020-12-21T15:10:48Z
smsops: fix len calc for a concatenated sms
- fixed the calculation for concatenated SMSs
based on TS 23.040, Sec. 9.2.3.16
(cherry picked from commit d90f29b3b03386add989aebe3865bdc78dff8fbe)
- URL: https://github.com/kamailio/kamailio/commit/7cecd70c29bd5e0b8fa918ad99b016a…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:11:00Z
tm: proper fill of From/To URI/tag values using parsed structure in t_uac_send()
(cherry picked from commit aa6e9963b2725c1b6b7e5ff995a77c222d95fa3c)
- URL: https://github.com/kamailio/kamailio/commit/1f5bd88fd60f98e36fd0b59b54398a2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:11:08Z
misc/examples: note that sr is exported by app_lua_sr
- hint for lua syntax check
(cherry picked from commit 889431746d24c73eeff73705fab36a0e154116a9)
- URL: https://github.com/kamailio/kamailio/commit/a76f06eb010765216450bd78bcc1040…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:11:16Z
kemix: exported function get_rcvadvip() and get_rcvadvport()
- return advertised address and port of the receiving socket
(cherry picked from commit 070a9c042a1caf19162d3d97b26f8d7548747cbb)
- URL: https://github.com/kamailio/kamailio/commit/6f6dda289c5c26a3098cae0d8df37e6…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:11:25Z
kemix: exported functions to get socket string and name
(cherry picked from commit b59204eb1df8c85bcdde65f2a840f55986f01223)
- URL: https://github.com/kamailio/kamailio/commit/b4f83c8001569c99582eb3f92433083…
Author: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-12-21T15:13:46Z
tls: log version, gh #2561
(cherry picked from commit c9f0adddde8321bfaf368691fea74079e40bd789)
- URL: https://github.com/kamailio/kamailio/commit/f7e7c3501a79415ff12ae77b5428a88…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:15:45Z
dispatcher: removed unnecessary return
(cherry picked from commit 721d533317c735d7ddbd16ad94684b483468c010)
- URL: https://github.com/kamailio/kamailio/commit/91d4c181c5472c9e1d1727c74e7e637…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:16:16Z
core: check if the tcp clone rcv buffer is set when applying changes
(cherry picked from commit aa13720e5d78dde5ae5235c13399848cb8f5a0cc)
- URL: https://github.com/kamailio/kamailio/commit/f21627f0e24c5717ca29198a1c8f457…
Author: Victor Seva <linuxmaniac(a)torreviejawireless.org>
Date: 2020-12-21T15:17:22Z
ndb_redis: set message level to debug on reconnect
* logging error makes no sense here since there's going
to be a reconnection afterwards
(cherry picked from commit 98805c723fbe01556e56d5b00ffc686b92014847)
- URL: https://github.com/kamailio/kamailio/commit/5c685f3d3d091dfd56fea5cb2ae7668…
Author: Sergey Safarov <s.safarov(a)gmail.com>
Date: 2020-12-21T15:18:02Z
lost: removed extra `"` symbol in example
(cherry picked from commit 124499c12db185d85805e5c71d5cc4222e608b68)
- URL: https://github.com/kamailio/kamailio/commit/7465d23be7b0e9f27dc4f95c99fba7f…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:20:13Z
auth_diameter: init variable and check before freeing
(cherry picked from commit 04dc5d6c66c85d0d411aa23b27bc6be00258eff6)
- URL: https://github.com/kamailio/kamailio/commit/6a4e6784dd787f3c33af8907771c023…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:24:55Z
tm: check end of header name in lw parser
- proper identification of header type, prior could mistakenly set the
type by matching the prefix of long header name
- GH #2572
(cherry picked from commit c0f5382bfbd2022896a9b206967977f827517700)
- URL: https://github.com/kamailio/kamailio/commit/7d2fc9e4e480fb811983212136938ca…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:26:36Z
core: tcp - debug messages merged, print bytes read and flags
(cherry picked from commit efb9c5f83b37c316b848ae7b6dc829e2f8ca6275)
- URL: https://github.com/kamailio/kamailio/commit/ef4bb80111a3eb8e7741a814ae3b113…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:26:40Z
core: tcp - log connection state and flags on debug message
(cherry picked from commit 41040a0420ee48f51901bf32e29526c8948ecea0)
- URL: https://github.com/kamailio/kamailio/commit/4bc84f40b0fe7e9a654a1d24ee190fb…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:27:07Z
dispatcher: check weight value to be in expected range
(cherry picked from commit e00f610203fee957a22afc5f8103c1482a925138)
- URL: https://github.com/kamailio/kamailio/commit/65b9c2d085f8d0b2f73fc948f185f59…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:29:17Z
dispatcher: info log message when adding extra weight or rweight percentages
(cherry picked from commit ba27633ca22bcfc18fd4bb7d62c2f5bb32e56962)
- URL: https://github.com/kamailio/kamailio/commit/b0c05e51d2fdfba36cd1e023a9d44e7…
Author: Henning Westerholt <hw(a)skalatan.de>
Date: 2020-12-21T15:29:49Z
Revert "kemix: exported functions to get socket string and name"
This reverts commit 6f6dda289c5c26a3098cae0d8df37e6bc51e1ac1.
- URL: https://github.com/kamailio/kamailio/commit/dcc0b84d12d2a8591e91019cd626047…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:31:08Z
http_client: do not set empty headers and body
(cherry picked from commit ce58411c462231d6ea1fc3b4acbf50520c2962ce)
- URL: https://github.com/kamailio/kamailio/commit/03505654c7ecd4b0e026a561d36ca2c…
Author: tsearle <tsearle(a)gmail.com>
Date: 2020-12-21T15:31:26Z
modules/siptrace: fix regression preventing variables to be used (#2588)
* modules/siptrace: fix regression preventing variables to be used
Commit fa7eb2a switched the 2 parameter version of sip_trace from
using the builtin fixup_spve_spve to the custom fixup method to
using the custom fixup_siptrace. As it is a custom fixup method,
the corresponding free method can not be auto-detected causing the
config parser to require the parameters to be a constant. This
patch adds a free method, allowing variables to be once again passed
as the 2nd parameter of this method (as well as fixing a memory leak
for the 3rd parameter).
* change free for parameter 3
Co-authored-by: Torrey Searle <tsearle(a)voxbone.com>
(cherry picked from commit 7c98d547996637a7bf1c7025c93142f574fe3ac9)
- URL: https://github.com/kamailio/kamailio/commit/8283f280977a5edc8973028a05d70d0…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:34:12Z
dialog: handle CANCEL requests for CSeq updates
(cherry picked from commit fd35a1a4eee2c50a3b7bf4ee6b1f6f20f4fa7d62)
- URL: https://github.com/kamailio/kamailio/commit/70aaf931cf24738b6909721405657f2…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T15:35:17Z
http_client: docs - section title to get proper entry in toc
- bits of whitespacing fixing
(cherry picked from commit fadc0fc499fb57a763aa71a76b24cff152bbd927)
Module: kamailio
Branch: master
Commit: 8e54f027e8193b70e840033b9c3c5a94ebf5486b
URL: https://github.com/kamailio/kamailio/commit/8e54f027e8193b70e840033b9c3c5a9…
Author: Kamailio Dev <kamailio.dev(a)kamailio.org>
Committer: Kamailio Dev <kamailio.dev(a)kamailio.org>
Date: 2020-12-21T14:46:11+01:00
modules: readme files regenerated - registrar ... [skip ci]
---
Modified: src/modules/registrar/README
---
Diff: https://github.com/kamailio/kamailio/commit/8e54f027e8193b70e840033b9c3c5a9…
Patch: https://github.com/kamailio/kamailio/commit/8e54f027e8193b70e840033b9c3c5a9…
---
diff --git a/src/modules/registrar/README b/src/modules/registrar/README
index 3298f6f41d..8100557bd5 100644
--- a/src/modules/registrar/README
+++ b/src/modules/registrar/README
@@ -722,13 +722,15 @@ modparam("registrar", "reg_callid_avp", "$avp(s:avp)")
Defines the name of XAVP class to store runtime module config values.
The values are stored as inner XAVPs, like $xavp(class=>attribute).
Valid inner XAVP names:
+ * expires - the number of maximum contacts to be stored for the
+ current registration AoR. It overwrites the 'max_contacts' module
+ parameter value.
+ * q - the expires value, to overwrite the value from SIP headers.
* max_contacts - the number of maximum contacts to be stored for the
current registration AoR. It overwrites the 'max_contacts' module
parameter value.
* socket - the string representing the socket on which the register
request was received, as alternative to using the sock_hdr.
- * q - q value of contact (integer 0-1000). It overrides q value given
- in contact header and default_q parameter.
For example. if this parameter is set to 'reg', then the number of
maximum contacts can be set in $xavp(reg=>max_contacts).
@@ -742,6 +744,7 @@ modparam("registrar", "xavp_cfg", "reg")
request_route {
...
$xavp(reg=>max_contacts) = 4;
+ $xavp(reg[0]=>expires) = 600;
save("location");
...
}
Module: kamailio
Branch: master
Commit: 4b7c02c93053076d3089499a0290203157b63c0d
URL: https://github.com/kamailio/kamailio/commit/4b7c02c93053076d3089499a0290203…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T14:34:16+01:00
registrar: docs for expires field of xavp_cfg
---
Modified: src/modules/registrar/doc/registrar_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/4b7c02c93053076d3089499a0290203…
Patch: https://github.com/kamailio/kamailio/commit/4b7c02c93053076d3089499a0290203…
---
diff --git a/src/modules/registrar/doc/registrar_admin.xml b/src/modules/registrar/doc/registrar_admin.xml
index 94ce4b3a0b..f4bb213b14 100644
--- a/src/modules/registrar/doc/registrar_admin.xml
+++ b/src/modules/registrar/doc/registrar_admin.xml
@@ -745,24 +745,29 @@ modparam("registrar", "reg_callid_avp", "$avp(s:avp)")
<itemizedlist>
<listitem>
<para>
- <emphasis>max_contacts</emphasis> - the number of maximum
+ <emphasis>expires</emphasis> - the number of maximum
contacts to be stored for the current registration AoR. It
overwrites the 'max_contacts' module parameter value.
</para>
</listitem>
<listitem>
<para>
- <emphasis>socket</emphasis> - the string representing the
- socket on which the register request was received, as alternative
- to using the sock_hdr.
+ <emphasis>q</emphasis> - the expires value, to overwrite the
+ value from SIP headers.
+ </para>
+ </listitem>
+ <listitem>
+ <para>
+ <emphasis>max_contacts</emphasis> - the number of maximum
+ contacts to be stored for the current registration AoR. It
+ overwrites the 'max_contacts' module parameter value.
</para>
</listitem>
<listitem>
<para>
- <emphasis>q</emphasis> - q value of contact
- (integer 0-1000). It
- overrides q value given in contact header and
- default_q parameter.
+ <emphasis>socket</emphasis> - the string representing the
+ socket on which the register request was received, as alternative
+ to using the sock_hdr.
</para>
</listitem>
</itemizedlist>
@@ -784,6 +789,7 @@ modparam("registrar", "xavp_cfg", "reg")
request_route {
...
$xavp(reg=>max_contacts) = 4;
+ $xavp(reg[0]=>expires) = 600;
save("location");
...
}
Hello,
I am planning to release next week (likely on Monday 21st December) the next minor version out of branch 5.3, version 5.3.8.
Backports of fixed issues from git master will be integrated as usual. If you are aware of new issues which were not yet reported, let us know (by creating an issue on the tracker).
Cheers,
Henning
--
Henning Westerholt - https://skalatan.de/blog/
Kamailio services - https://gilawa.com<https://gilawa.com/>
Module: kamailio
Branch: master
Commit: 729340ff8c80ac836f1889c505cf361abc4fe0ae
URL: https://github.com/kamailio/kamailio/commit/729340ff8c80ac836f1889c505cf361…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-12-21T10:29:28+01:00
http_client: docs for http_client_get()
---
Modified: src/modules/http_client/doc/http_client_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/729340ff8c80ac836f1889c505cf361…
Patch: https://github.com/kamailio/kamailio/commit/729340ff8c80ac836f1889c505cf361…
---
diff --git a/src/modules/http_client/doc/http_client_admin.xml b/src/modules/http_client/doc/http_client_admin.xml
index 6f1c897690..2c8295f07f 100644
--- a/src/modules/http_client/doc/http_client_admin.xml
+++ b/src/modules/http_client/doc/http_client_admin.xml
@@ -897,6 +897,35 @@ http_client_query("http://api.com/index.php",
# POST-Request
http_client_query("http://api.com/index.php", "src=$si",
"Content-Type: text/plain", "$var(result)");
+...
+ </programlisting>
+ </example>
+ </section>
+ <section id="http_client.f.http_get">
+ <title>
+ <function moreinfo="none">http_client_get(url, body, hdrs, respv)</function>
+ </title>
+ <para>
+ Perform a HTTP GET request to "url", storing the response body
+ in the "respv" variable. The "body" and "hdrs" can be empty strings
+ to skip setting them. The first three parameters can contain
+ variables that are evaluated at runtime. The "respv" has to be
+ the name of a writable variable.
+ </para>
+ <para>
+ Note: usually HTTP GET requests should have no body, according to
+ specs the body in HTTP GET does not affect the response, but is
+ not explicitely forbidden.
+ </para>
+ <example>
+ <title><function>http_client_get()</function> usage</title>
+ <programlisting format="linespecific">
+...
+http_client_get("http://api.com/index.php?r_uri=$(ru{s.escape.param})&f_uri=$(fu{s.escap…",
+ "", "X-Token: abc", "$var(result)");
+switch ($rc) {
+ ...
+}
...
</programlisting>
</example>