sip-router
2 months agosipdump: use localtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 14:32:31 +0000 (16:32 +0200)]
sipdump: use localtime_r() for a safer multi-thread usage

2 months agotmrec: use localtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 14:27:58 +0000 (16:27 +0200)]
tmrec: use localtime_r() for a safer multi-thread usage

2 months agopv: use ctime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 14:26:07 +0000 (16:26 +0200)]
pv: use ctime_r() for a safer multi-thread usage

2 months agomsilo: use [c|gm]time_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 14:19:18 +0000 (16:19 +0200)]
msilo: use [c|gm]time_r() for a safer multi-thread usage

2 months agomsrp: use ctime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 14:14:39 +0000 (16:14 +0200)]
msrp: use ctime_r() for a safer multi-thread usage

2 months agoacc: use localtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 14:11:29 +0000 (16:11 +0200)]
acc: use localtime_r() for a safer multi-thread usage

2 months agosipdump: use localtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 14:08:21 +0000 (16:08 +0200)]
sipdump: use localtime_r() for a safer multi-thread usage

2 months agoxhttp_rpc: use gmtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 13:02:50 +0000 (15:02 +0200)]
xhttp_rpc: use gmtime_r() for a safer multi-thread usage

2 months agoacc: use gmtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 12:59:13 +0000 (14:59 +0200)]
acc: use gmtime_r() for a safer multi-thread usage

2 months agodrouting: use localtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 12:57:13 +0000 (14:57 +0200)]
drouting: use localtime_r() for a safer multi-thread usage

2 months agosmsops: use gmtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 12:54:04 +0000 (14:54 +0200)]
smsops: use gmtime_r() for a safer multi-thread usage

2 months agodb_mysql: use gmtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 12:51:48 +0000 (14:51 +0200)]
db_mysql: use gmtime_r() for a safer multi-thread usage

2 months agojsonrpcs: use gmtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 12:48:58 +0000 (14:48 +0200)]
jsonrpcs: use gmtime_r() for a safer multi-thread usage

2 months agomsilo: use ctime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 12:46:15 +0000 (14:46 +0200)]
msilo: use ctime_r() for a safer multi-thread usage

> The reentrant version ctime_r() does the same, but stores
>  the string in a user-supplied buffer which should have
>  room for at least 26 bytes.

2 months agoxprint: use ctime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 12:38:43 +0000 (14:38 +0200)]
xprint: use ctime_r() for a safer multi-thread usage

> The reentrant version ctime_r() does the same, but stores
>  the string in a user-supplied buffer which should have
>  room for at least 26 bytes.

2 months agodb_redis: use localtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 12:29:10 +0000 (14:29 +0200)]
db_redis: use localtime_r() for a safer multi-thread usage

2 months agotextops: use gmtime_r() for a safer multi-thread usage
Victor Seva [Tue, 12 May 2020 12:20:02 +0000 (14:20 +0200)]
textops: use gmtime_r() for a safer multi-thread usage

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

2 months agoMerge pull request #2323 from voiceip/keepalive-rpc-change
Daniel-Constantin Mierla [Tue, 12 May 2020 12:05:27 +0000 (14:05 +0200)]
Merge pull request #2323 from voiceip/keepalive-rpc-change

keepalive: update rpc response to include current state

2 months agoMerge pull request #2319 from cruzccl/redis-sentinel-reconnection
Daniel-Constantin Mierla [Tue, 12 May 2020 12:04:21 +0000 (14:04 +0200)]
Merge pull request #2319 from cruzccl/redis-sentinel-reconnection

ndb_redis: add sentinel support to reconnection logic

2 months agoMerge pull request #2318 from NGSegovia/keepalive/response_callback
Daniel-Constantin Mierla [Tue, 12 May 2020 12:02:18 +0000 (14:02 +0200)]
Merge pull request #2318 from NGSegovia/keepalive/response_callback

Keepalive/response callback

2 months agomodules: readme files regenerated - rtpengine ... [skip ci]
Kamailio Dev [Tue, 12 May 2020 08:31:19 +0000 (10:31 +0200)]
modules: readme files regenerated - rtpengine ... [skip ci]

2 months agortpengine: Update docs - fix formatting, some typos
Olle E. Johansson [Tue, 12 May 2020 08:21:44 +0000 (10:21 +0200)]
rtpengine: Update docs - fix formatting, some typos

2 months agomodules: readme files regenerated - tls ... [skip ci]
Kamailio Dev [Tue, 12 May 2020 07:16:20 +0000 (09:16 +0200)]
modules: readme files regenerated - tls ... [skip ci]

2 months agoTLS: Try to always refer to OpenSSL as "OpenSSL" instead of other names
Olle E. Johansson [Tue, 12 May 2020 07:08:33 +0000 (09:08 +0200)]
TLS: Try to always refer to OpenSSL as "OpenSSL" instead of other names

2 months agoTLS: Fix TLS session id example to match source code
Olle E. Johansson [Tue, 12 May 2020 07:07:02 +0000 (09:07 +0200)]
TLS: Fix TLS session id example to match source code

2 months agoTLS: fix typo in docs
Olle E. Johansson [Tue, 12 May 2020 07:05:51 +0000 (09:05 +0200)]
TLS: fix typo in docs

2 months agocore: dprint - escaped control chars need 6 bytes
Daniel-Constantin Mierla [Mon, 11 May 2020 18:34:27 +0000 (20:34 +0200)]
core: dprint - escaped control chars need 6 bytes

- they are encoded as \uXXXX

2 months agoregex: leave enough space in buffers for parenthesis and -ending
Daniel-Constantin Mierla [Sat, 9 May 2020 11:53:19 +0000 (13:53 +0200)]
regex: leave enough space in buffers for parenthesis and -ending

2 months agocore: udp server - add sockaddr_storage to ensure enough size for sockaddr_union
Daniel-Constantin Mierla [Sat, 9 May 2020 09:00:20 +0000 (11:00 +0200)]
core: udp server - add sockaddr_storage to ensure enough size for sockaddr_union

- safety check that from addr len is matching expected size for listen
socket
- rename local variables to suggest better their purpose

2 months agocfgt: fix implicit declaration of 'strcasestr'
Victor Seva [Mon, 11 May 2020 13:06:26 +0000 (15:06 +0200)]
cfgt: fix implicit declaration of 'strcasestr'

> cfgt_int.c: In function 'cfgt_msgout':
> cfgt_int.c:863:21: warning: implicit declaration of function 'strcasestr'; did you mean 'strcasecmp'? [-Wimplicit-function-declaration]
>  863 |  if(buf->len > 7 && strcasestr(buf->s, "OPTIONS")) {
>      |                     ^~~~~~~~~~
>      |                     strcasecmp

2 months agokeepalive: update rpc response 2323/head
kinshuk.bairagi [Mon, 11 May 2020 12:15:44 +0000 (17:45 +0530)]
keepalive: update rpc response

- Adds current state as part of rpc response per destination wise

3 months agousrloc: fix define name typo for the new keepalive management
Daniel-Constantin Mierla [Fri, 8 May 2020 19:48:29 +0000 (21:48 +0200)]
usrloc: fix define name typo for the new keepalive management

- user right db value index for null checking
- ensure ending 0 doesn't overflow on aor building

3 months agopresence: check for null head when reordering returned presentity list
Daniel-Constantin Mierla [Fri, 8 May 2020 19:37:52 +0000 (21:37 +0200)]
presence: check for null head when reordering returned presentity list

3 months agocore: safer truncation of hostname using memcpy
Daniel-Constantin Mierla [Fri, 8 May 2020 19:28:01 +0000 (21:28 +0200)]
core: safer truncation of hostname using memcpy

3 months agondb_redis: add sentinel support to reconnection logic 2319/head
Carlos Cruz [Fri, 8 May 2020 15:37:30 +0000 (17:37 +0200)]
ndb_redis: add sentinel support to reconnection logic

cc8e621 added sentinel support in initial redis connection.

- this commit replicates the logic into reconnection function.

3 months agosipdump: safety check for local socket pointer
Daniel-Constantin Mierla [Fri, 8 May 2020 16:01:13 +0000 (18:01 +0200)]
sipdump: safety check for local socket pointer

- use generic address is not set

3 months 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

3 months agodrouting: update to new keepalive interface, using new on response callback 2318/head
Nacho Garcia Segovia [Thu, 7 May 2020 21:50:20 +0000 (23:50 +0200)]
drouting: update to new keepalive interface, using new on response callback

- Changes required because of dependencies from module keepalive.

3 months agokeepalive: Added callback to run on each destination response.
Nacho Garcia Segovia [Thu, 7 May 2020 21:50:10 +0000 (23:50 +0200)]
keepalive: Added callback to run on each destination response.

- This functionality it's just available when using api.h bindings. For exported functions no callback will be used, so this doesn't break cfg or rpc api.
- Modified add_destination function to provide this new callback as a parameter.

3 months 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]

3 months 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]

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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()

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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.

3 months 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.

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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

3 months 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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()

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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

3 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]

3 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

3 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

3 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

3 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

3 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]

3 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

3 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

3 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

3 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]

3 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

3 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

3 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

3 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

3 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

3 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