Module: kamailio
Branch: 5.3
Commit: 5add3307469136d792c0bcad29356d947c3ae128
URL: https://github.com/kamailio/kamailio/commit/5add3307469136d792c0bcad29356d9…
Author: Juha Heinanen <jh(a)tutpro.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-30T14:44:58+01:00
registrar: added note about branch flags in save()/lookup() doc
(cherry picked from commit f2996bf733a0b5e00fe124440353b9a69a3532a2)
(cherry picked from commit f050ce2dc5f27a08bf5c5364e4002b646802eb81)
---
Modified: src/modules/registrar/doc/registrar_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/5add3307469136d792c0bcad29356d9…
Patch: https://github.com/kamailio/kamailio/commit/5add3307469136d792c0bcad29356d9…
---
diff --git a/src/modules/registrar/doc/registrar_admin.xml b/src/modules/registrar/doc/registrar_admin.xml
index 8b83e3c00e..3002766bbf 100644
--- a/src/modules/registrar/doc/registrar_admin.xml
+++ b/src/modules/registrar/doc/registrar_admin.xml
@@ -1051,7 +1051,8 @@ request_route {
modify location records (in usrloc) depending on Contact and Expires header fields in the
REGISTER message. On success and when called from the REQUEST_ROUTE,
<quote>200 OK</quote> will be returned listing all contacts that are currently in
- the location database. On an error, an error message will be sent with a short
+ the location database. As a side effect, also branch flags are
+ stored in usrloc. On an error, an error message will be sent with a short
description in reason phrase.
</para>
<para>Meaning of the parameters is as follows:</para>
@@ -1152,6 +1153,7 @@ save("location", "0x00", "sip:test@kamailio.org");
Request-URI will be overwritten with the contact that has
the highest q value and optionally the rest will be appended to
the message (depending on append_branches parameter value).
+ As a side effect, also branch flags are restored from usrloc.
</para>
<para>
If the <varname>method_filtering</varname> option is enabled and
Module: kamailio
Branch: 5.3
Commit: c9e547b7a967ad3215814cef62c8cba199e04960
URL: https://github.com/kamailio/kamailio/commit/c9e547b7a967ad3215814cef62c8cba…
Author: Daniel-Constantin Mierla <miconda(a)gmail.com>
Committer: Daniel-Constantin Mierla <miconda(a)gmail.com>
Date: 2020-10-30T14:44:38+01:00
pipelimit: use unsigned to compute size and for iterator
(cherry picked from commit 23818fb34d09a487654ea89c9f29b880c0c75197)
(cherry picked from commit 550840b4b9ce8df9acdf875f907ce86533fea43e)
---
Modified: src/modules/pipelimit/pl_statistics.c
---
Diff: https://github.com/kamailio/kamailio/commit/c9e547b7a967ad3215814cef62c8cba…
Patch: https://github.com/kamailio/kamailio/commit/c9e547b7a967ad3215814cef62c8cba…
---
diff --git a/src/modules/pipelimit/pl_statistics.c b/src/modules/pipelimit/pl_statistics.c
index e1afa2ffb8..0c6c52d389 100644
--- a/src/modules/pipelimit/pl_statistics.c
+++ b/src/modules/pipelimit/pl_statistics.c
@@ -137,10 +137,12 @@ int get_socket_list_from_proto_and_family(int **ipList, int protocol, int family
struct socket_info *si;
struct socket_info** list;
- int num_ip_octets = family == AF_INET ? NUM_IP_OCTETS : NUM_IPV6_OCTETS;
- int numberOfSockets = 0;
+ unsigned int num_ip_octets = 0;
+ unsigned int numberOfSockets = 0;
int currentRow = 0;
+ num_ip_octets = (family == AF_INET) ? NUM_IP_OCTETS : NUM_IPV6_OCTETS;
+
/* I hate to use #ifdefs, but this is necessary because of the way
* get_sock_info_list() is defined. */
#ifndef USE_TCP
@@ -198,7 +200,7 @@ int get_socket_list_from_proto_and_family(int **ipList, int protocol, int family
/* Extract out the IP Addresses and ports. */
for(si=list?*list:0; si; si=si->next){
- int i;
+ unsigned int i;
/* We currently only support IPV4. */
if (si->address.af != family) {
Latest master does not like this line in config:
use_dst_blacklist=on
Start with option -c gives:
0(19289) CRITICAL: <core> [core/cfg.y:3611]: yyerror_at(): parse error in config file /etc/pres-serv/pres-serv.cfg, line 137, column 18: syntax error
0(19289) CRITICAL: <core> [core/cfg.y:3611]: yyerror_at(): parse error in config file /etc/pres-serv/pres-serv.cfg, line 137, column 18: unknown config variable
0(19289) CRITICAL: <core> [core/cfg.y:3608]: yyerror_at(): parse error in config file /etc/pres-serv/pres-serv.cfg, line 137, column 19-20:
ERROR: bad config file (3 errors)
According to core cookbook, the var exists.
With 5.4 the same config file is accepted.
-- Juha