kamailio
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)

6 months agosecsipid: clod dlopen handle on mod destroy
Daniel-Constantin Mierla [Mon, 17 May 2021 06:08:20 +0000 (08:08 +0200)]
secsipid: clod dlopen handle on mod destroy

(cherry picked from commit 4752ad434c087ac3b11968e5241c61e9e1f903aa)

6 months agotopos: init xavp and context modparams to str null
Daniel-Constantin Mierla [Thu, 13 May 2021 15:53:18 +0000 (17:53 +0200)]
topos: init xavp and context modparams to str null

(cherry picked from commit 5e3f7e1557d90a3e6f40eff41cc0b0bb317ab544)

6 months agocore: xavp - safety checks for name len
Daniel-Constantin Mierla [Thu, 13 May 2021 15:41:40 +0000 (17:41 +0200)]
core: xavp - safety checks for name len

(cherry picked from commit d22d812da1c3b2a2f65f142ef5ed5fa07e8ab072)

6 months agopresence: set correct type for local_log_facility modparam
Daniel-Constantin Mierla [Wed, 12 May 2021 16:14:29 +0000 (18:14 +0200)]
presence: set correct type for local_log_facility modparam

(cherry picked from commit 5f4662a95a97d5224bf03745a9a354a41925706c)

6 months agosecsipid: docs - set GO111MODULE=off in installation example
Daniel-Constantin Mierla [Wed, 12 May 2021 06:32:37 +0000 (08:32 +0200)]
secsipid: docs - set GO111MODULE=off in installation example

(cherry picked from commit ecc8a34dae44883b125ae7a3da59d4a332e0b48c)

6 months agotcpops: use fixup_igp_all() instead of fixup_igp_null()
Daniel-Constantin Mierla [Sat, 8 May 2021 21:30:22 +0000 (23:30 +0200)]
tcpops: use fixup_igp_all() instead of fixup_igp_null()

- needed for functions with many parameters

(cherry picked from commit 02240711239149e2f5c4890a70ab158d10fa8187)

6 months agousrloc: unnecessary periodic db queries cancelled
korayvt [Tue, 4 May 2021 12:07:38 +0000 (15:07 +0300)]
usrloc: unnecessary periodic db queries cancelled

(cherry picked from commit 42bc79b3b617632b6f83e1352b5cb8266706d7c0)

6 months agodialog: ignore 408 on keepalive with cseq 0
Daniel-Constantin Mierla [Thu, 6 May 2021 10:27:05 +0000 (12:27 +0200)]
dialog: ignore 408 on keepalive with cseq 0

- some UAs do not reply at all

(cherry picked from commit 7aa8056a5e3a9804133cb9ff79640d8116be63da)

6 months agolwsc: set ws_ping_pong_interval only for libwebsockets 3.x
Daniel-Constantin Mierla [Thu, 6 May 2021 09:37:58 +0000 (11:37 +0200)]
lwsc: set ws_ping_pong_interval only for libwebsockets 3.x

(cherry picked from commit 048ed4210d52fb817ae6b03756d95e9b25899330)

6 months agolost: use of parser functions parse_pai_header() and parse_from_header() related...
Wolfgang Kampichler [Wed, 5 May 2021 16:40:05 +0000 (18:40 +0200)]
lost: use of parser functions parse_pai_header() and parse_from_header() related to #2723

- lost_get_pai_header(): parsing method update
  lost_get_from_header(): parsing method update

- memset(): fixed number of bytes to be filled (unrelated)

(cherry picked from commit 791672393aeba320fd1608746fb61e9a96e19d06)

6 months agolost: change in the method for parsing the From header in lost_get_from_header()...
Wolfgang Kampichler [Tue, 4 May 2021 21:24:53 +0000 (23:24 +0200)]
lost: change in the method for parsing the From header in lost_get_from_header() related to #2723

(cherry picked from commit fe6923cd8e995c400fc1838304c95142cc00273e)

6 months agotm: lw parser - fix matching To header in lw_get_hf_name()
Daniel-Constantin Mierla [Wed, 5 May 2021 16:56:04 +0000 (18:56 +0200)]
tm: lw parser - fix matching To header in lw_get_hf_name()

(cherry picked from commit 4ab6e05df56afb7802a2cd125e89b9282a1c6c85)

6 months agoChangeLog: content updated for v5.5.0 5.5.0
Daniel-Constantin Mierla [Wed, 5 May 2021 08:59:03 +0000 (10:59 +0200)]
ChangeLog: content updated for v5.5.0

6 months agopkg/kamailio/deb: version set 5.5.0
Victor Seva [Wed, 5 May 2021 08:33:42 +0000 (10:33 +0200)]
pkg/kamailio/deb: version set 5.5.0

6 months agoMakefile.defs: version set to 5.5.0
Daniel-Constantin Mierla [Wed, 5 May 2021 08:29:41 +0000 (10:29 +0200)]
Makefile.defs: version set to 5.5.0

6 months agopkg: version set to 5.5.0 for rpm and alpine specs
Daniel-Constantin Mierla [Wed, 5 May 2021 08:23:47 +0000 (10:23 +0200)]
pkg: version set to 5.5.0 for rpm and alpine specs

6 months agondb_cassandra: update include paths as expected by thrift lib package
Daniel-Constantin Mierla [Wed, 5 May 2021 07:23:15 +0000 (09:23 +0200)]
ndb_cassandra: update include paths as expected by thrift lib package

(cherry picked from commit 3511e0a975395a14f48fe5b6d60435315f7638dc)

6 months agondb_cassandra: Makefile - use pkg-config if available
Daniel-Constantin Mierla [Wed, 5 May 2021 07:12:25 +0000 (09:12 +0200)]
ndb_cassandra: Makefile - use pkg-config if available

(cherry picked from commit 4b9fe7b72f8d9b53dbae24eb7bd269d527642f71)

6 months agosiptrace: debug messages on net data callbacks
Daniel-Constantin Mierla [Tue, 4 May 2021 12:08:59 +0000 (14:08 +0200)]
siptrace: debug messages on net data callbacks

(cherry picked from commit 95f3b4dea5d3f0d57ba79c8e8cd34d2ab30c7193)

6 months agotcpops: use fixup function from core, remove internal wrapper
Daniel-Constantin Mierla [Tue, 4 May 2021 11:30:21 +0000 (13:30 +0200)]
tcpops: use fixup function from core, remove internal wrapper

- set also fixup free function in cmd exports

(cherry picked from commit 12fca1c369b6698cace66de171dcb166be8ae831)

6 months agosiputils: update docs for encode/decode_contact functions
Ovidiu Sas [Mon, 3 May 2021 22:20:05 +0000 (18:20 -0400)]
siputils: update docs for encode/decode_contact functions

(cherry picked from commit bf73b0d72177828e3c35f0fe318f7ef654c89b6b)

6 months agopkg/kamailio/deb: version set 5.5.0~rc1
Victor Seva [Mon, 3 May 2021 15:44:23 +0000 (17:44 +0200)]
pkg/kamailio/deb: version set 5.5.0~rc1

6 months agopkg/kamailio/deb: version set 5.5.0~rc0
Victor Seva [Mon, 3 May 2021 14:46:12 +0000 (16:46 +0200)]
pkg/kamailio/deb: version set 5.5.0~rc0

6 months agolost: lost_held_dereference() documentation added and code comment corrected
Wolfgang Kampichler [Mon, 3 May 2021 09:00:41 +0000 (11:00 +0200)]
lost: lost_held_dereference() documentation added and code comment corrected

(cherry picked from commit ae13686c80b03693ee2195d38a8c8eb0ede0d0dc)

6 months agolost: response code fix in lost_held_dereference()
Wolfgang Kampichler [Mon, 3 May 2021 07:24:15 +0000 (09:24 +0200)]
lost: response code fix in lost_held_dereference()

- HELD response check returning
   200: received 200OK but nothing found (shall not happen)
   201: received 200OK and loc reference found
   202: received 200OK and value found (pidf-lo)
   203: receiced 200OK and value + reference found (pidf-lo)

(cherry picked from commit 79c6bae4af6c9c9c392b05928ca72afb14ccfbf6)

6 months agolost: error response fix in lost_function(), lost_held_dereference() and lost_held_fu...
Wolfgang Kampichler [Sun, 2 May 2021 15:28:44 +0000 (17:28 +0200)]
lost: error response fix in lost_function(), lost_held_dereference() and lost_held_function()

- error variable was set to 0 (clean up) before return. Lost functions now returns 500
  in case of LOST/HELD server error, or 400 in case of internal error, otherwise 2xx.

(cherry picked from commit 201c219a5496924e701cc2b17fb0a439ee530813)

6 months agoChangeLog: updated content to prepare for 5.5.x series
Daniel-Constantin Mierla [Mon, 3 May 2021 08:21:41 +0000 (10:21 +0200)]
ChangeLog: updated content to prepare for 5.5.x series

6 months agotopos_redis: store context field
Daniel-Constantin Mierla [Mon, 3 May 2021 05:59:54 +0000 (07:59 +0200)]
topos_redis: store context field

(cherry picked from commit a1a1b548e9362b2b478e0551042e86e294249ddc)

6 months agojwt: more details about claims parameter format
Daniel-Constantin Mierla [Sun, 2 May 2021 19:42:48 +0000 (21:42 +0200)]
jwt: more details about claims parameter format

(cherry picked from commit 7d24a7afe02bf1f7c8ddddfcfc9f1c287296c996)

6 months agojwt: handle claims that have numeric values
Daniel-Constantin Mierla [Sun, 2 May 2021 15:43:02 +0000 (17:43 +0200)]
jwt: handle claims that have numeric values

- values in between quotes are string always

(cherry picked from commit c0532161f18cce514adaf2b5d784999319445911)

6 months agocore: ut - functions to convert from str to long
Daniel-Constantin Mierla [Sun, 2 May 2021 15:32:28 +0000 (17:32 +0200)]
core: ut - functions to convert from str to long

(cherry picked from commit 80c906d5418ece5e4a3e993cc632a0e6ae3d24be)

6 months agotopos_redis: use initial transaction method for early dialog branch loading
Daniel-Constantin Mierla [Sat, 1 May 2021 12:38:36 +0000 (14:38 +0200)]
topos_redis: use initial transaction method for early dialog branch loading

(cherry picked from commit 824920d5b159d80ce3c241313bf647b5dbbf6661)

6 months agotopos_redis: use also stored record to get uuid for branch replies
Daniel-Constantin Mierla [Sat, 1 May 2021 11:25:59 +0000 (13:25 +0200)]
topos_redis: use also stored record to get uuid for branch replies

(cherry picked from commit 7b3a33d88ae3e3bbef88294720aa21ba34118b8e)

6 months agotopos_redis: use uuid for initial transaction indexing
Daniel-Constantin Mierla [Sat, 1 May 2021 06:07:08 +0000 (08:07 +0200)]
topos_redis: use uuid for initial transaction indexing

(cherry picked from commit 5707f9ef7f6a0d9b9bcd00ff85168b977591a30a)

6 months agotls: declare variable based on SSL_CTX_set_ecdh_auto
Daniel-Constantin Mierla [Fri, 30 Apr 2021 06:53:47 +0000 (08:53 +0200)]
tls: declare variable based on SSL_CTX_set_ecdh_auto

- fix unused variable warning introduced in previous commit

(cherry picked from commit 41b5e9473d79409712d46fdbb5a0b943ab880aa7)

6 months agortpengine: extract call-id/from-tag/to-tag only from sip messages
Daniel-Constantin Mierla [Fri, 30 Apr 2021 06:31:34 +0000 (08:31 +0200)]
rtpengine: extract call-id/from-tag/to-tag only from sip messages

- they can be provided via flags in function parameters
- fix using functions in non-sip routing blocks (e.g., xhttp processing)

(cherry picked from commit 0a2450e62d77020243530e18d93c9aa8181a5701)

6 months agomsrp: destroy str array on error
Daniel-Constantin Mierla [Fri, 30 Apr 2021 06:03:10 +0000 (08:03 +0200)]
msrp: destroy str array on error

- some code reformatting

(cherry picked from commit 4695b48b23e22135049f67a6ef362e933a0cf337)

7 months agolost: fixed possible resource leak inside lost_get_response_issues()
Wolfgang Kampichler [Wed, 28 Apr 2021 15:22:58 +0000 (17:22 +0200)]
lost: fixed possible resource leak inside lost_get_response_issues()

(cherry picked from commit a1bbe035f1a1acc11f86d27fdc0adef1b1a3d010)

7 months agolost: Coverity Scan fixes
Wolfgang Kampichler [Sun, 25 Apr 2021 20:44:01 +0000 (22:44 +0200)]
lost: Coverity Scan fixes

(cherry picked from commit 328000233928fa08095889fdca7d66acba5e5825)

7 months agoMakefile.defs: version set to 5.5.0-rc1
Daniel-Constantin Mierla [Thu, 29 Apr 2021 13:15:32 +0000 (15:15 +0200)]
Makefile.defs: version set to 5.5.0-rc1

7 months agodispatcher: safety to avoid division by 0 for latency operations
Daniel-Constantin Mierla [Thu, 29 Apr 2021 12:47:36 +0000 (14:47 +0200)]
dispatcher: safety to avoid division by 0 for latency operations

(cherry picked from commit cf105d5af78963759825f5eaf9feb767c047a49c)

7 months ago[tls] Don't use OpenSSL<1.0.2 fallback on 1.1+
SPChan [Tue, 27 Apr 2021 16:51:22 +0000 (00:51 +0800)]
[tls] Don't use OpenSSL<1.0.2 fallback on 1.1+

Address GH #2716. Also see https://bugs.python.org/issue29697.

(cherry picked from commit 27904530d1f8efd26e2b96fa5f18a3aad887919b)

7 months agomsrp: check return code for str explode
Daniel-Constantin Mierla [Thu, 29 Apr 2021 04:56:50 +0000 (06:56 +0200)]
msrp: check return code for str explode

(cherry picked from commit addb6a88d0266a0bb0545077fb0b5b8a3fdcca8e)

7 months agocore: kemi - parse headers before insert operation
Daniel-Constantin Mierla [Wed, 28 Apr 2021 14:06:50 +0000 (16:06 +0200)]
core: kemi - parse headers before insert operation

(cherry picked from commit 7bf0081102a5755c3282e7f01a0f45e160fdda0f)

7 months agotextops: check for msg headers field in case is used for non-sip traffic
Daniel-Constantin Mierla [Wed, 28 Apr 2021 13:57:05 +0000 (15:57 +0200)]
textops: check for msg headers field in case is used for non-sip traffic

(cherry picked from commit 48200f3e9ca9f5e5a05de440eefc23f7265b5268)

7 months agoims_ipsec_pcscf: initialize variable to fix warnings
Daniel-Constantin Mierla [Wed, 28 Apr 2021 11:28:05 +0000 (13:28 +0200)]
ims_ipsec_pcscf: initialize variable to fix warnings

(cherry picked from commit afff18592998cb14561cf4fd95acd1b4866fd994)

7 months agomohqueue: fixed compiler warning about array initialization
Sergey Safarov [Tue, 27 Apr 2021 09:58:49 +0000 (12:58 +0300)]
mohqueue: fixed compiler warning about array initialization

(cherry picked from commit c7781edcb37a35193ccdb9414183919aaa614d3a)

7 months agotopos: explicitely set the db match operator and value type for uuid
Daniel-Constantin Mierla [Mon, 26 Apr 2021 12:58:39 +0000 (14:58 +0200)]
topos: explicitely set the db match operator and value type for uuid

(cherry picked from commit e279f2f464ab05e1a2821d6e2d9e673fe145fbf2)

7 months agotopos: increase the number of db keys for query when using uuid for branch
Daniel-Constantin Mierla [Mon, 26 Apr 2021 12:51:55 +0000 (14:51 +0200)]
topos: increase the number of db keys for query when using uuid for branch

- debug message to print a/b uuid

(cherry picked from commit fb5ab20123a07afdfaf96197db25d76f8dda0683)

7 months agotopos: restore checks on uri and sip_params for tps_dlg_message_update()
Daniel-Constantin Mierla [Mon, 26 Apr 2021 11:49:42 +0000 (13:49 +0200)]
topos: restore checks on uri and sip_params for tps_dlg_message_update()

- use define for expected min len safety checks

(cherry picked from commit 1d6736d16ab3a83b77d6c7be3f9689c7fbfccf28)

7 months agotopos: check if event field exists for NOTIFY
Daniel-Constantin Mierla [Mon, 26 Apr 2021 11:43:21 +0000 (13:43 +0200)]
topos: check if event field exists for NOTIFY

(cherry picked from commit 317ddc9efa2f11f0fe3787e9ab462550724954ed)

7 months agotopos: load associated early dialog transaction using also uuid
Daniel-Constantin Mierla [Mon, 26 Apr 2021 11:02:11 +0000 (13:02 +0200)]
topos: load associated early dialog transaction using also uuid

(cherry picked from commit 94e8988769662a5ae68e30847eef133d50ec5431)

7 months agotopos: simplified tps_dlg_message_update()
Daniel-Constantin Mierla [Mon, 26 Apr 2021 10:48:37 +0000 (12:48 +0200)]
topos: simplified tps_dlg_message_update()

(cherry picked from commit 7e5c4c30d2f0bbed2b566d46e5141b6abba315e7)

7 months agocore/mem: q_malloc - use #else with DBG_QM_MALLOC for debug on freed fragments
Daniel-Constantin Mierla [Mon, 26 Apr 2021 09:22:20 +0000 (11:22 +0200)]
core/mem: q_malloc - use #else with DBG_QM_MALLOC for debug on freed fragments

(cherry picked from commit 764d5be0c44036bb4b86f841588fb0df3b4bb834)

7 months agotopos: safety handling of onsend data
Daniel-Constantin Mierla [Mon, 26 Apr 2021 08:14:15 +0000 (10:14 +0200)]
topos: safety handling of onsend data

(cherry picked from commit 975a61c89b2440fba737758cce3ab08000811b02)

7 months agotopos: uniform processing for requests during early dialog
Daniel-Constantin Mierla [Mon, 26 Apr 2021 07:28:35 +0000 (09:28 +0200)]
topos: uniform processing for requests during early dialog

- requests that are handled during 1xx state, like PRACK, UPDATE, BYE

(cherry picked from commit 72cc3d46c39791d50927508114bdd1faa4a83f4c)

7 months agotopos: reset context on msg received callback
Daniel-Constantin Mierla [Fri, 23 Apr 2021 10:35:15 +0000 (12:35 +0200)]
topos: reset context on msg received callback

(cherry picked from commit fb777b0e9bf2f87ea8cb1b0134fbfcc625121ad4)

7 months agotopos: use context to load stored branch attributes only for requests
Daniel-Constantin Mierla [Fri, 23 Apr 2021 07:53:07 +0000 (09:53 +0200)]
topos: use context to load stored branch attributes only for requests

(cherry picked from commit 5d661eaa92461f3b43c433ec32653c4f89bb818e)

7 months agodispatcher: docs - set xmlns for include tags
Daniel-Constantin Mierla [Tue, 27 Apr 2021 07:59:29 +0000 (09:59 +0200)]
dispatcher: docs - set xmlns for include tags

(cherry picked from commit 3f25ef01c5cc3adb02dd1bfecdfd4c3ce80cef47)

7 months agodmq: docs - fix section id for dmq.remove rpc command
Daniel-Constantin Mierla [Tue, 27 Apr 2021 07:51:30 +0000 (09:51 +0200)]
dmq: docs - fix section id for dmq.remove rpc command

(cherry picked from commit 2c473f7c2eccf4ef79f23f9cecd122e861395a00)

7 months agoMakefile.defs: version set to 5.5.0-rc0
Daniel-Constantin Mierla [Thu, 22 Apr 2021 19:54:33 +0000 (21:54 +0200)]
Makefile.defs: version set to 5.5.0-rc0

- branch 5.5 was created to host 5.5.x series
- vesion type set to release candidate mode