kamailio
13 months agoChangeLog: content updated for v5.4.1 5.4.1
Daniel-Constantin Mierla [Tue, 1 Sep 2020 07:57:57 +0000 (09:57 +0200)]
ChangeLog: content updated for v5.4.1

13 months agoMakefile.defs: version set to 5.4.1
Daniel-Constantin Mierla [Tue, 1 Sep 2020 07:37:28 +0000 (09:37 +0200)]
Makefile.defs: version set to 5.4.1

13 months agopkg: version set to 5.4.1 for rpm and alpine specs
Daniel-Constantin Mierla [Tue, 1 Sep 2020 07:35:50 +0000 (09:35 +0200)]
pkg: version set to 5.4.1 for rpm and alpine specs

13 months agopkg/kamailio/deb: version set 5.4.1
Victor Seva [Tue, 1 Sep 2020 07:12:28 +0000 (09:12 +0200)]
pkg/kamailio/deb: version set 5.4.1

13 months agokeepalive: removed function name from log messages
Daniel-Constantin Mierla [Mon, 31 Aug 2020 10:15:00 +0000 (12:15 +0200)]
keepalive: removed function name from log messages

(cherry picked from commit 17d6a88090e2a67f5c0b06e6aae76d629595b37e)

13 months agotls: proper ifdef on libssl version for tls_init_locks()
Daniel-Constantin Mierla [Sun, 30 Aug 2020 16:04:04 +0000 (18:04 +0200)]
tls: proper ifdef on libssl version for tls_init_locks()

- avoid compile warning on unused label

(cherry picked from commit 60bd3aa284a5d9eb117a9763aa590aecf276ba16)

13 months agousrloc: get_udomain() - safety checks for location table name parameter
Daniel-Constantin Mierla [Thu, 27 Aug 2020 10:34:50 +0000 (12:34 +0200)]
usrloc: get_udomain() - safety checks for location table name parameter

(cherry picked from commit 29dde9fea1eb21b4bb484286f7443dd32f611bd2)

13 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Wed, 26 Aug 2020 21:16:45 +0000 (23:16 +0200)]
modules: readme files regenerated - modules ... [skip ci]

13 months agosqlops module: added one more sql query function return value to README
Juha Heinanen [Tue, 25 Aug 2020 17:11:59 +0000 (20:11 +0300)]
sqlops module: added one more sql query function return value to README

(cherry picked from commit d93de03c10eb7b88024d7eb9ba85200601cf6c7a)

13 months agotopoh: remove the Via cookie when skipping topoh via event route
Daniel-Constantin Mierla [Mon, 24 Aug 2020 08:22:52 +0000 (10:22 +0200)]
topoh: remove the Via cookie when skipping topoh via event route

- event route is now executed with parsed sip message to be sent out
- GH #2437

(cherry picked from commit 06a1d20fdcae42c8f2130c547c6c6cf5fb6dce26)

13 months agokeepalive: docs - documented owner parameter for add/delete functions
Daniel-Constantin Mierla [Mon, 24 Aug 2020 07:34:33 +0000 (09:34 +0200)]
keepalive: docs - documented owner parameter for add/delete functions

- related to GH #2438

(cherry picked from commit 7284a61125bb0cacd1adc2289af616061df03258)

13 months agocore: kemi - exported core route function
Daniel-Constantin Mierla [Thu, 20 Aug 2020 14:16:56 +0000 (16:16 +0200)]
core: kemi - exported core route function

(cherry picked from commit d9dd2abeb82be8b992ddf534864b6d84594b7a47)

13 months agocfgutils: exported route check functions to kemi
Daniel-Constantin Mierla [Thu, 20 Aug 2020 13:57:57 +0000 (15:57 +0200)]
cfgutils: exported route check functions to kemi

(cherry picked from commit ecba550f5d35435adfa9c692cec8cee6cae8a77b)

13 months agouac: added uac_event_callback for kemi
Yufei Tao [Thu, 13 Aug 2020 15:18:49 +0000 (16:18 +0100)]
uac: added uac_event_callback for kemi

(cherry picked from commit 767d3ca88a4e4fa093a6a81a36d95d116251b578)

13 months agoMakefile.defs: Fixed libs option for FreeBSD
Dmitry [Sun, 16 Aug 2020 20:21:37 +0000 (23:21 +0300)]
Makefile.defs: Fixed libs option for FreeBSD

(cherry picked from commit f490c4e0f5888963a01fa99fe94a464d44223199)

13 months agotls: added define condition on version functions
Daniel-Constantin Mierla [Thu, 13 Aug 2020 05:19:28 +0000 (07:19 +0200)]
tls: added define condition on version functions

- libssl 1.1 variants are not in 1.0
- following the changes by 234b02236b3ad13cdaf5624d11c727ad7d804747

(cherry picked from commit 99c6a68dea60ca745dfdfa33085bb6acbcee846a)

13 months agotls: support compilation without deprecated OpenSSL APIs
Rosen Penev [Wed, 12 Aug 2020 14:37:13 +0000 (16:37 +0200)]
tls: support compilation without deprecated OpenSSL APIs

- GH #2428

(cherry picked from commit 234b02236b3ad13cdaf5624d11c727ad7d804747)

13 months agotopoh: check if via param has the expected prefix, otherwise skip
Daniel-Constantin Mierla [Tue, 11 Aug 2020 10:36:02 +0000 (12:36 +0200)]
topoh: check if via param has the expected prefix, otherwise skip

- GH #2437

(cherry picked from commit 046126b4a90090bf5b8f9b517ba5218793e6b973)

13 months agopike: docs - section for pike.list rpc command
Daniel-Constantin Mierla [Tue, 11 Aug 2020 09:11:35 +0000 (11:11 +0200)]
pike: docs - section for pike.list rpc command

(cherry picked from commit 720e929a87c6d3ee29c316ca63886c7142320f43)

13 months agoMakefile.defs: map gcc v10.x to 9.0+ options
Daniel-Constantin Mierla [Wed, 5 Aug 2020 14:38:01 +0000 (16:38 +0200)]
Makefile.defs: map gcc v10.x to 9.0+ options

- detect properly the 10.x gcc version number, GH #2425

(cherry picked from commit 79e7738027a40affa4c7f606bf55a3ad0fe31bc4)

13 months agoMakefile.defs: get clang version only from --version output
Daniel-Constantin Mierla [Tue, 4 Aug 2020 06:36:18 +0000 (08:36 +0200)]
Makefile.defs: get clang version only from --version output

- the full version with stderr output included has a different first
line on MacOS, making head -n 1 not extract the version number line

(cherry picked from commit bff689cfedca70149e17b6ec3584ca9ecab71418)

13 months agodb_text: free pointer in case of error
Daniel-Constantin Mierla [Sat, 1 Aug 2020 14:51:39 +0000 (16:51 +0200)]
db_text: free pointer in case of error

(cherry picked from commit bddf16db74ea779bb01805fc2cbabfdaf8f4d62b)

13 months agoxcap_server: check before going to the end of the buffer
Daniel-Constantin Mierla [Fri, 31 Jul 2020 18:45:47 +0000 (20:45 +0200)]
xcap_server: check before going to the end of the buffer

- use marcros to set and restore char for ending 0

(cherry picked from commit 6ce5c0bdf136ecffd7917f2d60093e1b2c49fa54)

13 months agoapp_lua: docs - note about availability of 'sr' Lua module
Daniel-Constantin Mierla [Thu, 30 Jul 2020 18:32:02 +0000 (20:32 +0200)]
app_lua: docs - note about availability of 'sr' Lua module

- use KSR in the examples

(cherry picked from commit 34efa83569bedb1f36c3661ee063ff6334633e4a)

13 months agoevapi: export async_unicast() to kemi
Daniel-Constantin Mierla [Thu, 30 Jul 2020 08:36:01 +0000 (10:36 +0200)]
evapi: export async_unicast() to kemi

- PR #2415

(cherry picked from commit 7116c04c61cf789a371568fb593c109e195a1574)

13 months agodmq_usrloc: do not replicate socket if the field is not set:
Daniel-Constantin Mierla [Mon, 24 Aug 2020 10:28:07 +0000 (12:28 +0200)]
dmq_usrloc: do not replicate socket if the field is not set:

- GH #2451

(cherry picked from commit 8891b656f5d3650b83e4f877ca43068d5d6f7ff7)

13 months agolog_custom: print to stderror if sending log message fails
Daniel-Constantin Mierla [Mon, 24 Aug 2020 08:01:20 +0000 (10:01 +0200)]
log_custom: print to stderror if sending log message fails

- help troubleshooting while avoiding looping to same function in case
the log engine is set to log custom module

(cherry picked from commit f16d046f6330f897b374d9bb7dab3b2ce8eab3a7)

13 months agoasync: fix async_ms_route and export it to kemi
Federico Cabiddu [Thu, 20 Aug 2020 09:06:56 +0000 (11:06 +0200)]
async: fix async_ms_route and export it to kemi

(cherry picked from commit b787627819fc93dcc8c68a4950c9760d298ce555)

13 months agousrloc: print Route header name in keepalive when Path is present
Daniel-Constantin Mierla [Tue, 18 Aug 2020 15:48:21 +0000 (17:48 +0200)]
usrloc: print Route header name in keepalive when Path is present

- related to GH #2446

(cherry picked from commit d49d6b89ceb311598a89cfd789d180412b46a4af)

13 months agousrloc: export the ka_logmsg parameter
Daniel-Constantin Mierla [Mon, 17 Aug 2020 09:44:09 +0000 (11:44 +0200)]
usrloc: export the ka_logmsg parameter

- GH #2440

(cherry picked from commit d74ab3652eadb34b708755522048468ca8f0b2e8)

14 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Fri, 14 Aug 2020 10:46:59 +0000 (12:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

14 months agopipelimit: docs - fixed typo
Bastian Triller [Thu, 13 Aug 2020 07:26:57 +0000 (09:26 +0200)]
pipelimit: docs - fixed typo

(cherry picked from commit c87f3c1d07a5a3c51728d404200d60b10ed6159f)

14 months agoevapi: use port in getaddrinfo() otherwise it does not bind as expected
Daniel-Constantin Mierla [Tue, 4 Aug 2020 13:19:39 +0000 (15:19 +0200)]
evapi: use port in getaddrinfo() otherwise it does not bind as expected

- regression added by cc098ecdfb556bf5efaab72fa767c773000f9fb6

(cherry picked from commit 301302531c630803222e7f14a1c113b1a400f7a1)

14 months agopkg/kamailio/deb: add focal support #2338
Victor Seva [Tue, 4 Aug 2020 13:01:17 +0000 (15:01 +0200)]
pkg/kamailio/deb: add focal support #2338

14 months agopua: update_version_puadb() use pres_id to select record
Victor Seva [Fri, 31 Jul 2020 14:00:06 +0000 (16:00 +0200)]
pua: update_version_puadb() use pres_id to select record

* only relevant when db_mode is PUA_DB_ONLY
* call_id/to_tag/from_tag values can be "", for instance with
  DIALOG_PUBLISH.* records. Then **ALL** records get version
  field update
* update_vesion_puadb() is called from send_publish() and pres->id
  value is valid after a call to get_record_puadb()

related to #2414

(cherry picked from commit e4aed5c272c8144dd1ddf58163c3ba501bb46a5b)

14 months agopua: fix send_publish() behavior on PUA_DB_ONLY
Victor Seva [Thu, 30 Jul 2020 10:19:45 +0000 (12:19 +0200)]
pua: fix send_publish() behavior on PUA_DB_ONLY

* dialog PUBLISH was missing SIP-If-Mach
* pua was inserting a new record for every dialog state

fixes #2414

(cherry picked from commit 91d9441a242da4746171bfa532fa2378328e8d73)

14 months agopua_bla: clang-format
Victor Seva [Wed, 29 Jul 2020 11:28:39 +0000 (13:28 +0200)]
pua_bla: clang-format

* use STR_NULL

(cherry picked from commit e542b779b29bda2d0a953a4e55921edc466a3936)

14 months agopua_bla: convert to PKG/SHM memory logging helper functions
Victor Seva [Wed, 29 Jul 2020 11:15:25 +0000 (13:15 +0200)]
pua_bla: convert to PKG/SHM memory logging helper functions

* remove trailing spaces
* remove history notes and $Id

(cherry picked from commit e4895abf5a533b96bf5e7112488a0facaabfc1a7)

14 months agopua_usrloc: convert to PKG/SHM memory logging helper functions
Victor Seva [Wed, 29 Jul 2020 11:10:04 +0000 (13:10 +0200)]
pua_usrloc: convert to PKG/SHM memory logging helper functions

(cherry picked from commit be07ed5dd927448ffad3bd77f976249a888cfb2e)

14 months agopua: convert to PKG/SHM memory logging helper functions
Victor Seva [Wed, 29 Jul 2020 08:53:48 +0000 (10:53 +0200)]
pua: convert to PKG/SHM memory logging helper functions

* remove trailing spaces

(cherry picked from commit c91e852d203017b571ae15e48c289f73f4824136)

14 months agopua_dialoginfo: convert to PKG/SHM memory logging helper functions
Victor Seva [Wed, 29 Jul 2020 08:32:05 +0000 (10:32 +0200)]
pua_dialoginfo: convert to PKG/SHM memory logging helper functions

(cherry picked from commit 7e5cc3aa21a243ef19ec092fec10043b1178cae7)

14 months agoMerge pull request #2406 from kamailio/feature/remove-unused-var
Daniel-Constantin Mierla [Thu, 30 Jul 2020 08:28:28 +0000 (10:28 +0200)]
Merge pull request #2406 from kamailio/feature/remove-unused-var

tm - remove not used route_mode var

14 months agoChangeLog: content updated for v5.4.0 5.4.0
Daniel-Constantin Mierla [Wed, 29 Jul 2020 10:19:17 +0000 (12:19 +0200)]
ChangeLog: content updated for v5.4.0

14 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Wed, 29 Jul 2020 10:16:33 +0000 (12:16 +0200)]
modules: readme files regenerated - modules ... [skip ci]

14 months agotls: docs - fixed typo
Daniel-Constantin Mierla [Fri, 24 Jul 2020 20:25:50 +0000 (22:25 +0200)]
tls: docs - fixed typo

- GH #2410

(cherry picked from commit a12064696ac37cadf954a89b58daa1e05e182180)

14 months agopkg/kamailio/deb: version 5.4.0
Victor Seva [Wed, 29 Jul 2020 07:12:30 +0000 (09:12 +0200)]
pkg/kamailio/deb: version 5.4.0

14 months agoChangeLog: prepared content for v5.4.0
Daniel-Constantin Mierla [Wed, 29 Jul 2020 07:08:40 +0000 (09:08 +0200)]
ChangeLog: prepared content for v5.4.0

14 months agopkg/kamailio: version set to 5.4.0 for alpine spec
Daniel-Constantin Mierla [Wed, 29 Jul 2020 07:07:39 +0000 (09:07 +0200)]
pkg/kamailio: version set to 5.4.0 for alpine spec

14 months agoMakefile.defs: version set to 5.4.0
Daniel-Constantin Mierla [Wed, 29 Jul 2020 07:03:56 +0000 (09:03 +0200)]
Makefile.defs: version set to 5.4.0

- new major release series

14 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Tue, 28 Jul 2020 06:46:33 +0000 (08:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]

14 months agortp_media_server: update to mediastreamer 4.4.0
Julien Chavanton [Thu, 9 Jul 2020 23:24:59 +0000 (16:24 -0700)]
rtp_media_server: update to mediastreamer 4.4.0

update documentation to simplify usage using docker

(cherry picked from commit 32350bcb48757f2431fe463167a2816a702a8cb7)

14 months agodialog: print old state on dlg timeout
Daniel-Constantin Mierla [Mon, 27 Jul 2020 07:37:23 +0000 (09:37 +0200)]
dialog: print old state on dlg timeout

(cherry picked from commit 06b7e416756e1711edef6db683cef35824f4b2a5)

14 months agotm: lower log level for t_unref kill transaction to WARN
Henning Westerholt [Thu, 23 Jul 2020 15:23:15 +0000 (15:23 +0000)]
tm: lower log level for t_unref kill transaction to WARN

- lower log level for t_unref kill transaction to WARN
- immediate CANCEL on an INVITE could trigger this

(cherry picked from commit d85d43247c3d056eebeec3f97735d13c048a181c)

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

14 months agoREADME: updated version
Daniel-Constantin Mierla [Tue, 21 Jul 2020 20:34:09 +0000 (22:34 +0200)]
README: updated version

14 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Fri, 17 Jul 2020 13:16:25 +0000 (15:16 +0200)]
modules: readme files regenerated - modules ... [skip ci]

14 months agoxhttp_prom: fixed typo in the documentation [skip ci]
Marat Gareev [Fri, 17 Jul 2020 12:22:33 +0000 (15:22 +0300)]
xhttp_prom: fixed typo in the documentation [skip ci]

(cherry picked from commit fbfc720a82ed2e6c537fd7fa36b913cf079123ae)

14 months agop_usrloc: reworking mdb_availability_control
Lucian Balaceanu [Tue, 14 Jul 2020 08:48:45 +0000 (11:48 +0300)]
p_usrloc: reworking mdb_availability_control

- simplify general implementation
- avoid deadlock due to a process trying to acquire same lock twice

(cherry picked from commit 5789c506d022dd5713072cd1fcc07a25f42e098c)

15 months agopkg/kamailio/deb: version set 5.4.0~rc1
Victor Seva [Fri, 17 Jul 2020 08:41:11 +0000 (10:41 +0200)]
pkg/kamailio/deb: version set 5.4.0~rc1

15 months agoMakefile.defs: version set to 5.4.0-rc1
Daniel-Constantin Mierla [Fri, 17 Jul 2020 07:19:55 +0000 (09:19 +0200)]
Makefile.defs: version set to 5.4.0-rc1

15 months agomodules: readme files regenerated - modules ... [skip ci]
Kamailio Dev [Thu, 16 Jul 2020 15:32:08 +0000 (17:32 +0200)]
modules: readme files regenerated - modules ... [skip ci]

15 months agocore: strutils - trim trailing spaces when comparing hdr names
Daniel-Constantin Mierla [Thu, 16 Jul 2020 07:16:40 +0000 (09:16 +0200)]
core: strutils - trim trailing spaces when comparing hdr names

(cherry picked from commit 6d76b79b81bf448fa1f34753c1d000dc6c1870e0)

15 months agocore: parser - trim trailing whitespaces in header name
Daniel-Constantin Mierla [Thu, 16 Jul 2020 07:09:48 +0000 (09:09 +0200)]
core: parser - trim trailing whitespaces in header name

(cherry picked from commit 7135feee9cdc93efa8c0c3e4abf24a9335ce42de)

15 months agodispatcher: update state if sending keepalive OPTIONS fails
Daniel-Constantin Mierla [Wed, 15 Jul 2020 15:59:51 +0000 (17:59 +0200)]
dispatcher: update state if sending keepalive OPTIONS fails

- it can be due to DNS resolving failure, therefore needs to be counted
for making it inactive, otherwise keeps failing and writting errors

(cherry picked from commit 6c77c86ab8fdec51293f0d850b9b9771d6266816)

15 months agocore: don't close tcp connection for dropped non sip messages
lazedo [Mon, 13 Jul 2020 12:01:43 +0000 (13:01 +0100)]
core: don't close tcp connection for dropped non sip messages

(cherry picked from commit 007f98692bb6f7cb35adbb86ec6fb06f034614cc)

15 months agomisc/examples: kemi lua - added debug callback function
Daniel-Constantin Mierla [Tue, 14 Jul 2020 07:21:04 +0000 (09:21 +0200)]
misc/examples: kemi lua - added debug callback function

- commented - can be enabled to track the execution trace of the lua
script

(cherry picked from commit 491a8327933cb4471260fdd09ff93296a7a0ccfd)

15 months agosipdump: docs - note about use of drop() in event route
Daniel-Constantin Mierla [Mon, 13 Jul 2020 08:08:42 +0000 (10:08 +0200)]
sipdump: docs - note about use of drop() in event route

(cherry picked from commit f984505b3ed41b7faf0fca5ab978c52240cd60a0)

15 months agosipdump: if drop executed in event route, skip writing to file
Daniel-Constantin Mierla [Mon, 13 Jul 2020 07:46:44 +0000 (09:46 +0200)]
sipdump: if drop executed in event route, skip writing to file

(cherry picked from commit 1672a9b356cc864310d0ade139d7c8bb6c4c4b11)

15 months agodb_redis: fix unfiltered table deletion
Richard Fuchs [Tue, 14 Jul 2020 18:13:00 +0000 (14:13 -0400)]
db_redis: fix unfiltered table deletion

15 months agocore: only skip over proto in alias inside uri_trim_rcv_alias()
Daniel-Constantin Mierla [Tue, 14 Jul 2020 09:18:53 +0000 (11:18 +0200)]
core: only skip over proto in alias inside uri_trim_rcv_alias()

- variable not used if set to the corresponding integer id

(cherry picked from commit 58b0631aafd7d6efa5534009fab197336468a9f8)

15 months agoims_charging: fix wrong default User-Equipment-Info-Type AVP format
Henning Westerholt [Sat, 11 Jul 2020 11:03:26 +0000 (11:03 +0000)]
ims_charging: fix wrong default User-Equipment-Info-Type AVP format

- fix User-Equipment-Info-Type AVP format
  According to the RFC 8506 it should be like this: The 48-bit Media Access
  Control (MAC) address is formatted as described in Section 3.21 of [RFC3580]
- use strlen instead of sizeof

15 months agopkg/kamailio/deb: version set 5.4.0~rc0 [skip ci]
Victor Seva [Fri, 10 Jul 2020 11:32:03 +0000 (13:32 +0200)]
pkg/kamailio/deb: version set 5.4.0~rc0 [skip ci]

15 months agoMakefile.defs: version set to 5.4.0-rc0
Daniel-Constantin Mierla [Fri, 10 Jul 2020 07:31:25 +0000 (09:31 +0200)]
Makefile.defs: version set to 5.4.0-rc0

- branch 5.4 created to hold the code for release series 5.4.x

15 months agoMakefile.defs: version set to 5.4.0-pre2
Daniel-Constantin Mierla [Fri, 10 Jul 2020 07:24:58 +0000 (09:24 +0200)]
Makefile.defs: version set to 5.4.0-pre2

15 months agoims_charging: fix for app_provided_party functionality, also support interim/stop...
Henning Westerholt [Thu, 9 Jul 2020 19:24:49 +0000 (19:24 +0000)]
ims_charging: fix for app_provided_party functionality, also support interim/stop reqs

15 months agomodules: readme files regenerated - dlgs ... [skip ci]
Kamailio Dev [Thu, 9 Jul 2020 13:31:14 +0000 (15:31 +0200)]
modules: readme files regenerated - dlgs ... [skip ci]

15 months agoetc: kamailio.cfg - use enable_sctp instead of disable_sctp
Daniel-Constantin Mierla [Thu, 9 Jul 2020 13:25:39 +0000 (15:25 +0200)]
etc: kamailio.cfg - use enable_sctp instead of disable_sctp

- be coherent with tls variant

15 months agodlgs: adjusted the route blocks allowed for exported functions
Daniel-Constantin Mierla [Thu, 9 Jul 2020 13:23:18 +0000 (15:23 +0200)]
dlgs: adjusted the route blocks allowed for exported functions

15 months agodlgs: docs for params, functions and rpc commands
Daniel-Constantin Mierla [Thu, 9 Jul 2020 13:22:32 +0000 (15:22 +0200)]
dlgs: docs for params, functions and rpc commands

15 months agoetc: kamailio.cfg - several updates
Daniel-Constantin Mierla [Thu, 9 Jul 2020 12:09:32 +0000 (14:09 +0200)]
etc: kamailio.cfg - several updates

- use force_rport() at the beginning of processing requests, note added
in the top comments to inform that config performs symmetric signaling
- load textopsx module and added define option to apply changes before
presence handling, so changes to headers or body are visible to presence
functions
- modparams to enable use of Path for registrar module
- modparam timer_procs for usrloc module
- a bit of refactoring for debug mode, level being set by a defined
token and log_stderror is set always to no, so even with higher debug
level logs are sent to syslog (added comment how to enable it via
setting value to 'yes' or using -E cli option)
- updated notes for debug mode and listen param
- GH #2381

15 months agodlgs: matching op with regex and fnmatch
Daniel-Constantin Mierla [Thu, 9 Jul 2020 09:35:43 +0000 (11:35 +0200)]
dlgs: matching op with regex and fnmatch

15 months agodlgs: rpc commands to get records by filter
Daniel-Constantin Mierla [Thu, 9 Jul 2020 08:50:29 +0000 (10:50 +0200)]
dlgs: rpc commands to get records by filter

15 months agodlgs: rpc dlgs.briefing command
Daniel-Constantin Mierla [Thu, 9 Jul 2020 08:03:01 +0000 (10:03 +0200)]
dlgs: rpc dlgs.briefing command

15 months agomodules: readme files regenerated - lost ... [skip ci]
Kamailio Dev [Wed, 8 Jul 2020 20:46:11 +0000 (22:46 +0200)]
modules: readme files regenerated - lost ... [skip ci]

15 months agolost: doc edits
Wolfgang Kampichler [Wed, 8 Jul 2020 20:30:09 +0000 (22:30 +0200)]
lost: doc edits

- fixed typos
- added test information

15 months agomodules: readme files regenerated - nathelper ... [skip ci]
Kamailio Dev [Wed, 8 Jul 2020 16:01:26 +0000 (18:01 +0200)]
modules: readme files regenerated - nathelper ... [skip ci]

15 months agoMerge pull request #2393 from tao-communications/master
Daniel-Constantin Mierla [Wed, 8 Jul 2020 15:58:35 +0000 (17:58 +0200)]
Merge pull request #2393 from tao-communications/master

rtpengine: added kemi support for block/unblock media/dtmf, and play/…

15 months agoMerge pull request #2390 from kamailio/nathelper-set_contact_alias-trim
Daniel-Constantin Mierla [Wed, 8 Jul 2020 15:57:58 +0000 (17:57 +0200)]
Merge pull request #2390 from kamailio/nathelper-set_contact_alias-trim

nathelper: add optional set_contact_alias([trim]) parameter

15 months agocore: tcp - debug message when removing connection from list
Daniel-Constantin Mierla [Wed, 8 Jul 2020 12:44:34 +0000 (14:44 +0200)]
core: tcp - debug message when removing connection from list

15 months agokamailio.cfg: set disable_sctp to yes
Daniel-Constantin Mierla [Wed, 8 Jul 2020 12:28:04 +0000 (14:28 +0200)]
kamailio.cfg: set disable_sctp to yes

- in auto mode a log message is printed about not having sctp module
loaded, which is not done in the default config

15 months agodlgs: tags operations and counting functions
Daniel-Constantin Mierla [Wed, 8 Jul 2020 07:27:34 +0000 (09:27 +0200)]
dlgs: tags operations and counting functions

15 months agokamctl: skip tracing kamctl itself in pstrap
Daniel-Constantin Mierla [Tue, 7 Jul 2020 17:28:29 +0000 (19:28 +0200)]
kamctl: skip tracing kamctl itself in pstrap

15 months agokamctl: print process details in pstrap output
Daniel-Constantin Mierla [Tue, 7 Jul 2020 17:18:52 +0000 (19:18 +0200)]
kamctl: print process details in pstrap output

15 months agokamctl: added pstrap command
Daniel-Constantin Mierla [Tue, 7 Jul 2020 16:57:27 +0000 (18:57 +0200)]
kamctl: added pstrap command

- use ps to get list of PIDs for Kamailio instance, instead of RPC
core.psx

15 months agocore: io wait - unhash in case delete operation fails because of EBADF
Daniel-Constantin Mierla [Tue, 7 Jul 2020 15:37:00 +0000 (17:37 +0200)]
core: io wait - unhash in case delete operation fails because of EBADF

- EBADF: epfd or fd is not a valid file descriptor

15 months agoRevert "core: io wait - unhash in case delete operation fails because of EBADF"
Daniel-Constantin Mierla [Tue, 7 Jul 2020 15:36:22 +0000 (17:36 +0200)]
Revert "core: io wait - unhash in case delete operation fails because of EBADF"

This reverts commit 60119faef5282b135ef7c972d15e1017ca26815a.

15 months agocore: io wait - unhash in case delete operation fails because of EBADF
Daniel-Constantin Mierla [Tue, 7 Jul 2020 15:25:00 +0000 (17:25 +0200)]
core: io wait - unhash in case delete operation fails because of EBADF

- EBADF: epfd or fd is not a valid file descriptor

15 months agortpengine: added kemi support for block/unblock media/dtmf, and play/stop media functions 2393/head
Yufei Tao [Fri, 3 Jul 2020 17:01:30 +0000 (18:01 +0100)]
rtpengine: added kemi support for block/unblock media/dtmf, and play/stop media functions

15 months agodlgs: filled tags add and count functions
Daniel-Constantin Mierla [Tue, 7 Jul 2020 07:26:22 +0000 (09:26 +0200)]
dlgs: filled tags add and count functions

15 months agocarrierroute: do not test return for strcpy() and strcat()
Daniel-Constantin Mierla [Mon, 6 Jul 2020 07:03:32 +0000 (09:03 +0200)]
carrierroute: do not test return for strcpy() and strcat()

- they return the dst or src parameter, resulting in code analyzer
reporting