kamailio
3 months agoChangeLog: content updated for v5.5.1 5.5.2
Daniel-Constantin Mierla [Wed, 25 Aug 2021 10:01:55 +0000 (12:01 +0200)]
ChangeLog: content updated for v5.5.1

3 months agoMakefile.defs: version set to 5.5.2
Daniel-Constantin Mierla [Wed, 25 Aug 2021 06:29:41 +0000 (08:29 +0200)]
Makefile.defs: version set to 5.5.2

3 months agopkg: version set to 5.5.2 for rpm and alpine specs
Daniel-Constantin Mierla [Wed, 25 Aug 2021 06:21:18 +0000 (08:21 +0200)]
pkg: version set to 5.5.2 for rpm and alpine specs

3 months agopkg/kamailio/deb: version set 5.5.2
Daniel-Constantin Mierla [Wed, 25 Aug 2021 06:16:58 +0000 (08:16 +0200)]
pkg/kamailio/deb: version set 5.5.2

3 months agokamctl: regenerate db creation scripts
Daniel-Constantin Mierla [Mon, 23 Aug 2021 18:45:38 +0000 (20:45 +0200)]
kamctl: regenerate db creation scripts

(cherry picked from commit 5ad81a45bb28ca419d9285cc59816db0fa1afefd)

3 months agolib/srdb1/schema: use proto_addr_len from sip_trace from/to ip fields
Daniel-Constantin Mierla [Mon, 23 Aug 2021 18:43:28 +0000 (20:43 +0200)]
lib/srdb1/schema: use proto_addr_len from sip_trace from/to ip fields

- size of fields is now 64
- they store proto:addr:port
- GH #2831

(cherry picked from commit 4decc7ca50089f94d4fcc2ad4af2b4e1089986e7)

3 months agotm - remove not used route_mode var
Luis Martin Gil [Thu, 23 Jul 2020 08:04:04 +0000 (10:04 +0200)]
tm - remove not used route_mode var

(cherry picked from commit 6619be46249dfe0b2f2cbc863cb8b2f44716122b)

3 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Fri, 20 Aug 2021 08:01:33 +0000 (10:01 +0200)]
modules: readme files regenerated - modules ... [skip ci]

3 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Thu, 29 Jul 2021 08:46:31 +0000 (10:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

3 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Thu, 24 Jun 2021 16:46:33 +0000 (18:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

3 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Tue, 15 Jun 2021 13:46:25 +0000 (15:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

3 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Tue, 18 May 2021 19:16:31 +0000 (21:16 +0200)]
modules: readme files regenerated - modules ... [skip ci]

3 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Wed, 12 May 2021 14:16:33 +0000 (16:16 +0200)]
modules: readme files regenerated - modules ... [skip ci]

3 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Mon, 3 May 2021 22:46:15 +0000 (00:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

3 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Mon, 3 May 2021 10:46:23 +0000 (12:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

3 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Mon, 3 May 2021 08:16:38 +0000 (10:16 +0200)]
modules: readme files regenerated - modules ... [skip ci]

3 months agocore: check message snd and rcv proto for COND_IF_DIFF_PROTO lumps
Daniel-Constantin Mierla [Fri, 20 Aug 2021 05:03:45 +0000 (07:03 +0200)]
core: check message snd and rcv proto for COND_IF_DIFF_PROTO lumps

- besides comparing the protos of rcv and snd sockets

(cherry picked from commit 31377b160df563a222bec5a1bf92590635429240)

3 months agocore: check message rcv and snd proto for diff realms lump conditions
Daniel-Constantin Mierla [Thu, 19 Aug 2021 16:11:04 +0000 (18:11 +0200)]
core: check message rcv and snd proto for diff realms lump conditions

- in addition to receive socket and send socket protos, which may be the
same in cases of tcp/tls+ws/wss using same ports

(cherry picked from commit 871f8113612148a49e69218e70ed7f475fb665db)

3 months agolwsc: docs - updated references to libwebsockets version
Daniel-Constantin Mierla [Thu, 19 Aug 2021 12:56:50 +0000 (14:56 +0200)]
lwsc: docs - updated references to libwebsockets version

- GH #2749

(cherry picked from commit 01afcc7fb2468c21a8e1cfb1a717fa96299794fa)

3 months agocplc: use cpl_ prefix for internal time recurrence functions
Daniel-Constantin Mierla [Wed, 18 Aug 2021 16:08:38 +0000 (18:08 +0200)]
cplc: use cpl_ prefix for internal time recurrence functions

- avoid global symbol conflicts with core tmrec.c
- GH #2827

(cherry picked from commit 431544864c97d1848db1c0c42a03251a214f04cd)

3 months agodrouting: added dr_ prefix to internal time recurrence functions
Daniel-Constantin Mierla [Wed, 18 Aug 2021 15:39:25 +0000 (17:39 +0200)]
drouting: added dr_ prefix to internal time recurrence functions

- avoids symbol conflicts with the core tmrec.c
- GH #2828

(cherry picked from commit 33ea38f35f9911a26a757dbfa22065eb80a9a24a)

3 months agokazoo : fix routing of reply events
Alan Evans [Thu, 24 Jun 2021 10:24:39 +0000 (10:24 +0000)]
kazoo : fix routing of reply events

success events should be routed to onreply_route[]
failure events should be routed to failure_route[]

(cherry picked from commit fb2eee3e175040fef5e76cbed11430976f62df32)

3 months agocore: ip addr - use POSIX INET6_ADDRSTRLEN and INET_ADDRSTRLEN to define sizes
Daniel-Constantin Mierla [Fri, 13 Aug 2021 06:57:10 +0000 (08:57 +0200)]
core: ip addr - use POSIX INET6_ADDRSTRLEN and INET_ADDRSTRLEN to define sizes

- set the values of IP4_MAX_STR_SIZE and IP6_MAX_STR_SIZE based on them,
if defined, or to 15 and 45
- cope with IPv6 with IPv4 tunneling representation (RFC 4291 section 2.2)
- cover the requirements of using inet_ntop()
- GH #2823

(cherry picked from commit 22a72f3a7725d56f00e22bdc52d44bd53da7c091)

3 months agotm: restore xavps & flags after rebuilding message
lazedo [Wed, 11 Aug 2021 14:42:24 +0000 (15:42 +0100)]
tm: restore xavps & flags after rebuilding message

(cherry picked from commit 7ee642c58991e594f38247ab0751fadd07ce758c)

3 months agotextops: check session sendrecv_mode in is_audio_on_hold
Luis Azedo [Thu, 5 Aug 2021 11:32:32 +0000 (12:32 +0100)]
textops: check session sendrecv_mode in is_audio_on_hold

- if sendrecv_mode is not set in media, check if its set in session

(cherry picked from commit cbcc27ef8b1674448bd8b1c45f03388e36f65f51)

3 months agocore: parse session sendrecv_mode in sdp
Luis Azedo [Thu, 5 Aug 2021 11:28:04 +0000 (12:28 +0100)]
core: parse session sendrecv_mode in sdp

- some user agents send a=sendonly as session attribute which apply to all media streams

(cherry picked from commit 8da4477fd6d9590b9946071b9ac2a778b1d55d01)

3 months agomisc/tools/protoshoot: removed svn id and history
Daniel-Constantin Mierla [Wed, 4 Aug 2021 12:15:09 +0000 (14:15 +0200)]
misc/tools/protoshoot: removed svn id and history

(cherry picked from commit e3875c01adf576f179374a926e69e99c0094e5b4)

3 months agosdpops: refactored sdp_remove_str_codec_id_attrs()
Daniel-Constantin Mierla [Tue, 3 Aug 2021 06:52:19 +0000 (08:52 +0200)]
sdpops: refactored sdp_remove_str_codec_id_attrs()

- line oriented matching of codec addributes
- support to remove a=rtcp-fb per codec, GH #2755

(cherry picked from commit 1a15a18eacd5764e9ba6240acbe37e645368f825)

3 months agocore: parser sdp - shorten debug message with sdp line
Daniel-Constantin Mierla [Tue, 3 Aug 2021 06:51:11 +0000 (08:51 +0200)]
core: parser sdp - shorten debug message with sdp line

- was printing the rest of the body, print now max 20 chars

(cherry picked from commit 4191a8193025499df64f13d59f5716563e573161)

3 months agodb_redis: fix broken pipe issue, if redis server with timeout setting.
FredWH [Mon, 28 Jun 2021 06:46:25 +0000 (14:46 +0800)]
db_redis: fix broken pipe issue, if redis server with timeout setting.

- issue #2764

(cherry picked from commit 7cec977f8e12bbeb0309d903e02461d1ccbf41a8)

3 months agocore: enables compilation with debug symbols by default for other architectures
Sergey Safarov [Sun, 1 Aug 2021 11:40:26 +0000 (11:40 +0000)]
core: enables compilation with debug symbols by default for other architectures

- enables compilation with debug symbols by default for other architectures in core
- pull request GH #2811
- closes GH #2789

(cherry picked from commit ed46adad82e7b6569eb42704c5460263d2af75f7)

4 months agosworker: KSR.sworker.active() exported to kemi
Daniel-Constantin Mierla [Fri, 30 Jul 2021 11:31:30 +0000 (13:31 +0200)]
sworker: KSR.sworker.active() exported to kemi

- equivalent to existing sworker_active() config function

(cherry picked from commit 9f140ce93b1f6db649cd0e8eda26444d6b186231)

4 months agocore: pvapi - reinitialize _pv_print_buffer_index when adjusting the slots
Daniel-Constantin Mierla [Tue, 27 Jul 2021 14:52:12 +0000 (16:52 +0200)]
core: pvapi - reinitialize _pv_print_buffer_index when adjusting the slots

- GH #2798

(cherry picked from commit 61cbb5e861aeb9b7f69ebb8d284e3ded0ede9cd8)

4 months agosworker: docs - fixed small typo
Daniel-Constantin Mierla [Thu, 22 Jul 2021 13:34:25 +0000 (15:34 +0200)]
sworker: docs - fixed small typo

(cherry picked from commit fc62ceeb6d625acda6952486031efa1fe2945768)

4 months agopv_headers: pvh_set_header, remove values to set null when necessary
Victor Seva [Tue, 27 Jul 2021 08:52:21 +0000 (10:52 +0200)]
pv_headers: pvh_set_header, remove values to set null when necessary

* fix pvh_set_xavi for SR_XTYPE_NULL

(cherry picked from commit af926514ac3e70dff51408baf326b29bce4eecfc)

4 months agopv_headers: fix removal of all values when using PV_IDX_ALL
Victor Seva [Fri, 23 Jul 2021 13:56:11 +0000 (15:56 +0200)]
pv_headers: fix removal of all values when using PV_IDX_ALL

$(x_hdr(whatever)[*]) = "hello" was just removing the first value

(cherry picked from commit 9ad96c08e0deb759297b2d402295691d8dd657d5)

4 months agocore: set MAX_WARNING_LEN to 1024
Daniel-Constantin Mierla [Mon, 12 Jul 2021 12:01:40 +0000 (14:01 +0200)]
core: set MAX_WARNING_LEN to 1024

- 256 can be too short
- close GH #2799

(cherry picked from commit 0d06e164efa720d91d49995585e80c9082ce3b21)

4 months agotopos: fix missing xavu_field_contact_host evaluation for contact_mode 0
Henning Westerholt [Thu, 8 Jul 2021 14:57:27 +0000 (14:57 +0000)]
topos: fix missing xavu_field_contact_host evaluation for contact_mode 0

- fix missing xavu_field_contact_host evaluation for contact_mode 0
- it works currently only for contact_mode 1 and 2, but not for default mode

(cherry picked from commit 4c6abaf9066aebbd304391dd6730cad7ee592611)

4 months agocore: fix building quoted value for #!subsdefs
Daniel-Constantin Mierla [Thu, 1 Jul 2021 09:17:56 +0000 (11:17 +0200)]
core: fix building quoted value for #!subsdefs

(cherry picked from commit 879f8c4e52ab7f7f489107f18e2c80795c788bdd)

4 months agocore: ppcfg - clone value for substdef
Daniel-Constantin Mierla [Thu, 1 Jul 2021 08:19:08 +0000 (10:19 +0200)]
core: ppcfg - clone value for substdef

- GH #2788

(cherry picked from commit 56d41f6238f39d0046c97527abcb23b8dd7924be)

4 months agosecsipid: fix documentation for secsipid_check_identity_pubkey
Ovidiu Sas [Thu, 1 Jul 2021 14:04:10 +0000 (10:04 -0400)]
secsipid: fix documentation for secsipid_check_identity_pubkey

(cherry picked from commit 1e4911d8a92e9e2ff25457d76d47bee111433947)

5 months agocore: clone value for loadmodulex
Daniel-Constantin Mierla [Tue, 29 Jun 2021 07:25:30 +0000 (09:25 +0200)]
core: clone value for loadmodulex

(cherry picked from commit e04890fe90d6e5ce879f968eb689e8616b318d54)

5 months agocore: clone modparamx evaluated values
Daniel-Constantin Mierla [Tue, 29 Jun 2021 07:18:05 +0000 (09:18 +0200)]
core: clone modparamx evaluated values

(cherry picked from commit 68db24577dae35de1e9045f994d9a751b50ad14d)

5 months agocore: str list - added function to insert a block string in list
Daniel-Constantin Mierla [Tue, 29 Jun 2021 06:55:32 +0000 (08:55 +0200)]
core: str list - added function to insert a block string in list

(cherry picked from commit b92b931c26c199b756fd08e9c80cc9305469fd2b)

5 months agohttp_client: removed function names from logs
Daniel-Constantin Mierla [Tue, 29 Jun 2021 06:23:56 +0000 (08:23 +0200)]
http_client: removed function names from logs

(cherry picked from commit 84d245fb4eda7690a89b4057301f81685a9452d8)

5 months agohttp_client: clone name in http connection structures
Daniel-Constantin Mierla [Tue, 29 Jun 2021 06:09:22 +0000 (08:09 +0200)]
http_client: clone name in http connection structures

- use name to lookup private memory structure, hash id is not unique,
can be collisions for different names

(cherry picked from commit 9429083c87b1323e31983cc71551676c199bf640)

5 months agohttp_client: check if shm is initialized in curl_parse_param()
Daniel-Constantin Mierla [Tue, 29 Jun 2021 05:31:10 +0000 (07:31 +0200)]
http_client: check if shm is initialized in curl_parse_param()

(cherry picked from commit 7741ad7979d54fb4ee1247760d8d5c3666353a96)

5 months agotls: info log when libssl is linked static
Daniel-Constantin Mierla [Thu, 24 Jun 2021 12:24:06 +0000 (14:24 +0200)]
tls: info log when libssl is linked static

(cherry picked from commit 365e7e46dfb4f605bafe43b57e37e1ff68077567)

5 months agotls: debug messages with memory management functions
Daniel-Constantin Mierla [Thu, 24 Jun 2021 09:29:40 +0000 (11:29 +0200)]
tls: debug messages with memory management functions

(cherry picked from commit 81ace1c94369fb98081918acb55a6a13686784e3)

5 months agotls: Makefile - pkg-config for libcrypto
Daniel-Constantin Mierla [Thu, 24 Jun 2021 08:15:23 +0000 (10:15 +0200)]
tls: Makefile - pkg-config for libcrypto

- some distros have it separate of libssl

(cherry picked from commit 2a9e8b9d5c5556a10229813c8878a81933325a01)

5 months agohttp_client: docs - fixed small typo
Daniel-Constantin Mierla [Wed, 23 Jun 2021 11:05:44 +0000 (13:05 +0200)]
http_client: docs - fixed small typo

(cherry picked from commit 1f67ac5a62b58b35df52aedbd1a3d2234a72817e)

5 months agoxhttp: warning log if tcp_accept_no_cl is not set
Daniel-Constantin Mierla [Wed, 23 Jun 2021 06:48:10 +0000 (08:48 +0200)]
xhttp: warning log if tcp_accept_no_cl is not set

(cherry picked from commit b8fbf5e8c199b8277053f9c15231695a16058d6e)

5 months agowebsocket: docs - added tcp_accept_no_cl=yes to example
Daniel-Constantin Mierla [Mon, 21 Jun 2021 07:43:55 +0000 (09:43 +0200)]
websocket: docs - added tcp_accept_no_cl=yes to example

(cherry picked from commit a05b4d7c2e413032b1a63f3d017243446a0bc6ec)

5 months agoxhttp: extended example for event_route[xhttp:request]
Daniel-Constantin Mierla [Mon, 21 Jun 2021 07:42:28 +0000 (09:42 +0200)]
xhttp: extended example for event_route[xhttp:request]

(cherry picked from commit 195de260f102f1a016ad7bd1021571c1dd8a983f)

5 months agodispatcher: print eol in some log messages
Daniel-Constantin Mierla [Thu, 17 Jun 2021 14:40:39 +0000 (16:40 +0200)]
dispatcher: print eol in some log messages

(cherry picked from commit e6f4e929efb61a1a51aa1b4b5587999acc8dc55d)

5 months agohtable: fix documentation
Ovidiu Sas [Tue, 15 Jun 2021 17:03:07 +0000 (13:03 -0400)]
htable: fix documentation
 - reported by arkadiam on Github

(cherry picked from commit ee9c2bc2046103f0f7888c078b1f88d0befd6f7d)

5 months agopkg: enable RHEL7-like distros to build with OpenSSL 1.1.1 [skip ci]
SPChan [Thu, 10 Jun 2021 23:51:11 +0000 (07:51 +0800)]
pkg: enable RHEL7-like distros to build with OpenSSL 1.1.1 [skip ci]

(cherry picked from commit ecc2cc69b08e797ca954af233c229ed44475ce33)

5 months agopkg/kamailio/obs: disabled lwsc build on CentOS 6 dist
Sergey Safarov [Mon, 14 Jun 2021 12:31:32 +0000 (15:31 +0300)]
pkg/kamailio/obs: disabled lwsc build on CentOS 6 dist

(cherry picked from commit 03c2ea28767106333ee04c5e19ee490c010dfb58)

5 months agopkg/kamailio/obs: simlifid module definition for RHEL dist
Sergey Safarov [Mon, 14 Jun 2021 05:05:41 +0000 (08:05 +0300)]
pkg/kamailio/obs: simlifid module definition for RHEL dist

(cherry picked from commit e7a14f37c98e2bbfcf234165dc5dfd4121db5b5b)

5 months agopkg: add support for AlmaLinux and Rocky Linux
SPChan [Fri, 11 Jun 2021 03:23:55 +0000 (11:23 +0800)]
pkg: add support for AlmaLinux and Rocky Linux

(cherry picked from commit b3d3cb366b67941ecebd297038522580114e3a0b)

5 months agotopos: documentation fixed for contact_host xavu parameter
Henning Westerholt [Tue, 15 Jun 2021 09:59:00 +0000 (09:59 +0000)]
topos: documentation fixed for contact_host xavu parameter

(cherry picked from commit 40073c9975ee256cebbfe60f27d1b07c977395d0)

5 months agoChangeLog: content updated for v5.5.1 5.5.1
Daniel-Constantin Mierla [Tue, 15 Jun 2021 09:27:16 +0000 (11:27 +0200)]
ChangeLog: content updated for v5.5.1

5 months agoMakefile.defs: version set to 5.5.1
Daniel-Constantin Mierla [Tue, 15 Jun 2021 09:24:46 +0000 (11:24 +0200)]
Makefile.defs: version set to 5.5.1

5 months agopkg/kamailio/deb: version set 5.5.1
Daniel-Constantin Mierla [Tue, 15 Jun 2021 09:19:59 +0000 (11:19 +0200)]
pkg/kamailio/deb: version set 5.5.1

5 months agopkg: version set to 5.5.1 for rpm and alpine specs
Daniel-Constantin Mierla [Tue, 15 Jun 2021 08:45:10 +0000 (10:45 +0200)]
pkg: version set to 5.5.1 for rpm and alpine specs

5 months agortpproxy: removed unused replace_sdp_ip()
Daniel-Constantin Mierla [Tue, 15 Jun 2021 07:58:31 +0000 (09:58 +0200)]
rtpproxy: removed unused replace_sdp_ip()

(cherry picked from commit b92f1ab7c711f7b61abadb706f9a4cfbb2cf0dd4)

5 months agonathelper: check length on new condition inside replace_sdp_ip()
Daniel-Constantin Mierla [Tue, 15 Jun 2021 07:54:32 +0000 (09:54 +0200)]
nathelper: check length on new condition inside replace_sdp_ip()

(cherry picked from commit 521485c8f25f55cb3045ab2b33232c7026d8527d)

5 months agonathelper: don't fail if 'a=rtcp' has no IP
Victor Seva [Tue, 8 Jun 2021 13:03:21 +0000 (15:03 +0200)]
nathelper: don't fail if 'a=rtcp' has no IP

Examples from RFC3605:
>    m=audio 49170 RTP/AVP 0
>    a=rtcp:53020
>
>    m=audio 49170 RTP/AVP 0
>    a=rtcp:53020 IN IP4 126.16.64.4
>
>    m=audio 49170 RTP/AVP 0
>    a=rtcp:53020 IN IP6 2001:2345:6789:ABCD:EF01:2345:6789:ABCD

fix #2768

(cherry picked from commit 71441c08970c307e2ce17b2dd292630ea615079c)

5 months agomodules/mohqueue: force RTP to follow SDP
Robert Boisvert [Wed, 19 May 2021 20:19:24 +0000 (16:19 -0400)]
modules/mohqueue: force RTP to follow SDP

  - version 1.8
  - use rtpproxy r flag to force RTP to follow SDP
  - fixed compiler warnings

(cherry picked from commit 0e51ce1075f206a4441333f72c69fcc56f8d6855)

5 months agosecsipid: explicit STIR/SHAKEN reference
Daniel-Constantin Mierla [Mon, 14 Jun 2021 14:56:21 +0000 (16:56 +0200)]
secsipid: explicit STIR/SHAKEN reference

- help matching on search terms

(cherry picked from commit a59ea8920c17aca29ffa734ca0babb107a415fde)

5 months agortpengine: ignore mos 0 when selecting min-mos (#2771)
Julien Chavanton [Thu, 10 Jun 2021 12:03:13 +0000 (05:03 -0700)]
rtpengine: ignore mos 0 when selecting min-mos (#2771)

and computing average mos

(cherry picked from commit a378f97adac89077de2fb162ec20295f6e4352fe)

5 months agokamctl: update name to globalblocklist in EXTRA_TABLES
Daniel-Constantin Mierla [Thu, 10 Jun 2021 10:15:29 +0000 (12:15 +0200)]
kamctl: update name to globalblocklist in EXTRA_TABLES

- GH #2773

(cherry picked from commit 90fa160b5d4a7155fc3d82f39932ac0e9d74fae7)

5 months agosiptrace: fixed IPv6 without brackets
Sergey Safarov [Thu, 10 Jun 2021 09:17:54 +0000 (12:17 +0300)]
siptrace: fixed IPv6 without brackets

more details GH #2775

(cherry picked from commit 417eb2a7052a9354712663cca9e3bc075a3f69c0)

5 months agopv: added missing WS and WSS to $K(key) variable
Daniel-Constantin Mierla [Wed, 9 Jun 2021 10:15:38 +0000 (12:15 +0200)]
pv: added missing WS and WSS to $K(key) variable

(cherry picked from commit a8c9d0ae4fbafba89ef12737419037d141eed1d3)

5 months agosmsops: support for 7bit special chars
Aleksandar Yosifov [Wed, 2 Jun 2021 07:02:53 +0000 (10:02 +0300)]
smsops: support for 7bit special chars

    - Added support for 7bit special chars
    for MO/MT SMSs.

(cherry picked from commit f82c4775efca0580401f4b1a48dcb4d2cf26814f)

5 months agoapp_perl change to ignore "die" signals from eval blocks
rodolfojcj [Tue, 1 Jun 2021 12:06:32 +0000 (08:06 -0400)]
app_perl change to ignore "die" signals from eval blocks

(cherry picked from commit 50557b8433e137a9095b4d48df8ac9b8c3fd8807)

5 months agodmq: warning about protocol made info
Daniel-Constantin Mierla [Fri, 4 Jun 2021 07:08:06 +0000 (09:08 +0200)]
dmq: warning about protocol made info

(cherry picked from commit b775bbdff501de0ca1f1a0bc1ab39a3b790c166f)

5 months agopv: test for HDR_ERROR_T after header name parsing
Daniel-Constantin Mierla [Thu, 3 Jun 2021 13:29:50 +0000 (15:29 +0200)]
pv: test for HDR_ERROR_T after header name parsing

(cherry picked from commit c264fbc66a4690b073c72ffa8fc095227ce0ae8b)

5 months agodialog: safety checks for bind addr fields
Daniel-Constantin Mierla [Thu, 3 Jun 2021 13:28:31 +0000 (15:28 +0200)]
dialog: safety checks for bind addr fields

- they can be null on non-local sockets
- GH #2757

(cherry picked from commit 490ae559d2b77b13b3f3831e7ff1aa58980e4086)

5 months agocore: kemi - check hdr type HDR_ERROR_T after parsing
Daniel-Constantin Mierla [Wed, 2 Jun 2021 16:57:53 +0000 (18:57 +0200)]
core: kemi - check hdr type HDR_ERROR_T after parsing

(cherry picked from commit 785bbaa0f16f83353ad1d776816f439608a67858)

5 months agosecsipid: note about libsecsipid location and failure return codes
Daniel-Constantin Mierla [Tue, 1 Jun 2021 07:50:31 +0000 (09:50 +0200)]
secsipid: note about libsecsipid location and failure return codes

(cherry picked from commit 59719a1ac97337ca7f8b83b0e8a9d63bf6ec0c7e)

5 months agoasync: safety check for async ms list
Daniel-Constantin Mierla [Mon, 31 May 2021 15:23:42 +0000 (17:23 +0200)]
async: safety check for async ms list

(cherry picked from commit 5b0e74c1832d2d09fe36424e1e1aaaacde920b31)

5 months agosecsipid: log message on identity generation failure
Daniel-Constantin Mierla [Mon, 31 May 2021 13:02:01 +0000 (15:02 +0200)]
secsipid: log message on identity generation failure

(cherry picked from commit 4b7eedf5af9a461d5a1de1148c814faa5db8cbaa)

5 months agoldap: several functions exported to kemi framework
Daniel-Constantin Mierla [Mon, 31 May 2021 11:36:11 +0000 (13:36 +0200)]
ldap: several functions exported to kemi framework

(cherry picked from commit 2d4b4939d1845fffdc3fa3ced9889720d0213d47)

5 months agocore: parse via - fixed whitespacing
Daniel-Constantin Mierla [Mon, 31 May 2021 10:05:01 +0000 (12:05 +0200)]
core: parse via - fixed whitespacing

(cherry picked from commit 01664d1d82dcfe952fce29033b4fcd5e44cf2319)

5 months agomtree: check if pv_count var is r/w
Daniel-Constantin Mierla [Fri, 28 May 2021 11:54:08 +0000 (13:54 +0200)]
mtree: check if pv_count var is r/w

- reported by GH #2750

(cherry picked from commit 63b0345207ba67fcc6290d6dfc55f99ba58b13c9)

5 months agomtree: Fix some typos, adjust some formatting
Olle E. Johansson [Fri, 28 May 2021 07:38:31 +0000 (09:38 +0200)]
mtree: Fix some typos, adjust some formatting

(cherry picked from commit 316c80607243387015e35ac423238c5a32401a44)

5 months agosipdump: fixed typo
Sergey Safarov [Sat, 29 May 2021 17:41:53 +0000 (20:41 +0300)]
sipdump: fixed typo

(cherry picked from commit 7f226f5b08c93ed0a43113d7947730329ff7db38)

6 months agopkg/kamailio/deb: missing lwsc module files [skip ci]
Victor Seva [Thu, 27 May 2021 12:03:01 +0000 (14:03 +0200)]
pkg/kamailio/deb: missing lwsc module files [skip ci]

fixes #2749

(cherry picked from commit f49d97fc92d3dbfa11c11ca453b9639aa7f81221)

6 months agopike: fixed regression
Boris Korzun [Tue, 25 May 2021 14:14:18 +0000 (17:14 +0300)]
pike: fixed regression
- removed unnecessary NULL-return from mark_node() after previous commit

(cherry picked from commit 79fbb7c6df5d4c742b1283b752c2df0f51e77f09)

6 months agocore: ut - fixed str_casesearch()
Boris Korzun [Tue, 25 May 2021 14:00:19 +0000 (17:00 +0300)]
core: ut - fixed str_casesearch()
- fixed str_casesearch() behaviour on text and needle were equal

(cherry picked from commit c146ef490e1d7d35add7d3ee593f6d3d20e327ad)

6 months agocore: clone define value to avoid losing the reference
Daniel-Constantin Mierla [Tue, 25 May 2021 08:24:23 +0000 (10:24 +0200)]
core: clone define value to avoid losing the reference

- impacted also by substdef
- GH #2736

(cherry picked from commit 84055b2fe963e01a217149991dd1c8cbe8a8aeec)

6 months agopv: proper increment to check escaped char for s.select
Daniel-Constantin Mierla [Sat, 22 May 2021 15:53:50 +0000 (17:53 +0200)]
pv: proper increment to check escaped char for s.select

(cherry picked from commit ffa19ffedeb8db8ac38a742ae8b686525fd906ea)

6 months agosnmpstats: Fix typo in MIB
Olle E. Johansson [Mon, 24 May 2021 06:26:18 +0000 (08:26 +0200)]
snmpstats: Fix typo in MIB

Reported by arkadiam on Github

(cherry picked from commit 7f017707c91659641ce9ca87ee4149b2e39379f7)

6 months agopv: support escaped chars for s.select separator
Daniel-Constantin Mierla [Fri, 21 May 2021 12:22:33 +0000 (14:22 +0200)]
pv: support escaped chars for s.select separator

- \\, \n, \r, \t

(cherry picked from commit f2973cf0dce0de5c002ac8ee61ac7e829823ed0e)

6 months agopv: more details in err log message for s.select parsing
Daniel-Constantin Mierla [Fri, 21 May 2021 06:40:21 +0000 (08:40 +0200)]
pv: more details in err log message for s.select parsing

(cherry picked from commit 02ad9e1b87f89b9456d0d85e16c2fe0cda67ab64)

6 months agopv: remove verbose debug message
Daniel-Constantin Mierla [Wed, 19 May 2021 06:11:19 +0000 (08:11 +0200)]
pv: remove verbose debug message

(cherry picked from commit 1334265846ebe6a06e7e139421778e960cb54c7a)

6 months agoxhttp_prom: fix small copy/paste typo in documentation
Ovidiu Sas [Tue, 18 May 2021 19:00:23 +0000 (15:00 -0400)]
xhttp_prom: fix small copy/paste typo in documentation

(cherry picked from commit 2967a41f5537df81745a71226ba9e793ccbdd453)

6 months agokamctl: updated db generation scripts
Daniel-Constantin Mierla [Tue, 18 May 2021 06:18:12 +0000 (08:18 +0200)]
kamctl: updated db generation scripts

(cherry picked from commit 58d5f06aacce6ba7bb26f7be928b9bf71d39f9c3)

6 months agolib/srdb1: schema - version set to 5 for uacreg table
Daniel-Constantin Mierla [Tue, 18 May 2021 06:17:07 +0000 (08:17 +0200)]
lib/srdb1: schema - version set to 5 for uacreg table

(cherry picked from commit 8da9b7936c1be8b5c4df80d716344dfa4461b494)