sip-router
18 months agorr: different function parameter name to be different than global variable
Daniel-Constantin Mierla [Tue, 5 May 2020 06:05:07 +0000 (08:05 +0200)]
rr: different function parameter name to be different than global variable

18 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

19 months agortpmanage: enable hadling of PRACK requests
Daniel-Constantin Mierla [Mon, 4 May 2020 18:05:26 +0000 (20:05 +0200)]
rtpmanage: enable hadling of PRACK requests

- they can have SDP
- use more compact bitwise match for method types

19 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

19 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

19 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

19 months agolibs/srdb1: use thread safe localtime_r()
Daniel-Constantin Mierla [Mon, 4 May 2020 16:26:47 +0000 (18:26 +0200)]
libs/srdb1: use thread safe localtime_r()

19 months agoutils/kamctl: dbtextdb.py close previous opened file properly
Victor Seva [Mon, 4 May 2020 13:22:36 +0000 (15:22 +0200)]
utils/kamctl: dbtextdb.py close previous opened file properly

related #1747

19 months agoutils/kamctl: dbtextdb remove DeprecationWarning on test
Victor Seva [Mon, 4 May 2020 13:05:23 +0000 (15:05 +0200)]
utils/kamctl: dbtextdb remove DeprecationWarning on test

related #1747

19 months agoutils/kamctl: fix dbtestdb
Victor Seva [Mon, 4 May 2020 12:01:33 +0000 (14:01 +0200)]
utils/kamctl: fix dbtestdb

some indentantion errors introduced at https://github.com/kamailio/kamailio/commit/bc8bdcaa726f375f6deea8228a1ab0cf97c67035

related #1747

19 months agoutils/kamctl: fix handling of Exceptions
Victor Seva [Mon, 4 May 2020 09:33:12 +0000 (11:33 +0200)]
utils/kamctl: fix handling of Exceptions

> Traceback (most recent call last):
>   File "/usr/lib/x86_64-linux-gnu/kamailio/kamctl/dbtextdb/dbtextdb.py", line 1239, in <module>
>     main(sys.argv)
>   File "/usr/lib/x86_64-linux-gnu/kamailio/kamctl/dbtextdb/dbtextdb.py", line 1233, in main
>     except (Error, e):
> NameError: name 'e' is not defined

19 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

19 months agocore: added LGTM analysis config file
Daniel-Constantin Mierla [Sun, 3 May 2020 09:37:44 +0000 (11:37 +0200)]
core: added LGTM analysis config file

- LGTM is integrated by github

19 months agocore: utils/tmrec - use safer localtime_r() instead of localtime()
Daniel-Constantin Mierla [Sun, 3 May 2020 09:05:45 +0000 (11:05 +0200)]
core: utils/tmrec - use safer localtime_r() instead of localtime()

- coherent whitespacing and indentation

19 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

19 months agosqlops: functions to get null result value as empty or zero
Daniel-Constantin Mierla [Sun, 3 May 2020 07:44:01 +0000 (09:44 +0200)]
sqlops: functions to get null result value as empty or zero

19 months agocore: kemi - option to return 0 instead of null for xval
Daniel-Constantin Mierla [Sun, 3 May 2020 07:41:29 +0000 (09:41 +0200)]
core: kemi - option to return 0 instead of null for xval

19 months agoMerge pull request #2304 from kamailio/grumvalski/usrloc_stats
Federico Cabiddu [Sat, 2 May 2020 14:22:06 +0000 (16:22 +0200)]
Merge pull request #2304 from kamailio/grumvalski/usrloc_stats

usrloc: change "-" for "_" in stats name to be prometheus compliant

19 months agosiptrace: skip non-sip traffic for db storage using core callbacks
Daniel-Constantin Mierla [Sat, 2 May 2020 13:02:55 +0000 (15:02 +0200)]
siptrace: skip non-sip traffic for db storage using core callbacks

19 months agousrloc: fixed missing symbol for ul_cseq_delay
Daniel-Constantin Mierla [Sat, 2 May 2020 12:29:53 +0000 (14:29 +0200)]
usrloc: fixed missing symbol for ul_cseq_delay

19 months agocore: remove stats_name_separator from cfg_group_core 2304/head
Federico Cabiddu [Sat, 2 May 2020 08:14:23 +0000 (10:14 +0200)]
core: remove stats_name_separator from cfg_group_core

19 months agocore: more debug messages when matching myself
Daniel-Constantin Mierla [Sat, 2 May 2020 06:46:28 +0000 (08:46 +0200)]
core: more debug messages when matching myself

- coherent coding style for related functions

19 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

19 months agomodules: readme files regenerated - htable ... [skip ci]
Kamailio Dev [Fri, 1 May 2020 15:31:09 +0000 (17:31 +0200)]
modules: readme files regenerated - htable ... [skip ci]

19 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

19 months agousrloc: use ul prefix for global param variables
Daniel-Constantin Mierla [Fri, 1 May 2020 12:47:55 +0000 (14:47 +0200)]
usrloc: use ul prefix for global param variables

19 months agopermissions: use perm prefix for global param variables
Daniel-Constantin Mierla [Fri, 1 May 2020 11:50:54 +0000 (13:50 +0200)]
permissions: use perm prefix for global param variables

19 months agocore: new core parameter stats_name_separator
Federico Cabiddu [Fri, 1 May 2020 11:02:39 +0000 (13:02 +0200)]
core: new core parameter stats_name_separator

19 months agomodules: readme files regenerated - permissions ... [skip ci]
Kamailio Dev [Fri, 1 May 2020 07:16:16 +0000 (09:16 +0200)]
modules: readme files regenerated - permissions ... [skip ci]

19 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

19 months agotextopsx: use safer macros for temporarily making zero-ending strings
Daniel-Constantin Mierla [Fri, 1 May 2020 06:53:56 +0000 (08:53 +0200)]
textopsx: use safer macros for temporarily making zero-ending strings

19 months agotextops: use safer macros for temporarily making zero-ending strings
Daniel-Constantin Mierla [Thu, 30 Apr 2020 13:52:04 +0000 (15:52 +0200)]
textops: use safer macros for temporarily making zero-ending strings

19 months agomodules: readme files regenerated - permissions ... [skip ci]
Kamailio Dev [Wed, 29 Apr 2020 20:16:20 +0000 (22:16 +0200)]
modules: readme files regenerated - permissions ... [skip ci]

19 months agopermissions: docs for address_file param and address file format
Daniel-Constantin Mierla [Wed, 29 Apr 2020 20:09:41 +0000 (22:09 +0200)]
permissions: docs for address_file param and address file format

19 months agopermissions: support to load address records from a text file
Daniel-Constantin Mierla [Wed, 29 Apr 2020 19:38:59 +0000 (21:38 +0200)]
permissions: support to load address records from a text file

- new parameter 'address_file' to provide the file name (or full path)
to the file where address records are stored
- note: no support for using a file instead of trusted table

19 months agodispatcher: use safer macros for temporarily making zero-ending strings
Daniel-Constantin Mierla [Wed, 29 Apr 2020 07:43:53 +0000 (09:43 +0200)]
dispatcher: use safer macros for temporarily making zero-ending strings

19 months agondb_redis: use safer macros for temporarily making zero-ending strings
Daniel-Constantin Mierla [Tue, 28 Apr 2020 16:27:57 +0000 (18:27 +0200)]
ndb_redis: use safer macros for temporarily making zero-ending strings

19 months agoims_usrloc_pcscf, p_usrloc, usrloc: use KSR_STATS_NAMESEP for stats names
Federico Cabiddu [Tue, 28 Apr 2020 14:24:24 +0000 (16:24 +0200)]
ims_usrloc_pcscf, p_usrloc, usrloc: use KSR_STATS_NAMESEP for stats names

19 months agocore: define KSR_STATS_NAMESEP for stats name separator
Federico Cabiddu [Tue, 28 Apr 2020 14:22:40 +0000 (16:22 +0200)]
core: define KSR_STATS_NAMESEP for stats name separator

19 months agomodules: readme files regenerated - keepalive ... [skip ci]
Kamailio Dev [Tue, 28 Apr 2020 14:16:16 +0000 (16:16 +0200)]
modules: readme files regenerated - keepalive ... [skip ci]

19 months agoMerge pull request #2306 from NGSegovia/ngsegovia/keepalive_disable_delete_counter
Daniel-Constantin Mierla [Tue, 28 Apr 2020 14:03:18 +0000 (16:03 +0200)]
Merge pull request #2306 from NGSegovia/ngsegovia/keepalive_disable_delete_counter

keepalive: ignore delete_counter if it is set to 0

19 months agoMerge pull request #2305 from dsciarra/do-not-use-tcp-id-for-lookup
Daniel-Constantin Mierla [Tue, 28 Apr 2020 13:57:29 +0000 (15:57 +0200)]
Merge pull request #2305 from dsciarra/do-not-use-tcp-id-for-lookup

core: do not use tcp id for lookup if not needed

19 months agop_usrloc, ims_usrloc_pcscf: change "-" for "_" in stats name to be prometheus compliant
Federico Cabiddu [Tue, 28 Apr 2020 12:48:59 +0000 (14:48 +0200)]
p_usrloc, ims_usrloc_pcscf: change "-" for "_" in stats name to be prometheus compliant

19 months agokeepalive: ignore delete_counter if it is set to 0 2306/head
Nacho Garcia Segovia [Tue, 28 Apr 2020 12:08:19 +0000 (14:08 +0200)]
keepalive: ignore delete_counter if it is set to 0

19 months agocore: do not use tcp id for lookup if not needed 2305/head
Donato Sciarra [Tue, 28 Apr 2020 08:33:23 +0000 (10:33 +0200)]
core: do not use tcp id for lookup if not needed

In case the first lookup (with tcp id) is not successfull, the second
attempt should have been performed without a tcp id.
Issue was introduced with dc43750644 (new global parameter
tcp_connection_match) in 5.3.

19 months agousrloc: change "-" for "_" in stats name to be prometheus compliant
Federico Cabiddu [Tue, 28 Apr 2020 08:24:04 +0000 (10:24 +0200)]
usrloc: change "-" for "_" in stats name to be prometheus compliant

19 months agopv: use safer macros for temporarily making zero-ending strings
Daniel-Constantin Mierla [Tue, 28 Apr 2020 07:42:13 +0000 (09:42 +0200)]
pv: use safer macros for temporarily making zero-ending strings

19 months agocore: str - fixed wrong (undo'ed) version of STR_ZTOV() macro
Daniel-Constantin Mierla [Mon, 27 Apr 2020 13:24:23 +0000 (15:24 +0200)]
core: str - fixed wrong (undo'ed) version of STR_ZTOV() macro

19 months agondb_redis: use the core macros for ending string value with '\0' and to restore
Daniel-Constantin Mierla [Mon, 27 Apr 2020 13:06:10 +0000 (15:06 +0200)]
ndb_redis: use the core macros for ending string value with '\0' and to restore

19 months agocore: str - helper macro to set ending zero with backup and restore from backup
Daniel-Constantin Mierla [Mon, 27 Apr 2020 12:53:33 +0000 (14:53 +0200)]
core: str - helper macro to set ending zero with backup and restore from backup

19 months agomodules: readme files regenerated - rtpengine ... [skip ci]
Kamailio Dev [Mon, 27 Apr 2020 12:31:15 +0000 (14:31 +0200)]
modules: readme files regenerated - rtpengine ... [skip ci]

19 months agortpengine: remove obselete auto-bridge flag (GH #2301)
Henning Westerholt [Mon, 27 Apr 2020 12:19:35 +0000 (12:19 +0000)]
rtpengine: remove obselete auto-bridge flag (GH #2301)

19 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

19 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

19 months agoMakefile.defs: expose CC_NAME variable
Daniel-Constantin Mierla [Mon, 27 Apr 2020 08:25:06 +0000 (10:25 +0200)]
Makefile.defs: expose CC_NAME variable

19 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

19 months agodb2_local: replace timelocal() with mktime()
Daniel-Constantin Mierla [Mon, 27 Apr 2020 07:00:21 +0000 (09:00 +0200)]
db2_local: replace timelocal() with mktime()

- timelocal() is nonstandard GNU extension, not recommended to be used
and mktime() should be equivalent:
  * https://linux.die.net/man/3/timegm
- GH #2298

19 months agocore: error.{c,h} - coherent use of camel case in error and reason texts
Daniel-Constantin Mierla [Sun, 26 Apr 2020 08:34:52 +0000 (10:34 +0200)]
core: error.{c,h} - coherent use of camel case in error and reason texts

- indentation and whitespacing

19 months agopresence: consider watchers in active status when in no-db mode
Daniel-Constantin Mierla [Sat, 25 Apr 2020 10:27:39 +0000 (12:27 +0200)]
presence: consider watchers in active status when in no-db mode

- there is no persistent storage for watchers, status is lost on restart
anyhow (similar to force active)

19 months agodmq: test of if reply code and reason are set to send the response
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

19 months agodmq: set 202 response for empty_peer_callback() handling
Daniel-Constantin Mierla [Fri, 24 Apr 2020 19:09:26 +0000 (21:09 +0200)]
dmq: set 202 response for empty_peer_callback() handling

19 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

19 months agoims_usrloc_pcscf: fix value array size and compile warnings
Daniel-Constantin Mierla [Thu, 23 Apr 2020 08:21:22 +0000 (10:21 +0200)]
ims_usrloc_pcscf: fix value array size and compile warnings

19 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

19 months agopresence: implemented more functions to work with in-memory presentity records
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

19 months agoauth: log correct variable name in nonce-count error message
Henning Westerholt [Wed, 22 Apr 2020 16:14:54 +0000 (16:14 +0000)]
auth: log correct variable name in nonce-count error message

19 months agopresence: function to search presentity items for in memory subscriptions
Daniel-Constantin Mierla [Wed, 22 Apr 2020 14:57:24 +0000 (16:57 +0200)]
presence: function to search presentity items for in memory subscriptions

19 months agomodules: readme files regenerated - nathelper ... [skip ci]
Kamailio Dev [Wed, 22 Apr 2020 13:01:12 +0000 (15:01 +0200)]
modules: readme files regenerated - nathelper ... [skip ci]

19 months agonathelper: update flag documenation
Henning Westerholt [Wed, 22 Apr 2020 12:52:12 +0000 (12:52 +0000)]
nathelper: update flag documenation

19 months agoMerge pull request #2295 from kamailio/grumvalski/siptrace_memleak_fix
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

19 months agosiptrace: free parsed from in case of errors 2295/head
Federico Cabiddu [Wed, 22 Apr 2020 09:40:58 +0000 (11:40 +0200)]
siptrace: free parsed from in case of errors

19 months agosiptrace: siptrace: fix memory leak in fake replies tracing
Federico Cabiddu [Wed, 22 Apr 2020 07:34:20 +0000 (09:34 +0200)]
siptrace: siptrace: fix memory leak in fake replies tracing

19 months agopresence: safety checks in timer callbacks to cope with storage modes
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

19 months agopresence: use separate structure to match presentity to replace or update
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

19 months agopresence: init pres and subs hash tables for non db-only mode and memory index
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

19 months agopresence: delete expired in-memory presentity records
Daniel-Constantin Mierla [Tue, 21 Apr 2020 17:45:01 +0000 (19:45 +0200)]
presence: delete expired in-memory presentity records

19 months agopresence: user core macro for hash slot index
Daniel-Constantin Mierla [Tue, 21 Apr 2020 15:31:44 +0000 (17:31 +0200)]
presence: user core macro for hash slot index

19 months agocore: hashes - small helper macro to compute 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

19 months agopresence: rpc presence.presentity_list is returning an array
Daniel-Constantin Mierla [Tue, 21 Apr 2020 13:25:25 +0000 (15:25 +0200)]
presence: rpc presence.presentity_list is returning an array

19 months agopresence: use unsigned int for presentity hash id
Daniel-Constantin Mierla [Tue, 21 Apr 2020 13:08:39 +0000 (15:08 +0200)]
presence: use unsigned int for presentity hash id

19 months agopv: fixes for KEMI pvx.xavp_getd
Victor Seva [Tue, 21 Apr 2020 11:03:16 +0000 (13:03 +0200)]
pv: fixes for KEMI pvx.xavp_getd

19 months agopresence: compute presentity table slot index using correct structure
Daniel-Constantin Mierla [Tue, 21 Apr 2020 10:55:17 +0000 (12:55 +0200)]
presence: compute presentity table slot index using correct structure

19 months agoMerge pull request #2246 from alexyosifov/ims_registrar_scscf_notify_fix
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

19 months agoims_registrar_scscf: fix multiple contacts in NOTIFY 2246/head
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.

19 months agomodules: readme files regenerated - presence ... [skip ci]
Kamailio Dev [Tue, 21 Apr 2020 08:16:25 +0000 (10:16 +0200)]
modules: readme files regenerated - presence ... [skip ci]

19 months agopresence: docs for rpc command presence.presentity_list
Daniel-Constantin Mierla [Tue, 21 Apr 2020 08:04:49 +0000 (10:04 +0200)]
presence: docs for rpc command presence.presentity_list

19 months agopresence: implemented rpc command to list presententy records in memory
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

19 months agopresence: increased the array size for rpc cleanup doc
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

19 months agopresence: correct value for PS_PCACHE_RECORD
Daniel-Constantin Mierla [Mon, 20 Apr 2020 15:59:26 +0000 (17:59 +0200)]
presence: correct value for PS_PCACHE_RECORD

19 months agomodules: readme files regenerated - presence ... [skip ci]
Kamailio Dev [Mon, 20 Apr 2020 15:31:14 +0000 (17:31 +0200)]
modules: readme files regenerated - presence ... [skip ci]

19 months agopresence: do not init db connection when everything is stored in memory
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

19 months agopresence: updated docs for publ_cache parameter
Daniel-Constantin Mierla [Mon, 20 Apr 2020 13:35:24 +0000 (15:35 +0200)]
presence: updated docs for publ_cache parameter

19 months agopresence: handle publish with full records stored in cache
Daniel-Constantin Mierla [Mon, 20 Apr 2020 13:26:39 +0000 (15:26 +0200)]
presence: handle publish with full records stored in cache

19 months agotls: add sel for tls verified cert chain (requires OpenSSL 1.1+) (#2289)
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>
19 months agopresence: init and destroy full presentity caching table
Daniel-Constantin Mierla [Sun, 19 Apr 2020 17:01:22 +0000 (19:01 +0200)]
presence: init and destroy full presentity caching table

19 months agopresence: define modes for publ_cache parameter
Daniel-Constantin Mierla [Sun, 19 Apr 2020 07:02:09 +0000 (09:02 +0200)]
presence: define modes for publ_cache parameter

19 months agopresence: in-memory presentity update function
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

19 months agotls: fix raw vs urlencoded behavior in sel_ssl_cert()
Armen Babikyan [Sat, 18 Apr 2020 21:18:40 +0000 (14:18 -0700)]
tls: fix raw vs urlencoded behavior in sel_ssl_cert()

19 months agohttp_async_client: do not set global avp lists from t on async callback
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

19 months agopresence: functions to keep presentity records in memory
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