kamailio
17 months agoChangelog: update Changelog for 5.2.7 5.2.7
Henning Westerholt [Wed, 13 May 2020 15:12:58 +0000 (15:12 +0000)]
Changelog: update Changelog for 5.2.7

17 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Wed, 13 May 2020 13:46:57 +0000 (15:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

17 months agopkg: update spec files for obs and alpine to 5.2.7
Henning Westerholt [Wed, 13 May 2020 13:18:06 +0000 (13:18 +0000)]
pkg: update spec files for obs and alpine to 5.2.7

17 months agoMakefile.defs: version set to 5.2.7
Henning Westerholt [Wed, 13 May 2020 13:17:49 +0000 (13:17 +0000)]
Makefile.defs: version set to 5.2.7

17 months agocore: explicit cast to (void*) for %p format printing
Daniel-Constantin Mierla [Tue, 12 May 2020 17:52:52 +0000 (19:52 +0200)]
core: explicit cast to (void*) for %p format printing

- c standard required that for a defined value and in some cases the
code analysers complain, especially when reading the value via
socket/file descriptor

(cherry picked from commit 730f65c06d0b8436e4a9cd0c1a62d2433819dc45)

17 months agoregex: leave enough space in buffers for parenthesis and -ending
Daniel-Constantin Mierla [Sat, 9 May 2020 11:53:19 +0000 (13:53 +0200)]
regex: leave enough space in buffers for parenthesis and -ending

(cherry picked from commit 9cae069832c8f37ebf9e686b3fbcab5d63652755)

17 months agocfgt: fix implicit declaration of 'strcasestr'
Victor Seva [Mon, 11 May 2020 13:06:26 +0000 (15:06 +0200)]
cfgt: fix implicit declaration of 'strcasestr'

> cfgt_int.c: In function 'cfgt_msgout':
> cfgt_int.c:863:21: warning: implicit declaration of function 'strcasestr'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration]
>  863 |  if(buf->len > 7 && strcasestr(buf->s, "OPTIONS")) {
>      |                     ^~~~~~~~~~
>      |                     strcasecmp

(cherry picked from commit 361542a953ceaab1894f790e21eecf74008b749a)

17 months agocore: safer truncation of hostname using memcpy
Daniel-Constantin Mierla [Fri, 8 May 2020 19:28:01 +0000 (21:28 +0200)]
core: safer truncation of hostname using memcpy

(cherry picked from commit aac577a4655ebf09d5cbef3e1a49f72d25ea57d7)

17 months agosipdump: safety check for local socket pointer
Daniel-Constantin Mierla [Fri, 8 May 2020 16:01:13 +0000 (18:01 +0200)]
sipdump: safety check for local socket pointer

- use generic address is not set

(cherry picked from commit 3e969a5b4d9a75d082f7d59b0fa1dc6362391675)

17 months agoapp_python: use -fno-strict-aliasing for gcc
Daniel-Constantin Mierla [Mon, 27 Apr 2020 08:25:28 +0000 (10:25 +0200)]
app_python: use -fno-strict-aliasing for gcc

- python2 is known for not confirming strict aliasing
- it is EoL and likely not going to be fixed
- GH #2298

(cherry picked from commit 3366bf4f3746285d9dc29e8a2461f53983f0acf0)

17 months agoredis: init variables to get rid of compile warnings
Daniel-Constantin Mierla [Mon, 27 Apr 2020 07:36:36 +0000 (09:36 +0200)]
redis: init variables to get rid of compile warnings

- GH #2298

(cherry picked from commit f1de08eef86dc2cd98509c90fa8b28212d47ca37)

17 months agotm: do not return if kemi callback execution fails for t_continue()
Daniel-Constantin Mierla [Thu, 16 Apr 2020 10:38:20 +0000 (12:38 +0200)]
tm: do not return if kemi callback execution fails for t_continue()

- have same behaviour as with route blocks

(cherry picked from commit 2161f0cc316af0e1153b01f327d0e7c50523060c)

17 months agonathelper: docs - fix ending tags issues introduced with previous commit
Daniel-Constantin Mierla [Thu, 16 Apr 2020 09:58:23 +0000 (11:58 +0200)]
nathelper: docs - fix ending tags issues introduced with previous commit

(cherry picked from commit 288f1f17cb36cd69ea2daed7afcaa859ccc72d58)

17 months agonathelper: docs for nat_addr_mode parameter
Daniel-Constantin Mierla [Thu, 16 Apr 2020 07:54:48 +0000 (09:54 +0200)]
nathelper: docs for nat_addr_mode parameter

(cherry picked from commit 9721922e2e47f3e8403bc540ecd73b55f41d5d91)

17 months agonathelper: new parameter nat_addr_mode
Daniel-Constantin Mierla [Thu, 16 Apr 2020 07:40:42 +0000 (09:40 +0200)]
nathelper: new parameter nat_addr_mode

- if set to 0, default private net addresses are checked by
nat_uac_test()
- if set to 1, other reserved net addresses are checked by
nat_uac_test()
- default 1 (reserved addresses are considered not routable)
- related at GH #2277

(cherry picked from commit a10e7652f24bc7ed8e74ff27d16da5d77689b6ac)

17 months agocore: data lump - updated comments and param names reflect better the purpose
Daniel-Constantin Mierla [Wed, 15 Apr 2020 11:33:07 +0000 (13:33 +0200)]
core: data lump - updated comments and param names reflect better the purpose

- coherent whitespacing

(cherry picked from commit 36d55b1fca14eb1a055dedac2e3cdb81b48c3a22)

17 months agotls: fix typo in documentation
fredposner [Mon, 13 Apr 2020 15:49:06 +0000 (11:49 -0400)]
tls: fix typo in documentation

- params.xml: replace "private" with "private_key"

(cherry picked from commit ad91985849e46beee757d48ee9041b81bef9bd81)

17 months agorr: docs - updated ids for xref linkend
Daniel-Constantin Mierla [Wed, 8 Apr 2020 10:45:07 +0000 (12:45 +0200)]
rr: docs - updated ids for xref linkend

(cherry picked from commit 62a2553043f81cd47f611d2829181604488a4b0c)

17 months agosiptrace: docs - fix siptrace control command example in the overview
Daniel-Constantin Mierla [Mon, 6 Apr 2020 18:43:57 +0000 (20:43 +0200)]
siptrace: docs - fix siptrace control command example in the overview

(cherry picked from commit 768b0b2c1559211dbc3c5b2e01a25bac8fd2540a)

17 months agocore: parser - removed temporarily remark for module reserved internal flags
Daniel-Constantin Mierla [Tue, 31 Mar 2020 07:11:40 +0000 (09:11 +0200)]
core: parser - removed temporarily remark for module reserved internal flags

(cherry picked from commit 8801ee89856d4a37709869a5c01dfa66988b8f5a)

17 months agomisc/examples/kemi: make reply code integer everywhere
Daniel-Constantin Mierla [Mon, 13 Apr 2020 10:14:52 +0000 (12:14 +0200)]
misc/examples/kemi: make reply code integer everywhere

(cherry picked from commit 28be94ea97216ba7ac1420130cc01ebda167c5d8)

17 months agopkg/kamailio: fixed python3 deps for RHEL 6
Sergey Safarov [Sun, 12 Apr 2020 16:03:52 +0000 (19:03 +0300)]
pkg/kamailio: fixed python3 deps for RHEL 6

(cherry picked from commit 5f31a56acd25f892e6275e6ac786677f2eb2be0c)

17 months agoapp_python3: Makefile - suppress warning if --embed is not supported by python3-config
Daniel-Constantin Mierla [Sun, 12 Apr 2020 10:06:52 +0000 (12:06 +0200)]
app_python3: Makefile - suppress warning if --embed is not supported by python3-config

(cherry picked from commit 392688fc756a97f65c2433bb6af7adedca4e0abf)

17 months agoapp_python3: update Python3 detection mechanism
Sebastian Kemper [Sun, 12 Apr 2020 07:37:48 +0000 (09:37 +0200)]
app_python3: update Python3 detection mechanism

This commit

  - removes the python calls whose output is never actually used.

  - changes the include discovery to use python3(.x)-config. This is
    preferable because it also works for cross-compiling. Calling
    python3(.x) directly will always provide host flags, which for
    cross-compiling is not feasible.

  - updates LDFLAGS discovery to also work with >= Python 3.8. To
    achieve this python3(.x)-config is first run with the argument
    "--embed". If this does not succeed (exit status 1)
    python3(.x)-config is run again without "--embed". This is the
    method suggested by Python upstream to provide backwards
    compatibility. See [1] for more details.

[1] https://docs.python.org/3/whatsnew/3.8.html

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
(cherry picked from commit 05af36d34aa2668780aa111878206c6797fa98b0)

17 months agomisc: examples kemi, don't fail if optional modules are not loaded
Victor Seva [Thu, 9 Apr 2020 11:40:06 +0000 (13:40 +0200)]
misc: examples kemi, don't fail if optional modules are not loaded

kamailio-basic-kemi.cfg has some define instructions that can be
removed ( WITH_MYSQL, WITH_AUTH, ...)

So lets make sure that modules are there in the lua script before
using the defined routes.

(cherry picked from commit 661fc0193da9e559e22b83b006db3e23345c092c)

17 months agomisc: kemi examples, add missing kemix module
Victor Seva [Thu, 9 Apr 2020 11:19:00 +0000 (13:19 +0200)]
misc: kemi examples, add missing kemix module

change introduced at 01ac570c2fbda800d1e00cd50305739cf0596ebf

(cherry picked from commit e123971726a8d18627091870086ee7d244e9802f)

17 months agoapp_sqlang: docs - fix for rpc command name
Daniel-Constantin Mierla [Sat, 11 Apr 2020 16:35:22 +0000 (18:35 +0200)]
app_sqlang: docs - fix for rpc command name

(cherry picked from commit a072e170c07370f97716ae719abb35c508d98564)

17 months agomsilo: docs - fixed position of parameter and whitespacing
Daniel-Constantin Mierla [Sat, 11 Apr 2020 16:22:42 +0000 (18:22 +0200)]
msilo: docs - fixed position of parameter and whitespacing

- parameter position was broken at the end of file

(cherry picked from commit 1e3d7d319d07cd022c374ed2698fb905dacf50b7)

17 months agolib/srdb1/schema: removed kamailio-extensions.xml file
Daniel-Constantin Mierla [Sun, 29 Mar 2020 12:17:19 +0000 (14:17 +0200)]
lib/srdb1/schema: removed kamailio-extensions.xml file

- file didn't have any content itself, tried to include an inexistent
extra.xml, which generated an warning for 'make dbschema'

(cherry picked from commit 367a865e7f0c9cd67fda9176add1ca3c0dad2d46)

17 months agocfgutils: use same type for local variable in rpc gflags functions
Daniel-Constantin Mierla [Thu, 19 Mar 2020 15:56:38 +0000 (16:56 +0100)]
cfgutils: use same type for local variable in rpc gflags functions

(cherry picked from commit 5411eda4e44a487479d00433583a68a328aca9a3)

17 months agodialog: functions to search dialog by uuid and keep table entry locked
Daniel-Constantin Mierla [Mon, 23 Mar 2020 16:36:44 +0000 (17:36 +0100)]
dialog: functions to search dialog by uuid and keep table entry locked

- helper macros to lock/unlock table entry with dlg cell structure

(cherry picked from commit a4f8c0291bfd32752c0c2c323f618c6ac0c91d53)

17 months agodialog: exposed functions to search dlg and lock table entry
Daniel-Constantin Mierla [Mon, 23 Mar 2020 16:48:39 +0000 (17:48 +0100)]
dialog: exposed functions to search dlg and lock table entry

(cherry picked from commit 125031daeade9dab5c36b912dda65700d95c4c6a)

17 months agodialog: dmq operations under locked dlg table entry
Daniel-Constantin Mierla [Mon, 23 Mar 2020 16:57:48 +0000 (17:57 +0100)]
dialog: dmq operations under locked dlg table entry

- protect against races that could be due to rentransmissions or other
parallel processing cases
- related to GH #2224

(cherry picked from commit 8965ff07f2e9fa105fc56896eed9caf4b6faf261)

17 months agosst: debug message when setting timeout avp
Daniel-Constantin Mierla [Sun, 22 Mar 2020 14:27:46 +0000 (15:27 +0100)]
sst: debug message when setting timeout avp

(cherry picked from commit 56ed5c028bd97837c7a9e0017a2599f09554211f)

17 months agodialog: detailed debug messages when resolving the timeout
Daniel-Constantin Mierla [Sun, 22 Mar 2020 14:05:17 +0000 (15:05 +0100)]
dialog: detailed debug messages when resolving the timeout

(cherry picked from commit 20013e4e2bf1a5d5ce8535e07320dca034639286)

17 months agodmq: init worker structure in chid_init for PROC_INIT rank
Daniel-Constantin Mierla [Fri, 20 Mar 2020 16:10:05 +0000 (17:10 +0100)]
dmq: init worker structure in chid_init for PROC_INIT rank

- have it ready when other processes are started

(cherry picked from commit 21bdbff049571ca22f1205a041c8b1162005d319)

17 months agodialog: keep route block index as signed int
Daniel-Constantin Mierla [Thu, 13 Feb 2020 16:01:49 +0000 (17:01 +0100)]
dialog: keep route block index as signed int

- otherwise it can be broken value when route block doesn't exit and
kemi callback should be executed
- reported by David Escartin

(cherry picked from commit 6c557efc1b9cb8c880a05235c94780bbaf305073)

17 months agocore: better debug logging in mk_action function
Henning Westerholt [Sun, 23 Feb 2020 20:45:48 +0000 (21:45 +0100)]
core: better debug logging in mk_action function

(cherry picked from commit 10b96696b82d2e70c15f3e4bc52097f0a5062499)

17 months agocore: remove compiler warnings [-Wstring-plus-int]
Victor Seva [Sat, 7 Mar 2020 10:35:55 +0000 (11:35 +0100)]
core: remove compiler warnings [-Wstring-plus-int]

> core/parser/parse_fline.c:93:34: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
>               strncasecmp( tmp+1, SIP_VERSION+1, SIP_VERSION_LEN-1)==0 &&
>                                   ~~~~~~~~~~~^~
>
> core/parser/parse_fline.c:121:9: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
>       } else IFISMETHOD( INVITE, 'I' )
>              ^~~~~~~~~~~~~~~~~~~~~~~~~
>
> core/parser/msg_parser.h:131:35: note: expanded from macro 'IFISMETHOD'
>              strncasecmp( tmp+1, #methodname +1, methodname##_LEN-1)==0 &&     \
>                                  ~~~~~~~~~~~~^~

(cherry picked from commit 2b070a622fa3c78d929580fda3c7952963c4066b)

17 months agocore: remove compiler warnings [-Wstring-plus-int]
Victor Seva [Sat, 7 Mar 2020 10:57:40 +0000 (11:57 +0100)]
core: remove compiler warnings [-Wstring-plus-int]

> core/parser/parse_fline.c:241:17: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
>                                        SIP_VERSION+1, SIP_VERSION_LEN-1)) {
>                                        ~~~~~~~~~~~^~
>
> core/parser/parse_fline.c:241:17: note: use array indexing to silence this warning
>                                        SIP_VERSION+1, SIP_VERSION_LEN-1)) {
>                                                   ^
>                                        &          [ ]
> core/parser/parse_fline.c:247:18: warning: adding 'int' to a string does not append to the string [-Wstring-plus-int]
>                                        HTTP_VERSION+1, HTTP_VERSION_LEN-1)) {
>                                        ~~~~~~~~~~~~^~
>
> core/parser/parse_fline.c:247:18: note: use array indexing to silence this warning
>                                        HTTP_VERSION+1, HTTP_VERSION_LEN-1)) {
>                                                    ^
>                                        &           [ ]
>
> 2 warnings generated.

(cherry picked from commit f2959f422bb8171241728f5148d4b21c9cc2c681)

17 months agopv: do not set ending '\0' for port value in pv_set_ruri_port()
Daniel-Constantin Mierla [Thu, 19 Mar 2020 09:59:43 +0000 (10:59 +0100)]
pv: do not set ending '\0' for port value in pv_set_ruri_port()

- it can be a reference to a static string, ending up in a crash
- GH #2258

(cherry picked from commit 1f76bca74839f35d11f42edf758eb046cedb752c)

17 months agodb_redis: var initialization and safety check to avoid compiler warnings
Daniel-Constantin Mierla [Thu, 23 Apr 2020 07:57:05 +0000 (09:57 +0200)]
db_redis: var initialization and safety check to avoid compiler warnings

(cherry picked from commit b9b177ccffd58b11cf460764514486d29637dd55)

17 months agodispatcher: handle the case of maxload 0 for call load distribution
Daniel-Constantin Mierla [Thu, 23 Apr 2020 17:04:58 +0000 (19:04 +0200)]
dispatcher: handle the case of maxload 0 for call load distribution

- GH #2297

(cherry picked from commit 0115d3424c0f8780a661882527f39b2b39d0e74e)

17 months agopermissions: docs - note about netmask value 0 in the database column
Daniel-Constantin Mierla [Fri, 1 May 2020 07:00:21 +0000 (09:00 +0200)]
permissions: docs - note about netmask value 0 in the database column

(cherry picked from commit 8729a55f00b8ba6adbf97921ef09d56080145810)

17 months agopdb: covert byte-by-byte from buffer to short-int to avoid unalignment compile warning
Daniel-Constantin Mierla [Mon, 27 Apr 2020 08:47:48 +0000 (10:47 +0200)]
pdb: covert byte-by-byte from buffer to short-int to avoid unalignment compile warning

- GH #2298

(cherry picked from commit 86ebb4eef482b37a3bb8bf033caa4d87fd8aeb87)

17 months agolib/srdb1: fix warning about wrong namespace in version.xml
Henning Westerholt [Sun, 29 Mar 2020 09:27:07 +0000 (11:27 +0200)]
lib/srdb1: fix warning about wrong namespace in version.xml

(cherry picked from commit d4311f3dfa3fc6c3836e8573fb12bc2ae4b6c264)

17 months agocorex: docs - examples with setting xavps for via functions
Daniel-Constantin Mierla [Mon, 23 Mar 2020 08:19:30 +0000 (09:19 +0100)]
corex: docs - examples with setting xavps for via functions

(cherry picked from commit 1e58a56cb7f9d83ca0c943481d02c429d33e188a)

17 months agoMakefile.defs: Only add -ldl on systems that use it
Greg Troxel [Wed, 18 Mar 2020 23:03:08 +0000 (19:03 -0400)]
Makefile.defs: Only add -ldl on systems that use it

kamailio uses dlopen, and on some systems, one must link with -ldl.
On others, this is not needed and there is no libdl.  For now, simply
omit -ldl on NetBSD (which doesn't have or require it), and don't try
to change behavior on other systems.

(cherry picked from commit bca9768b6f2667bad8472fa99a113b8249ca0f9a)

17 months agoMakefile.defs: On NetBSD, link with -lm
Greg Troxel [Wed, 18 Mar 2020 23:01:52 +0000 (19:01 -0400)]
Makefile.defs: On NetBSD, link with -lm

(cherry picked from commit 3ccaac365da6078a96681109efebc70dcb12fc55)

17 months agosipcapture: fix spelling errors
Bastian Triller [Thu, 12 Mar 2020 16:53:02 +0000 (17:53 +0100)]
sipcapture: fix spelling errors

(cherry picked from commit cc1142fcc15e0875d309de894a239325526fa186)

17 months agokamctl: cmd trap output file with txt extension
Daniel-Constantin Mierla [Sat, 14 Mar 2020 17:16:34 +0000 (18:16 +0100)]
kamctl: cmd trap output file with txt extension

- easier to view inline when sent via email, without extensions being
binary encoding and requiring explicit download

(cherry picked from commit 41841dfc153894a97609bdc95d78a12cb2b304ca)

17 months agokamcmd: Makefile - updated the msg target to print pkg-config detections
Daniel-Constantin Mierla [Wed, 18 Mar 2020 17:41:52 +0000 (18:41 +0100)]
kamcmd: Makefile - updated the msg target to print pkg-config detections

(cherry picked from commit 331ffea6c8c8b2c7cf38e3d7eda882a6becd326a)

17 months agokamcmd: use pkg-config to get compile flags for lib readline
Daniel-Constantin Mierla [Wed, 18 Mar 2020 16:39:18 +0000 (17:39 +0100)]
kamcmd: use pkg-config to get compile flags for lib readline

(cherry picked from commit 0e6e05f8bec1fb451375d71a6b929a6908c5689d)

17 months agodispatcher: docs - added modparams for keepalives in sample config file
Daniel-Constantin Mierla [Tue, 18 Feb 2020 13:51:46 +0000 (14:51 +0100)]
dispatcher: docs - added modparams for keepalives in sample config file

(cherry picked from commit 6fb8cb820207e51e7e6ae07020c17c32b9fa9aa0)

17 months agodb: update README describing the DB XML framework
Henning Westerholt [Mon, 17 Feb 2020 16:09:36 +0000 (17:09 +0100)]
db: update README describing the DB XML framework

(cherry picked from commit 25e61922244ec9c438fc472500472b59d191093a)

17 months agotopos: skip http reply handling
Daniel-Constantin Mierla [Sat, 22 Feb 2020 09:55:20 +0000 (10:55 +0100)]
topos: skip http reply handling

(cherry picked from commit fad795648f8cbf12cc099dea18092ff7beee9c75)

17 months agotopoh: skip http reply handling
Daniel-Constantin Mierla [Sat, 22 Feb 2020 10:18:06 +0000 (11:18 +0100)]
topoh: skip http reply handling

(cherry picked from commit 345d6f67006e4254300209742a2778b925cafaf7)

17 months agortpengine: replaced rtpproxy with rtpengine
Daniel-Constantin Mierla [Mon, 23 Mar 2020 17:42:23 +0000 (18:42 +0100)]
rtpengine: replaced rtpproxy with rtpengine

- avoid confusion in printed log messges

(cherry picked from commit dda07c69420e1a38948dae4b71f8005b2375253b)

17 months agonathelper: fix zero-length log placeholder
Zero King [Tue, 24 Mar 2020 10:11:54 +0000 (11:11 +0100)]
nathelper: fix zero-length log placeholder

(cherry picked from commit 69714b26c63c75df6759f9158c7181d4f86b4764)

17 months agortpproxy: fix zero-length log placeholder
Zero King [Tue, 24 Mar 2020 10:12:25 +0000 (11:12 +0100)]
rtpproxy: fix zero-length log placeholder

(cherry picked from commit 030f18b5cffeb117dcf582cf12c5b3c35ace1469)

17 months agortpengine: fix zero-length log placeholder
Zero King [Tue, 24 Mar 2020 10:12:39 +0000 (11:12 +0100)]
rtpengine: fix zero-length log placeholder

(cherry picked from commit 740afac15b3d8d618b5101a761a37f5808d4b4f0)

17 months agocore: fix returning multiple IPs for a cached DNS entry
Nathan Bruning [Tue, 24 Mar 2020 10:24:28 +0000 (11:24 +0100)]
core: fix returning multiple IPs for a cached DNS entry

(cherry picked from commit 29a35ec3cec8b9c3ee4b45c8d84308701bda097c)

17 months agosst: docs - more info about how timeout_avp is used
Daniel-Constantin Mierla [Tue, 24 Mar 2020 13:50:58 +0000 (14:50 +0100)]
sst: docs - more info about how timeout_avp is used

(cherry picked from commit b800ffb9fb1de6ee0d7b6c2b42a25669022c1142)

17 months agopike: docs - aligned ip tree example
Daniel-Constantin Mierla [Tue, 24 Mar 2020 14:23:10 +0000 (15:23 +0100)]
pike: docs - aligned ip tree example

(cherry picked from commit e65ce2fd407626acc89879033a2114cf521457dc)

17 months agotextopsx: small spelling fix in docs
Henning Westerholt [Mon, 23 Mar 2020 17:28:49 +0000 (18:28 +0100)]
textopsx: small spelling fix in docs

(cherry picked from commit 53ccb420c0414a12af0783add864bb4d97a65d90)

17 months agokamctl: kamctlrc - fix CHROOT_DIR example and coherent use of ## for comments
Daniel-Constantin Mierla [Thu, 12 Mar 2020 10:14:09 +0000 (11:14 +0100)]
kamctl: kamctlrc - fix CHROOT_DIR example and coherent use of ## for comments

- ## is used for explanatory comments
- # is used for commented options

(cherry picked from commit 517b3be4b06473d1d64d1fe198c4a9c149bcc1b0)

17 months agotm: safe list iteration in tm_clean_lifetime()
Daniel-Constantin Mierla [Wed, 4 Mar 2020 21:27:43 +0000 (22:27 +0100)]
tm: safe list iteration in tm_clean_lifetime()

(cherry picked from commit 325a45e846faae3e5dfa333727d5fab294e44dac)

17 months agocore: small improvement related to commit 5e42adae624f9741 in cfg parser
Henning Westerholt [Thu, 5 Mar 2020 17:13:33 +0000 (18:13 +0100)]
core: small improvement related to commit 5e42adae624f9741 in cfg parser

(cherry picked from commit f879b4c4d75777892f160d8abe639c6f15f68569)

17 months agocore: initialize memory to 0 in cfg parser in a few more places
Henning Westerholt [Thu, 5 Mar 2020 16:31:00 +0000 (17:31 +0100)]
core: initialize memory to 0 in cfg parser in a few more places

(cherry picked from commit 5e42adae624f9741e26dfb0af4accede2a8f92d2)

17 months agopkg/kamailio/deb: version set 5.2.7
Victor Seva [Wed, 13 May 2020 07:50:27 +0000 (09:50 +0200)]
pkg/kamailio/deb: version set 5.2.7

17 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Wed, 13 May 2020 10:31:53 +0000 (12:31 +0200)]
modules: readme files regenerated - modules ... [skip ci]

17 months agoims_registrar_scscf: fix aor generation in lookup()
Aleksandar Yosifov [Tue, 21 Apr 2020 10:55:36 +0000 (13:55 +0300)]
ims_registrar_scscf: fix aor generation in lookup()

- Generate AoR in lookup() from parsed uri user and
  host. Skipping all user's and host's parameters.

(cherry picked from commit e53b25f89a14aba93d3c48a1b2f983114db1760c)

17 months agoauth: safety check for auth header pointer in pv_auth_check()
Daniel-Constantin Mierla [Mon, 24 Feb 2020 19:27:14 +0000 (20:27 +0100)]
auth: safety check for auth header pointer in pv_auth_check()

(cherry picked from commit ea2ea2f8274eda9d8d7055b22fab8910cd773a19)

17 months agodmq: use PROC_RPC rank to init the worker process
Daniel-Constantin Mierla [Tue, 25 Feb 2020 07:36:40 +0000 (08:36 +0100)]
dmq: use PROC_RPC rank to init the worker process

(cherry picked from commit f2a4fd419c27b99ce4ff6f93dc3f235d4f74a33c)

17 months agoims_usrloc_scscf: extend and fix log messages
Aleksandar Yosifov [Thu, 7 May 2020 09:49:20 +0000 (12:49 +0300)]
ims_usrloc_scscf: extend and fix log messages

(cherry picked from commit b2487d95f61b46033eb2825c5f54d5f19ca1e878)

17 months agortjson: fixed the updated example
Daniel-Constantin Mierla [Wed, 26 Feb 2020 09:38:23 +0000 (10:38 +0100)]
rtjson: fixed the updated example

- included invalid characters for xml text, rendering empty readme

(cherry picked from commit a23476600666d0cf0604a6a7e3212fa5b1223af8)

17 months agoupdate example using IP address reserved for documentation
Mathias WOLFF [Mon, 24 Feb 2020 18:57:42 +0000 (19:57 +0100)]
update example using IP address reserved for documentation

(cherry picked from commit abecca7f6515a454b3394ec0df7f535a6a52e1e9)

17 months agomisc: examples/kemi - missing parameter in kamailio-basic-kemi-python.py
Daniel-Constantin Mierla [Sun, 3 May 2020 08:39:22 +0000 (10:39 +0200)]
misc: examples/kemi - missing parameter in kamailio-basic-kemi-python.py

(cherry picked from commit 6b69754f28ab8df61852b9f8695e59305a7c6c3a)

17 months agohtable: docs - more details about size attribute for htable
Daniel-Constantin Mierla [Fri, 1 May 2020 15:26:39 +0000 (17:26 +0200)]
htable: docs - more details about size attribute for htable

(cherry picked from commit 35f711e6ec74c6e67edf99adaa15cc353f2ce949)

17 months agokamctl: kamdbclt mysql skip creating dbrouser if same as dbrwuser
Daniel-Constantin Mierla [Sat, 2 May 2020 06:18:58 +0000 (08:18 +0200)]
kamctl: kamdbclt mysql skip creating dbrouser if same as dbrwuser

(cherry picked from commit 66ef7ab7b078794b96ecee13f6867d5f90a8d63e)

17 months agocore: dns - use all NAPTR records
Semen Darienko [Sun, 3 May 2020 10:26:45 +0000 (12:26 +0200)]
core: dns - use all NAPTR records

- enable using of all NAPTR records instead of the first one ordered by
priority
- GH #2290

(cherry picked from commit 28049aafc8dd06c160ce5e7b8d5e4fc728441b0c)

17 months agopua: use file name specific include guard
Daniel-Constantin Mierla [Wed, 6 May 2020 15:15:36 +0000 (17:15 +0200)]
pua: use file name specific include guard

(cherry picked from commit 076649793bfdbdc4f03f96961f23997c87ce4268)

17 months agosnmpstats: use file name specific include guard
Daniel-Constantin Mierla [Tue, 5 May 2020 06:07:14 +0000 (08:07 +0200)]
snmpstats: use file name specific include guard

(cherry picked from commit 13622cf6e36e50c42ec882272b1c48107fa55677)

17 months agoratelimit: use file name specific include guard
Daniel-Constantin Mierla [Tue, 5 May 2020 06:06:56 +0000 (08:06 +0200)]
ratelimit: use file name specific include guard

(cherry picked from commit 68b5b3ce5b8ae38ed5ba7731ae1a6315adedd0e5)

17 months agopipelimit: use file name specific include guard
Daniel-Constantin Mierla [Tue, 5 May 2020 06:06:31 +0000 (08:06 +0200)]
pipelimit: use file name specific include guard

(cherry picked from commit e4356d56d57599ff063e6849cab8cab5267d26e0)

17 months agoapp_sqlang: use file name specific include guard
Daniel-Constantin Mierla [Tue, 5 May 2020 05:59:32 +0000 (07:59 +0200)]
app_sqlang: use file name specific include guard

(cherry picked from commit 9a2fea75dcee851b1dc22e5a9e7a6ee0d05814ef)

17 months agousrloc: use file name specific include guard
Daniel-Constantin Mierla [Mon, 4 May 2020 17:38:07 +0000 (19:38 +0200)]
usrloc: use file name specific include guard

(cherry picked from commit f4f66ad91324116e5d4e9e02fa9caedcad2b2d2f)

17 months agouid_domain: use module specific include guards
Daniel-Constantin Mierla [Mon, 4 May 2020 17:01:21 +0000 (19:01 +0200)]
uid_domain: use module specific include guards

(cherry picked from commit b3c981db67845622fb8c85a20e18e1b98c29eb69)

17 months agocore: hash_func.h - use file name specific include guard
Daniel-Constantin Mierla [Mon, 4 May 2020 16:35:00 +0000 (18:35 +0200)]
core: hash_func.h - use file name specific include guard

(cherry picked from commit 9691f6e0cab48114ef4067a22cc8f9c1efb8944c)

17 months agotm: small spelling fix in comments
Henning Westerholt [Thu, 7 May 2020 18:45:04 +0000 (18:45 +0000)]
tm: small spelling fix in comments

(cherry picked from commit 1d555161195ebccd35534f8533eacdcbba7020fc)

17 months agoTLS: Try to always refer to OpenSSL as "OpenSSL" instead of other names
Olle E. Johansson [Tue, 12 May 2020 07:08:33 +0000 (09:08 +0200)]
TLS: Try to always refer to OpenSSL as "OpenSSL" instead of other names

(cherry picked from commit ff887fe5d0d7cec7fc0640a54c80b322d421ed36)

17 months agoTLS: Fix TLS session id example to match source code
Olle E. Johansson [Tue, 12 May 2020 07:07:02 +0000 (09:07 +0200)]
TLS: Fix TLS session id example to match source code

(cherry picked from commit 70bcb5f88dc87e27940cc71e293d1c68a7717af6)

17 months agoTLS: fix typo in docs
Olle E. Johansson [Tue, 12 May 2020 07:05:51 +0000 (09:05 +0200)]
TLS: fix typo in docs

(cherry picked from commit f75e64b2335fcf07c3371a4108063e8c0a3a52b9)

17 months agowebsocket: docs - fix title for parameter rm_delay_interval
Bastian Triller [Wed, 4 Mar 2020 09:19:57 +0000 (10:19 +0100)]
websocket: docs - fix title for parameter rm_delay_interval

(cherry picked from commit c4a566bf8df05b55a690a4ad9ea5f5dfe8961e0e)

17 months agousrloc: doc fixes
Bastian Triller [Wed, 4 Mar 2020 09:16:27 +0000 (10:16 +0100)]
usrloc: doc fixes

* add doc for parameter reg_id_column
* fix title for parameter partition_column

(cherry picked from commit 305ba1b23bae19a4042c3e8fa88451b47ac69ff5)

17 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Wed, 13 May 2020 09:46:39 +0000 (11:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

17 months agoims_qos: more extern declarations in the header files
Daniel-Constantin Mierla [Wed, 4 Mar 2020 10:14:26 +0000 (11:14 +0100)]
ims_qos: more extern declarations in the header files

(cherry picked from commit 7bea30203b85b7ed17434ee3f301faa0cedcba76)

17 months agopua: extern declaration of global variable in header file
Daniel-Constantin Mierla [Wed, 4 Mar 2020 11:24:48 +0000 (12:24 +0100)]
pua: extern declaration of global variable in header file

(cherry picked from commit e260447833f616066e0fa23e51e791822b55b039)

17 months agoims_ocs: declare extern global variables in header file
Daniel-Constantin Mierla [Fri, 6 Mar 2020 06:02:18 +0000 (07:02 +0100)]
ims_ocs: declare extern global variables in header file

(cherry picked from commit 13da8cf58a2abfcd87a48fbc963d4e1a26d60085)

17 months agojanssonrpcc: use extern not to declare tmb global many times
Daniel-Constantin Mierla [Sat, 7 Mar 2020 10:54:01 +0000 (11:54 +0100)]
janssonrpcc: use extern not to declare tmb global many times

(cherry picked from commit 6bb1e84907a6c8bdb0c72289bad7b9915c9b3385)