kamailio
2 days agodlgs: proper return for tags counting 5.5
Daniel-Constantin Mierla [Thu, 14 Oct 2021 08:09:32 +0000 (10:09 +0200)]
dlgs: proper return for tags counting

- GH #2884

(cherry picked from commit 1f12e2a03856f9c2d12cf62c1e65e84380729a06)

10 days agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Tue, 5 Oct 2021 14:46:33 +0000 (16:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

10 days agotimer: extend internal static HTTP message to have one header
Daniel-Constantin Mierla [Tue, 5 Oct 2021 12:25:03 +0000 (14:25 +0200)]
timer: extend internal static HTTP message to have one header

(cherry picked from commit c3629f877500373028d2c7cdefd976cddda31c15)

10 days agotextops: docs update to state regex params expect posix format
Daniel-Constantin Mierla [Tue, 5 Oct 2021 07:56:33 +0000 (09:56 +0200)]
textops: docs update to state regex params expect posix format

(cherry picked from commit b19aab7fe00f72d0c9e54a7a106ec7a065a3d02b)

10 days agortpengine: docs - note that rpc reload is limited to 10secs frequency
Daniel-Constantin Mierla [Tue, 28 Sep 2021 08:35:12 +0000 (10:35 +0200)]
rtpengine: docs - note that rpc reload is limited to 10secs frequency

(cherry picked from commit a9c9b83c9dd1c09738b5a33362a8e339c20b786c)

10 days agoasync: docs - added section ids for parameters
Daniel-Constantin Mierla [Sat, 25 Sep 2021 17:38:42 +0000 (19:38 +0200)]
async: docs - added section ids for parameters

(cherry picked from commit ed3b2506e13214d25a3dd78e487ed35ed13053ac)

10 days agocore: jump to error in case of unexpected comma for parse addr spec
Daniel-Constantin Mierla [Fri, 24 Sep 2021 12:43:40 +0000 (14:43 +0200)]
core: jump to error in case of unexpected comma for parse addr spec

(cherry picked from commit 932e46b09176544cf6e085a32677980b26e4d2eb)

11 days agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Mon, 4 Oct 2021 15:46:39 +0000 (17:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

11 days agotopos: spelling fix in README for contact parameter
Henning Westerholt [Mon, 4 Oct 2021 15:38:23 +0000 (15:38 +0000)]
topos: spelling fix in README for contact parameter

(cherry picked from commit 0a9b039f79de90a45e263325cb247f49a31d9f36)

2 weeks agotopos: reset vavu variable, otherwise we will get errors in contact_mode 2 (GH #2852)
Henning Westerholt [Tue, 28 Sep 2021 11:27:50 +0000 (11:27 +0000)]
topos: reset vavu variable, otherwise we will get errors in contact_mode 2 (GH #2852)

(cherry picked from commit 5484b7a2bf662d3bced662d11a04e1f25f965023)

3 weeks agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Wed, 22 Sep 2021 06:46:41 +0000 (08:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

3 weeks agokazoo: docbook files space formating
Sergey Safarov [Thu, 16 Sep 2021 08:01:23 +0000 (11:01 +0300)]
kazoo: docbook files space formating

for formating used oXygen XML Editor 13.2

(cherry picked from commit e4d5138e7873e811d36b99195a04ea8284ea8af6)

3 weeks agokazoo: docbook - fixed 'Document root element "chapter", must match DOCTYPE root...
Sergey Safarov [Thu, 16 Sep 2021 07:50:08 +0000 (10:50 +0300)]
kazoo: docbook - fixed 'Document root element "chapter", must match DOCTYPE root "book".'

(cherry picked from commit 60867418d596bf64126941ab258dae013b2649b3)

3 weeks agokazoo: docbook - fixed 'Attribute "xmlns:xi" must be declared for element type'
Sergey Safarov [Thu, 16 Sep 2021 07:49:19 +0000 (10:49 +0300)]
kazoo: docbook - fixed 'Attribute "xmlns:xi" must be declared for element type'

(cherry picked from commit ab3397cb609ac5d9a9b5e215ff5e7f48e35c6c2a)

3 weeks agokazoo: fixed json body in example
Sergey Safarov [Thu, 16 Sep 2021 07:35:14 +0000 (10:35 +0300)]
kazoo: fixed json body in example

(cherry picked from commit 38ba61170abdfeb189f7b05d6daf19f15378fab9)

3 weeks agocore: parse identityinfo - log message on end of buffer
Daniel-Constantin Mierla [Mon, 20 Sep 2021 05:22:57 +0000 (07:22 +0200)]
core: parse identityinfo - log message on end of buffer

(cherry picked from commit 1e212088091183aac8fcd418656beea523950870)

3 weeks agocore: parser - additioal check for content lenght spanning next line
Daniel-Constantin Mierla [Mon, 20 Sep 2021 05:17:27 +0000 (07:17 +0200)]
core: parser - additioal check for content lenght spanning next line

(cherry picked from commit bf6bd11a9b969c02a106f94ebf40cefbe8028456)

4 weeks agosqlops: return 1 on success for kemi sql_xquery()
Daniel-Constantin Mierla [Thu, 16 Sep 2021 10:59:38 +0000 (12:59 +0200)]
sqlops: return 1 on success for kemi sql_xquery()

- GH #2856

(cherry picked from commit 32bf3eb2b27fbefe991a4aabc829f21ecc4e8829)

4 weeks agocore: parser - print what is left in buffer if no EoH in get_body()
Daniel-Constantin Mierla [Thu, 16 Sep 2021 09:03:52 +0000 (11:03 +0200)]
core: parser - print what is left in buffer if no EoH in get_body()

(cherry picked from commit 63ecb827631189d27da6a85d41149985d95fc479)

4 weeks agodispatcher: init attrs value when param not given to rpc add
Daniel-Constantin Mierla [Thu, 16 Sep 2021 06:37:55 +0000 (08:37 +0200)]
dispatcher: init attrs value when param not given to rpc add

- GH #2854

(cherry picked from commit 7894fb470e707622b077d565763c9cfb7c654da5)

4 weeks agocore: free params list at end on error state inside parse_addr_spec
Daniel-Constantin Mierla [Thu, 16 Sep 2021 06:08:18 +0000 (08:08 +0200)]
core: free params list at end on error state inside parse_addr_spec

(cherry picked from commit f2b133e24e29f9f0ce7ba568a5d4564c7b0f8f31)

4 weeks agokazoo: fixed crash when json body is NULL
Sergey Safarov [Wed, 15 Sep 2021 13:14:13 +0000 (16:14 +0300)]
kazoo: fixed crash when json body is NULL

fixes GH #2794

(cherry picked from commit d8955fc350b48d0c4ca359d03cb9954a48998658)

4 weeks agocore: parse via - safe check for end of buffer
Daniel-Constantin Mierla [Tue, 14 Sep 2021 06:05:05 +0000 (08:05 +0200)]
core: parse via - safe check for end of buffer

- just in case it is needed to be used for non-zero-terminated strings

(cherry picked from commit 1d3fde1205440296c1d6a54feee5a9d637055bee)

4 weeks agocore: parse content - group operation to avoid overflow
Daniel-Constantin Mierla [Tue, 14 Sep 2021 06:03:47 +0000 (08:03 +0200)]
core: parse content - group operation to avoid overflow

(cherry picked from commit 685817088ff9c72c055e72091fa6f923b824c206)

4 weeks agocore: parse_to_param() check for end of data on escape or start of value
Daniel-Constantin Mierla [Thu, 9 Sep 2021 07:05:54 +0000 (09:05 +0200)]
core: parse_to_param() check for end of data on escape or start of value

(cherry picked from commit 17a2eec2a8e47939782c1352ddb0fa4d3e73f9d8)

4 weeks agocore: parser - free unlinked local param structure in parse_to_param()
Daniel-Constantin Mierla [Wed, 8 Sep 2021 12:57:52 +0000 (14:57 +0200)]
core: parser - free unlinked local param structure in parse_to_param()

(cherry picked from commit f624e1701088a94465a06f36a2ef27804b16ec0e)

4 weeks agocore: log unexpected char in parse_param2()
Daniel-Constantin Mierla [Wed, 8 Sep 2021 06:04:06 +0000 (08:04 +0200)]
core: log unexpected char in parse_param2()

(cherry picked from commit a2511df29adc83544f047cbbdba7a8ba88272930)

4 weeks agocore: parser contact - proper update of length in skip_name()
Daniel-Constantin Mierla [Tue, 7 Sep 2021 13:36:20 +0000 (15:36 +0200)]
core: parser contact - proper update of length in skip_name()

- stop walking name also for unquoted ;, being special char
- small typo

(cherry picked from commit 20db418f1e35f31d7a90d7cabbd22ae989b7266c)

4 weeks agocore: parser contact - link structure once finishing current one
Daniel-Constantin Mierla [Tue, 7 Sep 2021 08:44:17 +0000 (10:44 +0200)]
core: parser contact - link structure once finishing current one

(cherry picked from commit d6c52a6afdd38cc05a67a25e55e387ad77a9ddf4)

4 weeks agocore: relocate parse_contact_hader() to parser folder
Daniel-Constantin Mierla [Tue, 7 Sep 2021 08:42:39 +0000 (10:42 +0200)]
core: relocate parse_contact_hader() to parser folder

(cherry picked from commit d2dbe98e072f59138b9974ab8f147bcfef5f983e)

4 weeks agocore: catch empty string on parsing params
Daniel-Constantin Mierla [Mon, 6 Sep 2021 12:56:36 +0000 (14:56 +0200)]
core: catch empty string on parsing params

(cherry picked from commit 76e6033ff14fec0f2db0b387803b4c5815a91163)

4 weeks agocore: parser - ensure content lenght value does not exceed max int
Daniel-Constantin Mierla [Mon, 6 Sep 2021 11:51:32 +0000 (13:51 +0200)]
core: parser - ensure content lenght value does not exceed max int

(cherry picked from commit f769011743feccde0fbca8531ab4e1b3563bf155)

4 weeks agocore: parser - free local unused param structure
Daniel-Constantin Mierla [Mon, 6 Sep 2021 11:21:33 +0000 (13:21 +0200)]
core: parser - free local unused param structure

(cherry picked from commit 116ef94420bf6ed9e0ae3bc08a612d8d0c4aa0a7)

4 weeks agocore: parse content length - consider multi line header format
Daniel-Constantin Mierla [Mon, 6 Sep 2021 10:59:34 +0000 (12:59 +0200)]
core: parse content length - consider multi line header format

- safety checks for log message when not parsing the message buffer

(cherry picked from commit baed515e8aed8e5b505ff716eb57d0c60e582632)

4 weeks agoapp_ruby: regenerated api skeleton functions
Daniel-Constantin Mierla [Sun, 5 Sep 2021 12:25:24 +0000 (14:25 +0200)]
app_ruby: regenerated api skeleton functions

(cherry picked from commit 8b128b7dd544e3e30d615da39e84cec91588249a)

4 weeks agoapp_ruby: utils/app_ruby_ctl - increade api skeleton functions to 1536
Daniel-Constantin Mierla [Sun, 5 Sep 2021 12:21:30 +0000 (14:21 +0200)]
app_ruby: utils/app_ruby_ctl - increade api skeleton functions to 1536

(cherry picked from commit cfb5c453caaee341dc4ee1d9f2cdc5b1c3c87eea)

4 weeks agocore: print char code on error in parse_addr_spec()
Daniel-Constantin Mierla [Sat, 4 Sep 2021 14:15:58 +0000 (16:15 +0200)]
core: print char code on error in parse_addr_spec()

(cherry picked from commit 031fd46980b34a570385f49f168b13af43d84b87)

5 weeks agousrloc: set tcp connection id to -1 for records added via rpc
Daniel-Constantin Mierla [Thu, 9 Sep 2021 07:11:06 +0000 (09:11 +0200)]
usrloc: set tcp connection id to -1 for records added via rpc

- cope properly with the handle_lost_tcp modparam

(cherry picked from commit a0a97119bef7671f33734399dc9de4562abae39c)

5 weeks agopresence: skip body operations on empty string
Daniel-Constantin Mierla [Thu, 9 Sep 2021 08:27:01 +0000 (10:27 +0200)]
presence: skip body operations on empty string

(cherry picked from commit c849070371740c01f9f13a889c610de9132349f3)

5 weeks agotm: skip body operation on empty string for uac building
Daniel-Constantin Mierla [Thu, 9 Sep 2021 08:25:29 +0000 (10:25 +0200)]
tm: skip body operation on empty string for uac building

(cherry picked from commit 34b61d3f1d6b5a0d4425f8edfa69d707cfa058b7)

5 weeks agosca: call unsafe find entry function to avoid infinite recursion
Daniel-Constantin Mierla [Wed, 8 Sep 2021 11:30:31 +0000 (13:30 +0200)]
sca: call unsafe find entry function to avoid infinite recursion

(cherry picked from commit bd92fb59cce183008956ff060911cc14d3dfb160)

5 weeks agodialog: rpc set state change to DLG_FLAG_CHANGED instead of DLG_FLAG_NEW
Daniel-Constantin Mierla [Wed, 8 Sep 2021 08:00:09 +0000 (10:00 +0200)]
dialog: rpc set state change to DLG_FLAG_CHANGED instead of DLG_FLAG_NEW

(cherry picked from commit b86d2490f3b96c532cbe07259786757b3ab9fc02)

5 weeks agondb_redis: fix SIGSEGV in redisc_check_auth
Dennis Yurasov [Tue, 24 Aug 2021 14:15:24 +0000 (17:15 +0300)]
ndb_redis: fix SIGSEGV in redisc_check_auth

- Added the check for NULL pointer. When TCP session to redis reset,
  redisCommand function can return NULL pointer.

(cherry picked from commit c32a0be89cc92a0649277774d1e7aebf349b8b49)

5 weeks agotextops: RFC2543 is broken
lazedo [Mon, 6 Sep 2021 23:35:52 +0000 (00:35 +0100)]
textops: RFC2543 is broken

commit cbcc27ef8b1674448bd8b1c45f03388e36f65f51 broke RFC2543 hold

there's no need to check for sendrecv_mode, is_on_hold is either set or not in sdp_stream and/or sdp_session

(cherry picked from commit 3ee0670ee9ca5e2812fd90cccef3a7ae4e55a3b4)

5 weeks agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Mon, 6 Sep 2021 08:46:31 +0000 (10:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

5 weeks agotls: fix OpenSSL engine in child processes
Anthony Alba [Tue, 31 Aug 2021 23:26:08 +0000 (07:26 +0800)]
tls: fix OpenSSL engine in child processes

tls_init.c calls OPENSSL_init_ssl(); this initializes the
global engine linked-list and this cannot be reset in the child.

To avoid linked-list corruption we manually instantiate
the engine object required for loading private keys instead of
relying on CONF_modules_load_file().

Updates to doc/.

Addresses #2839

(cherry picked from commit 238ef139bfbe145fb93e5c4b0730de58040d2265)

5 weeks agoRevert "core/mem: removed tlsf_malloc_bits.h"
Daniel-Constantin Mierla [Mon, 6 Sep 2021 08:29:50 +0000 (10:29 +0200)]
Revert "core/mem: removed tlsf_malloc_bits.h"

This reverts commit 2d7aee506c617f2d258719562f8debf2b4ba087e.

(cherry picked from commit 90f4bd591aba7c6fbe234df1f3868edf4ff0a9f1)

5 weeks agoRevert "core/mem: tlsf malloc - sync'ed with v3.1"
Daniel-Constantin Mierla [Mon, 6 Sep 2021 08:29:29 +0000 (10:29 +0200)]
Revert "core/mem: tlsf malloc - sync'ed with v3.1"

This reverts commit ddafeebfaf1537c684eee22be228867563dd02ac.

(cherry picked from commit 39c53260599405db4626c8a691552f3aabd3448c)

7 weeks agoChangelog: fix version for release 5.5.2
Henning Westerholt [Wed, 25 Aug 2021 19:26:21 +0000 (19:26 +0000)]
Changelog: fix version for release 5.5.2

7 weeks 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

7 weeks 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

7 weeks 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

7 weeks 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

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

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

8 weeks 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)

8 weeks 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]

8 weeks 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]

8 weeks 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]

8 weeks 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]

8 weeks 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]

8 weeks 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]

8 weeks 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]

8 weeks 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]

8 weeks 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]

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

8 weeks 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)

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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