Daniel-Constantin Mierla [Fri, 24 Apr 2020 19:14:24 +0000 (21:14 +0200)]
dmq: test of if reply code and reason are set to send the response
Daniel-Constantin Mierla [Fri, 24 Apr 2020 19:09:26 +0000 (21:09 +0200)]
dmq: set 202 response for empty_peer_callback() handling
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
Daniel-Constantin Mierla [Thu, 23 Apr 2020 08:21:22 +0000 (10:21 +0200)]
ims_usrloc_pcscf: fix value array size and compile 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
Daniel-Constantin Mierla [Wed, 22 Apr 2020 19:01:38 +0000 (21:01 +0200)]
presence: implemented more functions to work with in-memory presentity records
Henning Westerholt [Wed, 22 Apr 2020 16:14:54 +0000 (16:14 +0000)]
auth: log correct variable name in nonce-count error message
Daniel-Constantin Mierla [Wed, 22 Apr 2020 14:57:24 +0000 (16:57 +0200)]
presence: function to search presentity items for in memory subscriptions
Kamailio Dev [Wed, 22 Apr 2020 13:01:12 +0000 (15:01 +0200)]
modules: readme files regenerated - nathelper ... [skip ci]
Henning Westerholt [Wed, 22 Apr 2020 12:52:12 +0000 (12:52 +0000)]
nathelper: update flag documenation
Federico Cabiddu [Wed, 22 Apr 2020 12:05:26 +0000 (14:05 +0200)]
Merge pull request #2295 from kamailio/grumvalski/siptrace_memleak_fix
siptrace: siptrace: fix memory leak in fake replies tracing
Federico Cabiddu [Wed, 22 Apr 2020 09:40:58 +0000 (11:40 +0200)]
siptrace: free parsed from in case of errors
Federico Cabiddu [Wed, 22 Apr 2020 07:34:20 +0000 (09:34 +0200)]
siptrace: siptrace: fix memory leak in fake replies tracing
Daniel-Constantin Mierla [Wed, 22 Apr 2020 06:42:48 +0000 (08:42 +0200)]
presence: safety checks in timer callbacks to cope with storage modes
Daniel-Constantin Mierla [Wed, 22 Apr 2020 06:11:36 +0000 (08:11 +0200)]
presence: use separate structure to match presentity to replace or update
Daniel-Constantin Mierla [Tue, 21 Apr 2020 20:42:12 +0000 (22:42 +0200)]
presence: init pres and subs hash tables for non db-only mode and memory index
Daniel-Constantin Mierla [Tue, 21 Apr 2020 17:45:01 +0000 (19:45 +0200)]
presence: delete expired in-memory presentity records
Daniel-Constantin Mierla [Tue, 21 Apr 2020 15:31:44 +0000 (17:31 +0200)]
presence: user core macro for hash slot index
Daniel-Constantin Mierla [Tue, 21 Apr 2020 15:30:37 +0000 (17:30 +0200)]
core: hashes - small helper macro to compute hash slot index
Daniel-Constantin Mierla [Tue, 21 Apr 2020 13:25:25 +0000 (15:25 +0200)]
presence: rpc presence.presentity_list is returning an array
Daniel-Constantin Mierla [Tue, 21 Apr 2020 13:08:39 +0000 (15:08 +0200)]
presence: use unsigned int for presentity hash id
Victor Seva [Tue, 21 Apr 2020 11:03:16 +0000 (13:03 +0200)]
pv: fixes for KEMI pvx.xavp_getd
Daniel-Constantin Mierla [Tue, 21 Apr 2020 10:55:17 +0000 (12:55 +0200)]
presence: compute presentity table slot index using correct structure
ng-voice GmbH [Tue, 21 Apr 2020 09:52:27 +0000 (11:52 +0200)]
Merge pull request #2246 from alexyosifov/ims_registrar_scscf_notify_fix
ims_registrar_scscf: fix multiple contacts in NOTIFY
Aleksandar Yosifov [Wed, 11 Mar 2020 15:56:09 +0000 (17:56 +0200)]
ims_registrar_scscf: fix multiple contacts in NOTIFY
- Prevent multiple contacts for NOTIFY message in
Message body <registration> tag after
RE-REGISTRATION procedure.
Kamailio Dev [Tue, 21 Apr 2020 08:16:25 +0000 (10:16 +0200)]
modules: readme files regenerated - presence ... [skip ci]
Daniel-Constantin Mierla [Tue, 21 Apr 2020 08:04:49 +0000 (10:04 +0200)]
presence: docs for rpc command presence.presentity_list
Daniel-Constantin Mierla [Tue, 21 Apr 2020 07:57:30 +0000 (09:57 +0200)]
presence: implemented rpc command to list presententy records in memory
- presence.presentity_list [mode] - mode is optional and can be 'full'
to print all attributes of the presentity record
Daniel-Constantin Mierla [Tue, 21 Apr 2020 07:15:48 +0000 (09:15 +0200)]
presence: increased the array size for rpc cleanup doc
- reformatted the static structure for coherence
Daniel-Constantin Mierla [Mon, 20 Apr 2020 15:59:26 +0000 (17:59 +0200)]
presence: correct value for PS_PCACHE_RECORD
Kamailio Dev [Mon, 20 Apr 2020 15:31:14 +0000 (17:31 +0200)]
modules: readme files regenerated - presence ... [skip ci]
Daniel-Constantin Mierla [Mon, 20 Apr 2020 13:50:52 +0000 (15:50 +0200)]
presence: do not init db connection when everything is stored in memory
Daniel-Constantin Mierla [Mon, 20 Apr 2020 13:35:24 +0000 (15:35 +0200)]
presence: updated docs for publ_cache parameter
Daniel-Constantin Mierla [Mon, 20 Apr 2020 13:26:39 +0000 (15:26 +0200)]
presence: handle publish with full records stored in cache
Armen Babikyan [Mon, 20 Apr 2020 07:51:26 +0000 (00:51 -0700)]
tls: add sel for tls verified cert chain (requires OpenSSL 1.1+) (#2289)
* tls: add sel for tls verified cert chain (requires OpenSSL 1.1+)
* remove extra tcpconn_put() call
Co-authored-by: Armen Babikyan <armen@firespotter.com>
Daniel-Constantin Mierla [Sun, 19 Apr 2020 17:01:22 +0000 (19:01 +0200)]
presence: init and destroy full presentity caching table
Daniel-Constantin Mierla [Sun, 19 Apr 2020 07:02:09 +0000 (09:02 +0200)]
presence: define modes for publ_cache parameter
Daniel-Constantin Mierla [Sat, 18 Apr 2020 12:38:08 +0000 (14:38 +0200)]
presence: in-memory presentity update function
- more functions exposed in the header file
Armen Babikyan [Sat, 18 Apr 2020 21:18:40 +0000 (14:18 -0700)]
tls: fix raw vs urlencoded behavior in sel_ssl_cert()
Daniel-Constantin Mierla [Fri, 17 Apr 2020 17:04:16 +0000 (19:04 +0200)]
http_async_client: do not set global avp lists from t on async callback
- they are done by fake_env() used inside t_continue()
- they were set without reset, living in the process context, resulting
in invalid access when async callback was executed with faked_msg
- related to #2286
Daniel-Constantin Mierla [Fri, 17 Apr 2020 16:44:06 +0000 (18:44 +0200)]
presence: functions to keep presentity records in memory
- work in progress to have in-memory only records, without database
storage
Daniel-Constantin Mierla [Fri, 17 Apr 2020 10:57:26 +0000 (12:57 +0200)]
tls: renamed tls hooks callbacks to highlight their purpose
Kamailio Dev [Thu, 16 Apr 2020 15:01:20 +0000 (17:01 +0200)]
modules: readme files regenerated - corex ... [skip ci]
Daniel-Constantin Mierla [Thu, 16 Apr 2020 14:52:30 +0000 (16:52 +0200)]
corex: docs for is_faked_msg() function
Daniel-Constantin Mierla [Thu, 16 Apr 2020 14:44:17 +0000 (16:44 +0200)]
corex: new function is_faked_msg()
- return 1 (native cfg true) if the message under processing is faked (a
static sip message structure used internally by kamailio)
- return -1 (native cfg false) if it is a received sip message
- useful for checking in event routes or async route blocks when can be
both types of messages
Daniel-Constantin Mierla [Thu, 16 Apr 2020 14:32:54 +0000 (16:32 +0200)]
pv: format new xavp functions declaration lines to be matched by kemi docs tool
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
Kamailio Dev [Thu, 16 Apr 2020 10:01:17 +0000 (12:01 +0200)]
modules: readme files regenerated - nathelper ... [skip ci]
Daniel-Constantin Mierla [Thu, 16 Apr 2020 09:58:23 +0000 (11:58 +0200)]
nathelper: docs - fix ending tags issues introduced with previous commit
Kamailio Dev [Thu, 16 Apr 2020 08:01:22 +0000 (10:01 +0200)]
modules: readme files regenerated - nathelper ... [skip ci]
Daniel-Constantin Mierla [Thu, 16 Apr 2020 07:54:48 +0000 (09:54 +0200)]
nathelper: docs for nat_addr_mode parameter
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
Daniel-Constantin Mierla [Thu, 16 Apr 2020 07:25:05 +0000 (09:25 +0200)]
nathelper: moved cfg file to examples folder
Kamailio Dev [Wed, 15 Apr 2020 14:16:13 +0000 (16:16 +0200)]
modules: readme files regenerated - tm ... [skip ci]
Daniel-Constantin Mierla [Wed, 15 Apr 2020 13:59:52 +0000 (15:59 +0200)]
tm: docs for exec_time_check parameter
Daniel-Constantin Mierla [Wed, 15 Apr 2020 13:52:17 +0000 (15:52 +0200)]
tm: new parameter exec_time_check for safety checks on lenghtly callbacks
- try to detect when failure callbacks execution take too long and do
safety check of the transaction
- default value is 5000 (milliseconds)
- set to 0 to disable this check
Daniel-Constantin Mierla [Wed, 15 Apr 2020 12:20:48 +0000 (14:20 +0200)]
core: receive - removed unnecessary time zone parameter for time difference
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
Victor Seva [Wed, 15 Apr 2020 10:02:27 +0000 (12:02 +0200)]
app_python: fix SR_KEMIP_DICT case in return_xval
introduced at
82279ebd3a634911277e48523a56f93473baca2c
Daniel-Constantin Mierla [Wed, 15 Apr 2020 09:53:17 +0000 (11:53 +0200)]
app_ruby: for now return NULL for array and map kemi results
- free result structure
Daniel-Constantin Mierla [Wed, 15 Apr 2020 09:50:58 +0000 (11:50 +0200)]
app_sqlang: for now return NULL for array and map kemi results
- free result structure
Daniel-Constantin Mierla [Wed, 15 Apr 2020 09:48:29 +0000 (11:48 +0200)]
app_jsdt: for now return NULL for array and map kemi results
- free result structure
Daniel-Constantin Mierla [Wed, 15 Apr 2020 09:45:50 +0000 (11:45 +0200)]
app_python3: for now return none for array and map kemi results
- free result structure
Daniel-Constantin Mierla [Wed, 15 Apr 2020 09:44:44 +0000 (11:44 +0200)]
app_python: for now return none for array and map kemi results
- free result structure
Victor Seva [Mon, 13 Apr 2020 15:10:51 +0000 (17:10 +0200)]
pv: add KEMI functions pvx.xavp_get_keys and pvx.xavp_getd
Victor Seva [Mon, 13 Apr 2020 15:10:01 +0000 (17:10 +0200)]
app_lua: add support for ARRAY and DICT types
Victor Seva [Mon, 13 Apr 2020 15:08:50 +0000 (17:08 +0200)]
core: KEMI suport for ARRAY and DICT
Daniel-Constantin Mierla [Wed, 15 Apr 2020 07:19:56 +0000 (09:19 +0200)]
presence_xml: use common prefix for global variables
Daniel-Constantin Mierla [Tue, 14 Apr 2020 16:27:25 +0000 (18:27 +0200)]
presence_xml: use presence api via structure instead of declaring local function variables
- simpler overall and clearer when function is local in module or imported via
api, given that same prefix was used
Richard Fuchs [Tue, 14 Apr 2020 17:15:21 +0000 (13:15 -0400)]
rtpengine: add `flags` field for every command
Kamailio Dev [Tue, 14 Apr 2020 13:31:11 +0000 (15:31 +0200)]
modules: readme files regenerated - presence ... [skip ci]
Daniel-Constantin Mierla [Tue, 14 Apr 2020 13:25:14 +0000 (15:25 +0200)]
presence: docs for timer_mode parameter
Daniel-Constantin Mierla [Tue, 14 Apr 2020 13:20:24 +0000 (15:20 +0200)]
presence: timer_mode - new parameter to control what timer process to use
- if set to 0, use the core main timer
- if set to 1, use the core secondary timer
- default 1 (timer tasks are for cleanup)
Daniel-Constantin Mierla [Tue, 14 Apr 2020 10:14:55 +0000 (12:14 +0200)]
presence_xml: pass pres uri as pointer for pres_update_watchers()
Daniel-Constantin Mierla [Tue, 14 Apr 2020 10:12:08 +0000 (12:12 +0200)]
presence: pass str parameters via pointer to couple of functions
Kamailio Dev [Tue, 14 Apr 2020 09:31:26 +0000 (11:31 +0200)]
modules: readme files regenerated - presence ... [skip ci]
Daniel-Constantin Mierla [Tue, 14 Apr 2020 09:23:59 +0000 (11:23 +0200)]
presence: docs - removed to_tag_pref parameter
Daniel-Constantin Mierla [Tue, 14 Apr 2020 09:22:59 +0000 (11:22 +0200)]
presence: removed unused module parameter to_tag_pref
- no longer used to set prefix for to-tag value
Daniel-Constantin Mierla [Tue, 14 Apr 2020 09:10:55 +0000 (11:10 +0200)]
presence: renamed global vars to add common module prefix
- better protection against name conflicts, as this module is used by
other modules and can run in library mode
Daniel-Constantin Mierla [Tue, 14 Apr 2020 07:19:44 +0000 (09:19 +0200)]
presence: removed unused global var log_buf
Kamailio Dev [Mon, 13 Apr 2020 18:01:08 +0000 (20:01 +0200)]
modules: readme files regenerated - tls ... [skip ci]
Daniel-Constantin Mierla [Mon, 13 Apr 2020 17:49:46 +0000 (19:49 +0200)]
Merge pull request #2283 from fredposner/master
tls: 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"
Kamailio Dev [Mon, 13 Apr 2020 15:46:11 +0000 (17:46 +0200)]
modules: readme files regenerated - secsipid ... [skip ci]
Daniel-Constantin Mierla [Mon, 13 Apr 2020 15:33:10 +0000 (17:33 +0200)]
secsipid: docs - removed extra parentheses in example
Kamailio Dev [Mon, 13 Apr 2020 15:31:14 +0000 (17:31 +0200)]
modules: readme files regenerated - secsipid ... [skip ci]
Daniel-Constantin Mierla [Mon, 13 Apr 2020 15:29:33 +0000 (17:29 +0200)]
secsipid: reformatted long lines in examples to fit properly in README
Daniel-Constantin Mierla [Mon, 13 Apr 2020 15:26:52 +0000 (17:26 +0200)]
secsipid: added missing module file
Sergey Safarov [Sun, 12 Apr 2020 16:03:52 +0000 (19:03 +0300)]
pkg/kamailio: fixed python3 deps for RHEL 6
Daniel-Constantin Mierla [Mon, 13 Apr 2020 10:14:52 +0000 (12:14 +0200)]
misc/examples/kemi: make reply code integer everywhere
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
Daniel-Constantin Mierla [Sun, 12 Apr 2020 09:56:40 +0000 (11:56 +0200)]
Merge pull request #2282 from micmac1/py3-detect
app_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>
Kamailio Dev [Sat, 11 Apr 2020 16:46:09 +0000 (18:46 +0200)]
modules: readme files regenerated - app_sqlang ... [skip ci]
Daniel-Constantin Mierla [Sat, 11 Apr 2020 16:35:22 +0000 (18:35 +0200)]
app_sqlang: docs - fix for rpc command name
Kamailio Dev [Sat, 11 Apr 2020 16:31:19 +0000 (18:31 +0200)]
modules: readme files regenerated - msilo ... [skip ci]
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
Kamailio Dev [Fri, 10 Apr 2020 09:16:15 +0000 (11:16 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]
Daniel-Constantin Mierla [Fri, 10 Apr 2020 09:02:55 +0000 (11:02 +0200)]
siptrace: helper function to link sip msg attributes
Daniel-Constantin Mierla [Fri, 10 Apr 2020 08:18:16 +0000 (10:18 +0200)]
siptrace: docs for trace_db_mode parameter