sip-router
3 months agocore: receive - reset xavu list after message processing
Daniel-Constantin Mierla [Wed, 1 Apr 2020 08:42:04 +0000 (10:42 +0200)]
core: receive - reset xavu list after message processing

3 months agocore: pv - define xavu types
Daniel-Constantin Mierla [Wed, 1 Apr 2020 08:40:38 +0000 (10:40 +0200)]
core: pv - define xavu types

3 months agocore: xavu api - like xavp but with single value items
Daniel-Constantin Mierla [Wed, 1 Apr 2020 08:39:24 +0000 (10:39 +0200)]
core: xavu api - like xavp but with single value items

- simplified version without indexes

3 months agomodules: readme files regenerated - tcpops ... [skip ci]
Kamailio Dev [Tue, 31 Mar 2020 09:31:21 +0000 (11:31 +0200)]
modules: readme files regenerated - tcpops ... [skip ci]

3 months agotcpops: docs for tcp_set_otcpid() and tcp_set_otcpid_flag() functions
Daniel-Constantin Mierla [Tue, 31 Mar 2020 09:23:20 +0000 (11:23 +0200)]
tcpops: docs for tcp_set_otcpid() and tcp_set_otcpid_flag() functions

3 months agotcpops: function to control use of outbound tcp connection id
Daniel-Constantin Mierla [Tue, 31 Mar 2020 09:08:51 +0000 (11:08 +0200)]
tcpops: function to control use of outbound tcp connection id

- tcp_set_otcpid(id) - set the id for outbound tcp connection
- tcp_set_otcpid_flag(mode) - set/reset the internal flag for using
outbound tcp connection id

3 months agotm: use outbound tcp connection id for relaying if FL_USE_OTCPID is set
Daniel-Constantin Mierla [Tue, 31 Mar 2020 08:04:05 +0000 (10:04 +0200)]
tm: use outbound tcp connection id for relaying if FL_USE_OTCPID is set

3 months agocore: use outbound tcp connection id for forward(...) if FL_USE_OTCPID is set
Daniel-Constantin Mierla [Tue, 31 Mar 2020 07:57:11 +0000 (09:57 +0200)]
core: use outbound tcp connection id for forward(...) if FL_USE_OTCPID is set

3 months agocore: parser - new internal flag FL_USE_OTCPID
Daniel-Constantin Mierla [Tue, 31 Mar 2020 07:54:47 +0000 (09:54 +0200)]
core: parser - new internal flag FL_USE_OTCPID

- mark request for routing existing outbound tcp connection id (e.g.,
restored from usrloc location lookup)

3 months agocore: parser - removed temporarily remark for module reserved internal flags
Daniel-Constantin Mierla [Tue, 31 Mar 2020 07:11:40 +0000 (09:11 +0200)]
core: parser - removed temporarily remark for module reserved internal flags

3 months agoims_qos: bugfix for Rx register dialog callback
Peter Friedrich [Mon, 30 Mar 2020 17:02:29 +0000 (19:02 +0200)]
ims_qos: bugfix for Rx register dialog callback

- bugfix for Rx register dialog callback
- In some scenarios like parallel forking several INVITE with identical
  CALLID and FROMTAG sent to PCSCF which inserts dialogues for each INVITE.
- When 200OK is received in PCSCF the dialog callback must be registered
  for the respective dialog. Currently sometimes the wrong dialog is selected
  by searching with CALLID FROMTAG and TOTAG thus leading to problem
  no STR is sent at BYE.
- Fix is to pickup the right dialog before suspending the transaction during
  AAR/AAA processing and reuse this saved dialog.

3 months agoims_dialog: bugfix for registering dialog callbacks
Peter Friedrich [Mon, 30 Mar 2020 17:00:58 +0000 (19:00 +0200)]
ims_dialog: bugfix for registering dialog callbacks

- bugfix for registering dialog callbacks
- in Rx scenarios of parallel forking (several INVITEs with same CALLID
  and FROMTAG sent to PCSCF) and INVITE for orig and term handled in
  same PCSCF (means also INVITEs with identical  CALLID and FROMTAG) the wrong
  dialog is selected for registering the callback (i.e. the callback
  for sending STR) when 200OK from terminator is processed.
- Root cause is that dialog is searched with callid-fromtag-totag but at
  the time of dialog insertion (processing of INVITE) no totag is available.
- fix is to get ctx dialog at 200OK processing before suspending the
  transaction - save dialog until AAA is received - use this dialog for
  registering the STR callback.

3 months agotm: do not set msg tcp connection id in the dst info
Daniel-Constantin Mierla [Mon, 30 Mar 2020 08:11:54 +0000 (10:11 +0200)]
tm: do not set msg tcp connection id in the dst info

3 months agocore: do not set msg tcp connection id in the dst info
Daniel-Constantin Mierla [Mon, 30 Mar 2020 08:10:33 +0000 (10:10 +0200)]
core: do not set msg tcp connection id in the dst info

3 months agomodules: readme files regenerated - usrloc ... [skip ci]
Kamailio Dev [Sun, 29 Mar 2020 15:31:14 +0000 (17:31 +0200)]
modules: readme files regenerated - usrloc ... [skip ci]

3 months agousrloc: docs - updates for ka_loglevel and ka_logmsg params
Daniel-Constantin Mierla [Sun, 29 Mar 2020 15:30:03 +0000 (17:30 +0200)]
usrloc: docs - updates for ka_loglevel and ka_logmsg params

3 months agousrloc: default keepalive log message prints remote address in socket format
Daniel-Constantin Mierla [Sun, 29 Mar 2020 15:25:28 +0000 (17:25 +0200)]
usrloc: default keepalive log message prints remote address in socket format

- more compact than sip uri format

3 months agolib/srdb1/schema: removed kamailio-extensions.xml file
Daniel-Constantin Mierla [Sun, 29 Mar 2020 12:17:19 +0000 (14:17 +0200)]
lib/srdb1/schema: removed kamailio-extensions.xml file

- file didn't have any content itself, tried to include an inexistent
extra.xml, which generated an warning for 'make dbschema'

3 months agousrloc: cast to get rid of warnings for different OSes in keepalive printing
Daniel-Constantin Mierla [Sun, 29 Mar 2020 10:41:32 +0000 (12:41 +0200)]
usrloc: cast to get rid of warnings for different OSes in keepalive printing

3 months agodoc/stylesheets: remove obselete company and e-mail address from my name, update...
Henning Westerholt [Sun, 29 Mar 2020 09:39:34 +0000 (11:39 +0200)]
doc/stylesheets: remove obselete company and e-mail address from my name, update copyright date

3 months agolib/srdb1: fix warning about wrong namespace in version.xml
Henning Westerholt [Sun, 29 Mar 2020 09:27:07 +0000 (11:27 +0200)]
lib/srdb1: fix warning about wrong namespace in version.xml

3 months agomodules: readme files regenerated - usrloc ... [skip ci]
Kamailio Dev [Sat, 28 Mar 2020 09:31:12 +0000 (10:31 +0100)]
modules: readme files regenerated - usrloc ... [skip ci]

3 months agousrloc: docs for ka_loglevel and ka_logmsg params
Daniel-Constantin Mierla [Sat, 28 Mar 2020 09:11:28 +0000 (10:11 +0100)]
usrloc: docs for ka_loglevel and ka_logmsg params

3 months agousrloc: fexible logging for roundtrip details
Daniel-Constantin Mierla [Sat, 28 Mar 2020 08:56:47 +0000 (09:56 +0100)]
usrloc: fexible logging for roundtrip details

- new params ka_loglevel and ka_logmsg

3 months agoMerge pull request #2265 from armenb/pv_remove_urlencode_urldecode
Daniel-Constantin Mierla [Sat, 28 Mar 2020 07:31:03 +0000 (08:31 +0100)]
Merge pull request #2265 from armenb/pv_remove_urlencode_urldecode

pv: remove urlencode/urldecode functions (moved to core/strutils)

3 months agoMerge pull request #2264 from armenb/core_strutils_urlencode_urldecode
Daniel-Constantin Mierla [Sat, 28 Mar 2020 07:30:16 +0000 (08:30 +0100)]
Merge pull request #2264 from armenb/core_strutils_urlencode_urldecode

core: strutils - add urlencode and urldecode functions

3 months agocore: strutils - add urlencode and urldecode functions 2264/head
Armen Babikyan [Fri, 27 Mar 2020 21:01:05 +0000 (14:01 -0700)]
core: strutils - add urlencode and urldecode functions

- moved from modules/pv/pv_trans.c and exported, so they can be used in other modules
- genericized fn names

3 months agopv: remove urlencode/urldecode functions; moved to core/strutils 2265/head
Armen Babikyan [Fri, 27 Mar 2020 21:14:53 +0000 (14:14 -0700)]
pv: remove urlencode/urldecode functions; moved to core/strutils

3 months agomodules: readme files regenerated - usrloc ... [skip ci]
Kamailio Dev [Fri, 27 Mar 2020 17:31:09 +0000 (18:31 +0100)]
modules: readme files regenerated - usrloc ... [skip ci]

3 months agousrloc: keepalive server id filtering also for in-memory contacts
Daniel-Constantin Mierla [Fri, 27 Mar 2020 17:16:28 +0000 (18:16 +0100)]
usrloc: keepalive server id filtering also for in-memory contacts

3 months agousrloc: docs for ka_filter parameter
Daniel-Constantin Mierla [Fri, 27 Mar 2020 17:06:46 +0000 (18:06 +0100)]
usrloc: docs for ka_filter parameter

3 months agousrloc: internal keepalive support for db only mode
Daniel-Constantin Mierla [Fri, 27 Mar 2020 16:54:00 +0000 (17:54 +0100)]
usrloc: internal keepalive support for db only mode

- new parameter ka_filter to enable server_id filtering of db records
processed for keepalive

3 months agousrloc: fixed wrong comments related to the flags fields in ucontact_t
Daniel-Constantin Mierla [Fri, 27 Mar 2020 16:52:53 +0000 (17:52 +0100)]
usrloc: fixed wrong comments related to the flags fields in ucontact_t

3 months agousrloc: global root var for domains list renamed to _ksr_ul_root
Daniel-Constantin Mierla [Fri, 27 Mar 2020 12:58:56 +0000 (13:58 +0100)]
usrloc: global root var for domains list renamed to _ksr_ul_root

3 months agopkg/kamailio/deb: version set 5.4.0~dev4
Victor Seva [Fri, 27 Mar 2020 11:55:43 +0000 (12:55 +0100)]
pkg/kamailio/deb: version set 5.4.0~dev4

3 months agomodules: readme files regenerated - usrloc ... [skip ci]
Kamailio Dev [Fri, 27 Mar 2020 09:31:18 +0000 (10:31 +0100)]
modules: readme files regenerated - usrloc ... [skip ci]

3 months agousrloc: options to do keepalive for natted or udp contacts only
Daniel-Constantin Mierla [Fri, 27 Mar 2020 09:16:23 +0000 (10:16 +0100)]
usrloc: options to do keepalive for natted or udp contacts only

- variants to make it emulate the current nathelper keepalive, which is
done for UDP only
- usrloc keepalive can be sent for all types of contacts

3 months agousrloc: docs for keepalive parameters
Daniel-Constantin Mierla [Fri, 27 Mar 2020 09:16:03 +0000 (10:16 +0100)]
usrloc: docs for keepalive parameters

3 months agousrloc: print ka roundtrip via rpc dump command
Daniel-Constantin Mierla [Fri, 27 Mar 2020 08:12:34 +0000 (09:12 +0100)]
usrloc: print ka roundtrip via rpc dump command

3 months agomodules: readme files regenerated - lost ... [skip ci]
Kamailio Dev [Thu, 26 Mar 2020 21:46:08 +0000 (22:46 +0100)]
modules: readme files regenerated - lost ... [skip ci]

3 months agolost: fixed defects reported from Coverity Scan
Wolfgang Kampichler [Thu, 26 Mar 2020 21:36:05 +0000 (22:36 +0100)]
lost: fixed defects reported from Coverity Scan

- in lost_function(): illegal access
- in lost_held_type(): null pointer dereferences
- in lost_xpath_location(): resource leak, control flow,
  null pointer dereferences
- besides: README update and code refactoring.

3 months agousrloc: store keepalive roundtrip in contact structure
Daniel-Constantin Mierla [Thu, 26 Mar 2020 20:57:08 +0000 (21:57 +0100)]
usrloc: store keepalive roundtrip in contact structure

3 months agousrloc: process keepalive response
Daniel-Constantin Mierla [Thu, 26 Mar 2020 20:02:09 +0000 (21:02 +0100)]
usrloc: process keepalive response

3 months agousrloc: ability to send keep alive requests
Daniel-Constantin Mierla [Thu, 26 Mar 2020 15:18:17 +0000 (16:18 +0100)]
usrloc: ability to send keep alive requests

- GH #2223
- work in progress

3 months agocore: receive_msg() - init local variables for better runtime troubleshooting
Daniel-Constantin Mierla [Thu, 26 Mar 2020 10:28:51 +0000 (11:28 +0100)]
core: receive_msg() - init local variables for better runtime troubleshooting

3 months agomodules: readme files regenerated - htable ... [skip ci]
Kamailio Dev [Wed, 25 Mar 2020 18:46:12 +0000 (19:46 +0100)]
modules: readme files regenerated - htable ... [skip ci]

3 months agohtable: docs for rpc command htable.store
Daniel-Constantin Mierla [Wed, 25 Mar 2020 18:36:37 +0000 (19:36 +0100)]
htable: docs for rpc command htable.store

3 months agohtable: new rpc command htable.store
Daniel-Constantin Mierla [Wed, 25 Mar 2020 18:31:49 +0000 (19:31 +0100)]
htable: new rpc command htable.store

- save the content of hash table to database

3 months agoMakefile.defs: version set to 5.4.0-dev4
Daniel-Constantin Mierla [Wed, 25 Mar 2020 16:34:07 +0000 (17:34 +0100)]
Makefile.defs: version set to 5.4.0-dev4

3 months agosipdump: test initialization of faked msg structure
Daniel-Constantin Mierla [Wed, 25 Mar 2020 16:16:35 +0000 (17:16 +0100)]
sipdump: test initialization of faked msg structure

3 months agomodules: readme files regenerated - rtpengine ... [skip ci]
Kamailio Dev [Wed, 25 Mar 2020 14:01:15 +0000 (15:01 +0100)]
modules: readme files regenerated - rtpengine ... [skip ci]

3 months agortpengine: document new T.38 options
Richard Fuchs [Wed, 25 Mar 2020 13:56:56 +0000 (09:56 -0400)]
rtpengine: document new T.38 options

3 months agortpengine: add support for new T.38 options
Richard Fuchs [Wed, 25 Mar 2020 13:00:40 +0000 (09:00 -0400)]
rtpengine: add support for new T.38 options

3 months agomodules: readme files regenerated - textopsx ... [skip ci]
Kamailio Dev [Tue, 24 Mar 2020 21:46:07 +0000 (22:46 +0100)]
modules: readme files regenerated - textopsx ... [skip ci]

3 months agouac: also set socket for in dialog REGISTER (GH #2262)
Henning Westerholt [Tue, 24 Mar 2020 21:42:59 +0000 (22:42 +0100)]
uac: also set socket for in dialog REGISTER (GH #2262)

3 months agotextopsx: small spelling fix in docs
Henning Westerholt [Mon, 23 Mar 2020 17:28:49 +0000 (18:28 +0100)]
textopsx: small spelling fix in docs

3 months agopike: renamed common name structs and globals to have module prefix
Daniel-Constantin Mierla [Tue, 24 Mar 2020 15:39:54 +0000 (16:39 +0100)]
pike: renamed common name structs and globals to have module prefix

3 months agomodules: readme files regenerated - pike ... [skip ci]
Kamailio Dev [Tue, 24 Mar 2020 14:31:11 +0000 (15:31 +0100)]
modules: readme files regenerated - pike ... [skip ci]

3 months agopike: docs - aligned ip tree example
Daniel-Constantin Mierla [Tue, 24 Mar 2020 14:23:10 +0000 (15:23 +0100)]
pike: docs - aligned ip tree example

3 months agomodules: readme files regenerated - sst ... [skip ci]
Kamailio Dev [Tue, 24 Mar 2020 14:01:12 +0000 (15:01 +0100)]
modules: readme files regenerated - sst ... [skip ci]

3 months agosst: docs - more info about how timeout_avp is used
Daniel-Constantin Mierla [Tue, 24 Mar 2020 13:50:58 +0000 (14:50 +0100)]
sst: docs - more info about how timeout_avp is used

3 months agocore: fix returning multiple IPs for a cached DNS entry
Nathan Bruning [Tue, 24 Mar 2020 10:24:28 +0000 (11:24 +0100)]
core: fix returning multiple IPs for a cached DNS entry

3 months agortpengine: fix zero-length log placeholder
Zero King [Tue, 24 Mar 2020 10:12:39 +0000 (11:12 +0100)]
rtpengine: fix zero-length log placeholder

3 months agortpproxy: fix zero-length log placeholder
Zero King [Tue, 24 Mar 2020 10:12:25 +0000 (11:12 +0100)]
rtpproxy: fix zero-length log placeholder

3 months agonathelper: fix zero-length log placeholder
Zero King [Tue, 24 Mar 2020 10:11:54 +0000 (11:11 +0100)]
nathelper: fix zero-length log placeholder

3 months agokamctl: regenerated db schema file with secfilter updates
Daniel-Constantin Mierla [Tue, 24 Mar 2020 09:32:10 +0000 (10:32 +0100)]
kamctl: regenerated db schema file with secfilter updates

3 months agolib/srdb1: schema - use smallint for secfilter
Daniel-Constantin Mierla [Tue, 24 Mar 2020 09:21:22 +0000 (10:21 +0100)]
lib/srdb1: schema - use smallint for secfilter

- tinyint is not supported

3 months agolib/srdb1: schema - added xml file for sefilter module
Daniel-Constantin Mierla [Tue, 24 Mar 2020 09:02:38 +0000 (10:02 +0100)]
lib/srdb1: schema - added xml file for sefilter module

3 months agomodules: readme files regenerated - lost ... [skip ci]
Kamailio Dev [Mon, 23 Mar 2020 22:01:10 +0000 (23:01 +0100)]
modules: readme files regenerated - lost ... [skip ci]

3 months agolost: new module parameters to set HeLD request attributes
Wolfgang Kampichler [Mon, 23 Mar 2020 21:44:27 +0000 (22:44 +0100)]
lost: new module parameters to set HeLD request attributes

- parameters are exact_type, response_time, and location_type
- the module function lost_held_query now supports proper
  handling of location types 'any', 'civic', 'geodetic' or
  'locationURI' (or any combination).
- besides: README update and code refactoring.

3 months agortpengine: replaced rtpproxy with rtpengine
Daniel-Constantin Mierla [Mon, 23 Mar 2020 17:42:23 +0000 (18:42 +0100)]
rtpengine: replaced rtpproxy with rtpengine

- avoid confusion in printed log messges

3 months agodialog: dmq operations under locked dlg table entry
Daniel-Constantin Mierla [Mon, 23 Mar 2020 16:57:48 +0000 (17:57 +0100)]
dialog: dmq operations under locked dlg table entry

- protect against races that could be due to rentransmissions or other
parallel processing cases
- related to GH #2224

3 months agodialog: exposed functions to search dlg and lock table entry
Daniel-Constantin Mierla [Mon, 23 Mar 2020 16:48:39 +0000 (17:48 +0100)]
dialog: exposed functions to search dlg and lock table entry

3 months agodialog: functions to search dialog by uuid and keep table entry locked
Daniel-Constantin Mierla [Mon, 23 Mar 2020 16:36:44 +0000 (17:36 +0100)]
dialog: functions to search dialog by uuid and keep table entry locked

- helper macros to lock/unlock table entry with dlg cell structure

3 months agomodules: readme files regenerated - sipcapture ... [skip ci]
Kamailio Dev [Mon, 23 Mar 2020 14:31:17 +0000 (15:31 +0100)]
modules: readme files regenerated - sipcapture ... [skip ci]

3 months agosipcapture: add new capture_bad_msgs modparam
Stefan Mititelu [Wed, 11 Mar 2020 09:48:20 +0000 (11:48 +0200)]
sipcapture: add new capture_bad_msgs modparam

In order to enable the parsing of broken SIP messages.

By default this behavior is disabled.

Updated doc.

3 months agoseas: use ip_addr2sbuf instead of (redundant) buf_print_ip
Henning Westerholt [Mon, 23 Mar 2020 14:07:42 +0000 (15:07 +0100)]
seas: use ip_addr2sbuf instead of (redundant) buf_print_ip

3 months agotls: use ip_addr2sbuf instead of (redundant) buf_print_ip
Henning Westerholt [Mon, 23 Mar 2020 14:06:33 +0000 (15:06 +0100)]
tls: use ip_addr2sbuf instead of (redundant) buf_print_ip

3 months agoRevert "core: add new function buf_print_ip(..) to print an IP address to an buffer"
Henning Westerholt [Mon, 23 Mar 2020 14:05:51 +0000 (15:05 +0100)]
Revert "core: add new function  buf_print_ip(..) to print an IP address to an buffer"

This reverts commit 4acca8ad2f31f465b08f15d98cc4780236e2beb0.

3 months agoseas: use new introduced buf_print_ip to print IP addresses instead of own implemenation
Henning Westerholt [Mon, 23 Mar 2020 11:06:58 +0000 (12:06 +0100)]
seas: use new introduced buf_print_ip to print IP addresses instead of own implemenation

3 months agotls: log src and dst IPs in case of protocol level errors in send/receive
Henning Westerholt [Mon, 23 Mar 2020 11:06:26 +0000 (12:06 +0100)]
tls: log src and dst IPs in case of protocol level errors in send/receive

- log src and dst IPs in case of protocol level errors in send/receive
- to help debugging TLS errors in multi-domain/multi-dispatching scenarios

3 months agocore: add new function buf_print_ip(..) to print an IP address to an buffer
Henning Westerholt [Mon, 23 Mar 2020 11:04:54 +0000 (12:04 +0100)]
core: add new function  buf_print_ip(..) to print an IP address to an buffer

3 months agoims_usrloc_pcscf: fix warning: this ‘if’ clause does not guard...
--list [Mon, 23 Mar 2020 10:13:41 +0000 (11:13 +0100)]
ims_usrloc_pcscf: fix warning: this ‘if’ clause does not guard...

3 months agomodules: readme files regenerated - corex ... [skip ci]
Kamailio Dev [Mon, 23 Mar 2020 08:31:19 +0000 (09:31 +0100)]
modules: readme files regenerated - corex ... [skip ci]

3 months agocorex: docs - examples with setting xavps for via functions
Daniel-Constantin Mierla [Mon, 23 Mar 2020 08:19:30 +0000 (09:19 +0100)]
corex: docs - examples with setting xavps for via functions

3 months agosst: debug message when setting timeout avp
Daniel-Constantin Mierla [Sun, 22 Mar 2020 14:27:46 +0000 (15:27 +0100)]
sst: debug message when setting timeout avp

3 months agodialog: detailed debug messages when resolving the timeout
Daniel-Constantin Mierla [Sun, 22 Mar 2020 14:05:17 +0000 (15:05 +0100)]
dialog: detailed debug messages when resolving the timeout

3 months agodmq: init worker structure in chid_init for PROC_INIT rank
Daniel-Constantin Mierla [Fri, 20 Mar 2020 16:10:05 +0000 (17:10 +0100)]
dmq: init worker structure in chid_init for PROC_INIT rank

- have it ready when other processes are started

3 months agocfgutils: use same type for local variable in rpc gflags functions
Daniel-Constantin Mierla [Thu, 19 Mar 2020 15:56:38 +0000 (16:56 +0100)]
cfgutils: use same type for local variable in rpc gflags functions

3 months agoratelimit: increase number of queues and pipes
Stefan Mititelu [Thu, 19 Mar 2020 09:49:50 +0000 (11:49 +0200)]
ratelimit: increase number of queues and pipes

3 months agopv: do not set ending '\0' for port value in pv_set_ruri_port()
Daniel-Constantin Mierla [Thu, 19 Mar 2020 09:59:43 +0000 (10:59 +0100)]
pv: do not set ending '\0' for port value in pv_set_ruri_port()

- it can be a reference to a static string, ending up in a crash
- GH #2258

3 months agoMerge pull request #2256 from gdt/master
Daniel-Constantin Mierla [Thu, 19 Mar 2020 06:21:26 +0000 (07:21 +0100)]
Merge pull request #2256 from gdt/master

Small portability fixes (NetBSD)

3 months agoMakefile.defs: Only add -ldl on systems that use it 2256/head
Greg Troxel [Wed, 18 Mar 2020 23:03:08 +0000 (19:03 -0400)]
Makefile.defs: Only add -ldl on systems that use it

kamailio uses dlopen, and on some systems, one must link with -ldl.
On others, this is not needed and there is no libdl.  For now, simply
omit -ldl on NetBSD (which doesn't have or require it), and don't try
to change behavior on other systems.

3 months agoMakefile.defs: On NetBSD, link with -lm
Greg Troxel [Wed, 18 Mar 2020 23:01:52 +0000 (19:01 -0400)]
Makefile.defs: On NetBSD, link with -lm

3 months agokamcmd: Makefile - updated the msg target to print pkg-config detections
Daniel-Constantin Mierla [Wed, 18 Mar 2020 17:41:52 +0000 (18:41 +0100)]
kamcmd: Makefile - updated the msg target to print pkg-config detections

3 months agokamcmd: use pkg-config to get compile flags for lib readline
Daniel-Constantin Mierla [Wed, 18 Mar 2020 16:39:18 +0000 (17:39 +0100)]
kamcmd: use pkg-config to get compile flags for lib readline

3 months agomodules: readme files regenerated - presence ... [skip ci]
Kamailio Dev [Tue, 17 Mar 2020 13:46:18 +0000 (14:46 +0100)]
modules: readme files regenerated - presence ... [skip ci]

3 months agopresence: add delete_same_subs modparam
Stefan Mititelu [Tue, 17 Mar 2020 12:56:51 +0000 (14:56 +0200)]
presence: add delete_same_subs modparam

3 months agomodules: readme files regenerated - p_usrloc ... [skip ci]
Kamailio Dev [Mon, 16 Mar 2020 15:01:17 +0000 (16:01 +0100)]
modules: readme files regenerated - p_usrloc ... [skip ci]

3 months agop_usrloc: add new update function
Stefan Mititelu [Mon, 16 Mar 2020 13:56:43 +0000 (15:56 +0200)]
p_usrloc: add new update function

Add also new "uniq" column.
The new update function will use this new column.