sip-router
2 years agocore: events - increased SREV_CB_LIST_SIZE
Daniel-Constantin Mierla [Fri, 8 May 2020 11:54:49 +0000 (13:54 +0200)]
core: events - increased SREV_CB_LIST_SIZE

- there can be several modules registering for these core callbacks

2 years agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Thu, 7 May 2020 18:46:12 +0000 (20:46 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

2 years agomodules: readme files regenerated - keepalive ... [skip ci]
Kamailio Dev [Thu, 7 May 2020 11:16:27 +0000 (13:16 +0200)]
modules: readme files regenerated - keepalive ... [skip ci]

2 years agosiptrace: small spelling fix in docs
Henning Westerholt [Thu, 7 May 2020 18:45:22 +0000 (18:45 +0000)]
siptrace: small spelling fix in docs

2 years 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

2 years 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

2 years agoMerge pull request #2296 from alexyosifov/ims_registrar_scscf_event_reg
Daniel-Constantin Mierla [Thu, 7 May 2020 11:16:09 +0000 (13:16 +0200)]
Merge pull request #2296 from alexyosifov/ims_registrar_scscf_event_reg

ims_registrar_scscf: pass event type as parameter

2 years agoMerge pull request #2292 from alexyosifov/ims_registrar_scscf_lookup_fix
Daniel-Constantin Mierla [Thu, 7 May 2020 11:14:53 +0000 (13:14 +0200)]
Merge pull request #2292 from alexyosifov/ims_registrar_scscf_lookup_fix

ims_registrar_scscf: fix aor generation in lookup()

2 years agondb_redis: redis_cmd() check reply type to detect command errors
Victor Seva [Tue, 5 May 2020 12:20:07 +0000 (14:20 +0200)]
ndb_redis: redis_cmd() check reply type to detect command errors

fix #2300

2 years agoMerge pull request #2313 from NGSegovia/keepalive/custom_ping_interval
Daniel-Constantin Mierla [Thu, 7 May 2020 11:08:51 +0000 (13:08 +0200)]
Merge pull request #2313 from NGSegovia/keepalive/custom_ping_interval

keepalive: custom pinging interval per destination

2 years agokamctl: regenerated db schema for secfilter
Daniel-Constantin Mierla [Thu, 7 May 2020 06:19:36 +0000 (08:19 +0200)]
kamctl: regenerated db schema for secfilter

2 years agosrdb1: default value set to 0 for number types
Daniel-Constantin Mierla [Thu, 7 May 2020 06:19:05 +0000 (08:19 +0200)]
srdb1: default value set to 0 for number types

2 years agodrouting: update to new keepalive interface, using custom pinging interval per destin... 2313/head
Nacho Garcia Segovia [Wed, 6 May 2020 21:13:27 +0000 (23:13 +0200)]
drouting: update to new keepalive interface, using custom pinging interval per destination

- Changes required because of dependencies from module keepalive.

2 years agokeepalive: custom pinging interval per destination
Nacho Garcia Segovia [Wed, 6 May 2020 21:10:40 +0000 (23:10 +0200)]
keepalive: custom pinging interval per destination

- This functionality it's just available when using api.h bindings. For exported functions current value ka_ping_interval is used.
- Modified add_destination function to provide this new parameter.
- Now we have one timer per destination, instead of multiple, so we don't need to iterate over all destinations. Timers are cleaned when destinations are removed.

2 years 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

2 years agohtable: use localtime_r() for a safer multi-thread usage
Daniel-Constantin Mierla [Wed, 6 May 2020 15:13:16 +0000 (17:13 +0200)]
htable: use localtime_r() for a safer multi-thread usage

2 years agopv: use localtime_r() for a safer multi-thread usage
Daniel-Constantin Mierla [Wed, 6 May 2020 15:03:45 +0000 (17:03 +0200)]
pv: use localtime_r() for a safer multi-thread usage

2 years agocfgt: don't process non-sip messages
Sipwise Development Team [Fri, 29 Nov 2019 10:23:36 +0000 (11:23 +0100)]
cfgt: don't process non-sip messages

* Skip OPTION messages internally generated

2 years agopv_headers: rework
Victor Seva [Tue, 5 May 2020 10:03:04 +0000 (12:03 +0200)]
pv_headers: rework

* don't try to detect branch every time
* reduce use of dynamic memory
* rework reply scenario, keep reply_counter in xavp
* hook to branch event too

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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()

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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]

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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]

2 years 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

2 years 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

2 years 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

2 years 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]

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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]

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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.

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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]

2 years 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)

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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)

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years agoims_registrar_scscf: pass event type as parameter 2296/head
Aleksandar Yosifov [Wed, 22 Apr 2020 13:25:32 +0000 (16:25 +0300)]
ims_registrar_scscf: pass event type as parameter

- pass event type as parameter in notify_subscribers()

2 years 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]

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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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

2 years 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