Victor Seva [Fri, 4 Sep 2020 09:19:33 +0000 (11:19 +0200)]
pv_headers: fix $x_hdr index on get
* previously we where not supporting pseudo-variables as index
(cherry picked from commit
492c99e8065baa510f55154593122e33d3a61d73)
Daniel-Constantin Mierla [Fri, 4 Sep 2020 08:22:52 +0000 (10:22 +0200)]
pv: handle s.prefixes for empty values
- avoid crash due to invalid length of result, GH #2467
(cherry picked from commit
e74b06c32bc2b090937350858f655af4ab89ff63)
Victor Seva [Wed, 2 Sep 2020 11:12:25 +0000 (13:12 +0200)]
Revert "tls: support compilation without deprecated OpenSSL APIs"
This reverts commit
10af8efa9061c2f52ee1db51c4cf665073c20dcc.
Victor Seva [Wed, 2 Sep 2020 11:12:06 +0000 (13:12 +0200)]
Revert "tls: added define condition on version functions"
This reverts commit
67979e07b63b574687b1924c38fabd724d0ad876.
Victor Seva [Wed, 2 Sep 2020 11:11:51 +0000 (13:11 +0200)]
Revert "tls: proper ifdef on libssl version for tls_init_locks()"
This reverts commit
e9baba91c6c7e3d1817e8a07bbabbce3a8efbe79.
Daniel-Constantin Mierla [Wed, 2 Sep 2020 11:11:40 +0000 (13:11 +0200)]
kamctl: regenerated dbtext version table records
- GH #2463
(cherry picked from commit
65f5d0ed0fb88f5312ac53f2faaa66a2098ce0d8)
Daniel-Constantin Mierla [Wed, 2 Sep 2020 11:11:18 +0000 (13:11 +0200)]
doc/stylesheets: set 0 for id column in dbtext version table records
(cherry picked from commit
fcd3f257c12d2e17fa92007f9d149e4ee27ec994)
Daniel-Constantin Mierla [Tue, 1 Sep 2020 07:57:57 +0000 (09:57 +0200)]
ChangeLog: content updated for v5.4.1
Daniel-Constantin Mierla [Tue, 1 Sep 2020 07:37:28 +0000 (09:37 +0200)]
Makefile.defs: version set to 5.4.1
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
Victor Seva [Tue, 1 Sep 2020 07:12:28 +0000 (09:12 +0200)]
pkg/kamailio/deb: version set 5.4.1
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)
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)
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)
Kamailio Dev [Wed, 26 Aug 2020 21:16:45 +0000 (23:16 +0200)]
modules: readme files regenerated - modules ... [skip ci]
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)
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)
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)
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)
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)
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)
Dmitry [Sun, 16 Aug 2020 20:21:37 +0000 (23:21 +0300)]
Makefile.defs: Fixed libs option for FreeBSD
(cherry picked from commit
f490c4e0f5888963a01fa99fe94a464d44223199)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
Kamailio Dev [Fri, 14 Aug 2020 10:46:59 +0000 (12:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]
Bastian Triller [Thu, 13 Aug 2020 07:26:57 +0000 (09:26 +0200)]
pipelimit: docs - fixed typo
(cherry picked from commit
c87f3c1d07a5a3c51728d404200d60b10ed6159f)
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)
Victor Seva [Tue, 4 Aug 2020 13:01:17 +0000 (15:01 +0200)]
pkg/kamailio/deb: add focal support #2338
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)
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)
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)
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)
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)
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)
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)
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
Daniel-Constantin Mierla [Wed, 29 Jul 2020 10:19:17 +0000 (12:19 +0200)]
ChangeLog: content updated for v5.4.0
Kamailio Dev [Wed, 29 Jul 2020 10:16:33 +0000 (12:16 +0200)]
modules: readme files regenerated - modules ... [skip ci]
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)
Victor Seva [Wed, 29 Jul 2020 07:12:30 +0000 (09:12 +0200)]
pkg/kamailio/deb: version 5.4.0
Daniel-Constantin Mierla [Wed, 29 Jul 2020 07:08:40 +0000 (09:08 +0200)]
ChangeLog: prepared content for v5.4.0
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
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
Kamailio Dev [Tue, 28 Jul 2020 06:46:33 +0000 (08:46 +0200)]
modules: readme files regenerated - modules ... [skip ci]
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)
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)
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)
Luis Martin Gil [Thu, 23 Jul 2020 08:04:04 +0000 (10:04 +0200)]
tm - remove not used route_mode var
Daniel-Constantin Mierla [Tue, 21 Jul 2020 20:34:09 +0000 (22:34 +0200)]
README: updated version
Kamailio Dev [Fri, 17 Jul 2020 13:16:25 +0000 (15:16 +0200)]
modules: readme files regenerated - modules ... [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)
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)
Victor Seva [Fri, 17 Jul 2020 08:41:11 +0000 (10:41 +0200)]
pkg/kamailio/deb: version set 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
Kamailio Dev [Thu, 16 Jul 2020 15:32:08 +0000 (17:32 +0200)]
modules: readme files regenerated - modules ... [skip ci]
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)
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)
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)
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)
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)
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)
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)
Richard Fuchs [Tue, 14 Jul 2020 18:13:00 +0000 (14:13 -0400)]
db_redis: fix unfiltered table deletion
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)
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
Victor Seva [Fri, 10 Jul 2020 11:32:03 +0000 (13:32 +0200)]
pkg/kamailio/deb: version set 5.4.0~rc0 [skip ci]
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
Daniel-Constantin Mierla [Fri, 10 Jul 2020 07:24:58 +0000 (09:24 +0200)]
Makefile.defs: version set to 5.4.0-pre2
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
Kamailio Dev [Thu, 9 Jul 2020 13:31:14 +0000 (15:31 +0200)]
modules: readme files regenerated - dlgs ... [skip ci]
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
Daniel-Constantin Mierla [Thu, 9 Jul 2020 13:23:18 +0000 (15:23 +0200)]
dlgs: adjusted the route blocks allowed for exported functions
Daniel-Constantin Mierla [Thu, 9 Jul 2020 13:22:32 +0000 (15:22 +0200)]
dlgs: docs for params, functions and rpc commands
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
Daniel-Constantin Mierla [Thu, 9 Jul 2020 09:35:43 +0000 (11:35 +0200)]
dlgs: matching op with regex and fnmatch
Daniel-Constantin Mierla [Thu, 9 Jul 2020 08:50:29 +0000 (10:50 +0200)]
dlgs: rpc commands to get records by filter
Daniel-Constantin Mierla [Thu, 9 Jul 2020 08:03:01 +0000 (10:03 +0200)]
dlgs: rpc dlgs.briefing command
Kamailio Dev [Wed, 8 Jul 2020 20:46:11 +0000 (22:46 +0200)]
modules: readme files regenerated - lost ... [skip ci]
Wolfgang Kampichler [Wed, 8 Jul 2020 20:30:09 +0000 (22:30 +0200)]
lost: doc edits
- fixed typos
- added test information
Kamailio Dev [Wed, 8 Jul 2020 16:01:26 +0000 (18:01 +0200)]
modules: readme files regenerated - nathelper ... [skip ci]
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/…
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
Daniel-Constantin Mierla [Wed, 8 Jul 2020 12:44:34 +0000 (14:44 +0200)]
core: tcp - debug message when removing connection from list
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
Daniel-Constantin Mierla [Wed, 8 Jul 2020 07:27:34 +0000 (09:27 +0200)]
dlgs: tags operations and counting functions
Daniel-Constantin Mierla [Tue, 7 Jul 2020 17:28:29 +0000 (19:28 +0200)]
kamctl: skip tracing kamctl itself in pstrap
Daniel-Constantin Mierla [Tue, 7 Jul 2020 17:18:52 +0000 (19:18 +0200)]
kamctl: print process details in pstrap output