Daniel-Constantin Mierla [Wed, 8 Apr 2020 12:57:59 +0000 (14:57 +0200)]
siptrace: docs for send_sock_name parameter
- send_sock_addr parameter name can be now used instead of
force_send_sock to suggest better its purpose (the later can still be
used)
Daniel-Constantin Mierla [Wed, 8 Apr 2020 12:51:46 +0000 (14:51 +0200)]
siptrace: send_sock_name - new parameter to specify send socket by name
Daniel-Constantin Mierla [Wed, 8 Apr 2020 12:40:54 +0000 (14:40 +0200)]
siptrace: search the send sock socket modparam in mod init
Kamailio Dev [Wed, 8 Apr 2020 10:46:24 +0000 (12:46 +0200)]
modules: readme files regenerated - rr ... [skip ci]
Daniel-Constantin Mierla [Wed, 8 Apr 2020 10:45:07 +0000 (12:45 +0200)]
rr: docs - updated ids for xref linkend
Daniel-Constantin Mierla [Wed, 8 Apr 2020 06:48:55 +0000 (08:48 +0200)]
rr: exported record_route_advertised_address() to kemi
Daniel-Constantin Mierla [Wed, 8 Apr 2020 06:40:28 +0000 (08:40 +0200)]
siptrace: skip grepping local socket till sending function
- have a single place where to decide what local socket should be used
Kamailio Dev [Wed, 8 Apr 2020 02:16:09 +0000 (04:16 +0200)]
modules: readme files regenerated - dialog ... [skip ci]
Julien Chavanton [Wed, 8 Apr 2020 02:06:40 +0000 (19:06 -0700)]
Merge pull request #2272 from kamailio/jchavanton/dlg_dump
dialog: adding dlg.dump
Kamailio Dev [Tue, 7 Apr 2020 16:31:11 +0000 (18:31 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]
Daniel-Constantin Mierla [Tue, 7 Apr 2020 16:29:49 +0000 (18:29 +0200)]
siptrace: docs - fixed missing ending para tag
Daniel-Constantin Mierla [Tue, 7 Apr 2020 16:27:39 +0000 (18:27 +0200)]
siptrace: fixed missing extern declarations of global parameters
Kamailio Dev [Tue, 7 Apr 2020 16:01:17 +0000 (18:01 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]
Daniel-Constantin Mierla [Tue, 7 Apr 2020 15:58:02 +0000 (17:58 +0200)]
siptrace: use the send socket also for duplication via sip
- it was ignored, being used only for duplication via hep
Daniel-Constantin Mierla [Tue, 7 Apr 2020 15:46:01 +0000 (17:46 +0200)]
siptrace: removed storage of xheaders read/write flags in shared memory
- they are not changed at runtime, set at module initialization
Julien Chavanton [Tue, 31 Mar 2020 22:18:38 +0000 (22:18 +0000)]
dialog: adding dlg.dump
alternative command to output dialogs data to file, far much faster than
dlg.list
dialog: use core/srjson
Daniel-Constantin Mierla [Tue, 7 Apr 2020 15:35:25 +0000 (17:35 +0200)]
siptrace: docs for trace_init_mode parameter
Daniel-Constantin Mierla [Tue, 7 Apr 2020 15:34:49 +0000 (17:34 +0200)]
siptrace: new parameter trace_init_mode
- control what kind of tracing is initialized for the module
Daniel-Constantin Mierla [Tue, 7 Apr 2020 14:53:18 +0000 (16:53 +0200)]
siptrace: remove storage of trace_to_database value in shared memory
- not needed because it was not changed during runtime
- added some clang-format off/on for structures
Daniel-Constantin Mierla [Tue, 7 Apr 2020 14:37:38 +0000 (16:37 +0200)]
siptrace: renamed some global symbols for coherent prefixing
Kamailio Dev [Tue, 7 Apr 2020 10:46:16 +0000 (12:46 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]
Daniel-Constantin Mierla [Tue, 7 Apr 2020 10:33:04 +0000 (12:33 +0200)]
siptrace: docs updates for trace_mode parameter
Daniel-Constantin Mierla [Tue, 7 Apr 2020 10:29:55 +0000 (12:29 +0200)]
siptrace: trace_mode can be used to automatically store traffic to db or mirror via SIP URI
- used to be only for HEP (trace_mode = 1)
- trace_mode = 2 - store to database
- trace_mode = 4 - mirror via SIP to duplicate_uri
- the value can be a combination of these modes by summing up the
corresponding values
Kamailio Dev [Tue, 7 Apr 2020 08:16:24 +0000 (10:16 +0200)]
modules: readme files regenerated - rr ... [skip ci]
Daniel-Constantin Mierla [Tue, 7 Apr 2020 08:04:54 +0000 (10:04 +0200)]
rr: docs for loose_route_preloaded()
Daniel-Constantin Mierla [Tue, 7 Apr 2020 07:57:33 +0000 (09:57 +0200)]
rr: convenience furnction loose_route_preloaded()
- return 1 when Route header handling is ok for an initial request
(no-totag)
- return -1 in case of error or processing was for a request within
dialog
Kamailio Dev [Mon, 6 Apr 2020 19:31:11 +0000 (21:31 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]
Daniel-Constantin Mierla [Mon, 6 Apr 2020 18:54:46 +0000 (20:54 +0200)]
siptrace: docs updates for trace_mode and whitespacing
Daniel-Constantin Mierla [Mon, 6 Apr 2020 18:45:06 +0000 (20:45 +0200)]
siptrace: check trace_on value for core recv/send callbacks
- value was not tested, not considering the enable/disable control via rpc
Daniel-Constantin Mierla [Mon, 6 Apr 2020 18:43:57 +0000 (20:43 +0200)]
siptrace: docs - fix siptrace control command example in the overview
Daniel-Constantin Mierla [Mon, 6 Apr 2020 17:31:11 +0000 (19:31 +0200)]
tls: init local variables to avoid compile warnings
Federico Cabiddu [Mon, 6 Apr 2020 14:19:06 +0000 (16:19 +0200)]
Merge pull request #2273 from kamailio/grumvalski/siptrace_flag_fixes
siptrace flag fixes
Federico Cabiddu [Sun, 5 Apr 2020 15:13:46 +0000 (17:13 +0200)]
siptrace: skip sip_trace for ACK for negative replies if the original transaction is already being traced
Kamailio Dev [Sun, 5 Apr 2020 13:16:08 +0000 (15:16 +0200)]
modules: readme files regenerated - dispatcher ... [skip ci]
Daniel-Constantin Mierla [Sun, 5 Apr 2020 13:04:17 +0000 (15:04 +0200)]
dispatcher: added missing ending tag for para
Kamailio Dev [Sun, 5 Apr 2020 12:46:09 +0000 (14:46 +0200)]
modules: readme files regenerated - dispatcher ... [skip ci]
Daniel-Constantin Mierla [Sun, 5 Apr 2020 12:41:15 +0000 (14:41 +0200)]
dispatcher: docs for sockname attribute for destination records
Daniel-Constantin Mierla [Sun, 5 Apr 2020 12:35:40 +0000 (14:35 +0200)]
dispatcher: support for per destination address socket name attribute
- attribute name is: sockname
- if set to a socket name, enforce the send socket per destination
address
Daniel-Constantin Mierla [Sun, 5 Apr 2020 08:58:31 +0000 (10:58 +0200)]
tm: local uac support for using socket names
Daniel-Constantin Mierla [Sun, 5 Apr 2020 08:36:16 +0000 (10:36 +0200)]
dispatcher: docs for ds_default_sockname parameter
Daniel-Constantin Mierla [Sun, 5 Apr 2020 08:29:30 +0000 (10:29 +0200)]
dispatcher: new parameter ds_default_sockname
- allow to set default send socket by name
Daniel-Constantin Mierla [Sun, 5 Apr 2020 07:56:55 +0000 (09:56 +0200)]
Merge pull request #2268 from armenb/tls_escaped_ssl_cert
tls: add support for escaped cert PVs and select
Daniel-Constantin Mierla [Sat, 4 Apr 2020 17:50:40 +0000 (19:50 +0200)]
Merge pull request #2270 from goharahmed/master
kex: added process description for rpc command pkg.stats
Kamailio Dev [Sat, 4 Apr 2020 08:01:12 +0000 (10:01 +0200)]
modules: readme files regenerated - nat_traversal ... [skip ci]
Daniel-Constantin Mierla [Sat, 4 Apr 2020 07:48:03 +0000 (09:48 +0200)]
nat_traversal: docs for contact_match parameter
Daniel-Constantin Mierla [Sat, 4 Apr 2020 07:38:55 +0000 (09:38 +0200)]
nat_traversal: new marameter contact_match
- if set to 0 (default), match request-reply contacts with string
comparison (behaviour so far)
- if set to 1, use light uri comparison ( match uri type, user, host,
port and proto )
Daniel-Constantin Mierla [Sat, 4 Apr 2020 07:25:37 +0000 (09:25 +0200)]
core: functions for light comparison of uri values
- match uri type, user, host, port and proto, but skip params matching
Federico Cabiddu [Fri, 3 Apr 2020 11:03:56 +0000 (13:03 +0200)]
siptrace: don't trace CANCEL if the cancelled transaction is already being traced
Federico Cabiddu [Fri, 3 Apr 2020 09:59:50 +0000 (11:59 +0200)]
siptrace: trace incoming CANCEL into a dedicated callback
Federico Cabiddu [Fri, 3 Apr 2020 08:00:53 +0000 (10:00 +0200)]
siptrace: don't check if trace is off in ack for negative replies callback
Kamailio Dev [Fri, 3 Apr 2020 07:01:17 +0000 (09:01 +0200)]
modules: readme files regenerated - corex ... [skip ci]
Daniel-Constantin Mierla [Fri, 3 Apr 2020 06:48:17 +0000 (08:48 +0200)]
corex: docs for new functions to set send socket by name
Daniel-Constantin Mierla [Fri, 3 Apr 2020 06:42:59 +0000 (08:42 +0200)]
corex: functions to set socket by name
Daniel-Constantin Mierla [Fri, 3 Apr 2020 06:40:10 +0000 (08:40 +0200)]
kamctl: try to locate rpc fifo file in /var/run/ or /run/ folders
- cope better with old or non-linux systems
Daniel-Constantin Mierla [Thu, 2 Apr 2020 13:09:36 +0000 (15:09 +0200)]
rr: try to enforce send socket using name in Route URI params
- done when sockname_mode=1; if param not found or no socket matching
found, then it tries the classic socket lookup
Kamailio Dev [Thu, 2 Apr 2020 12:31:10 +0000 (14:31 +0200)]
modules: readme files regenerated - path ... [skip ci]
Daniel-Constantin Mierla [Thu, 2 Apr 2020 12:25:22 +0000 (14:25 +0200)]
rr: docs for sockname_mode param
Daniel-Constantin Mierla [Thu, 2 Apr 2020 12:24:54 +0000 (14:24 +0200)]
path: docs for sockname_mode param
Daniel-Constantin Mierla [Thu, 2 Apr 2020 12:18:30 +0000 (14:18 +0200)]
rr: new param sockname_mode
- if set to 1, socket name is added to Path URI in 'sn' param
Daniel-Constantin Mierla [Thu, 2 Apr 2020 12:17:36 +0000 (14:17 +0200)]
path: new param sockname_mode
- if set to 1, socket name is added to Path URI in 'sn' param
Daniel-Constantin Mierla [Thu, 2 Apr 2020 11:29:56 +0000 (13:29 +0200)]
core: new conditional lump types SUBST_RCV_ALL_EX and SUBST_SND_ALL_EX
- build conditional uri adding socket name in 'sn' param
Daniel-Constantin Mierla [Thu, 2 Apr 2020 10:22:51 +0000 (12:22 +0200)]
pv: new config variable $fsn - forced send socket name
- retrieve the name of the forced send socket
- setting the send socket can be done by assigning socket name:
$fsn = "sock1";
Daniel-Constantin Mierla [Thu, 2 Apr 2020 10:20:32 +0000 (12:20 +0200)]
core: function to search socket by name
Daniel-Constantin Mierla [Thu, 2 Apr 2020 09:38:01 +0000 (11:38 +0200)]
corex: print socket name in rpc command output
Daniel-Constantin Mierla [Thu, 2 Apr 2020 09:35:00 +0000 (11:35 +0200)]
core: support to asign names to listen sockets
- full format:
listen=proto:address:port advertise address:port name string
- example:
listen=udp:10.0.0.10:5060 advertise 1.2.3.4:5060 name "sock1"
- the value for the name has to be enclosed in quotes
- name can be provided also when advertise is not needed
Daniel-Constantin Mierla [Thu, 2 Apr 2020 09:27:13 +0000 (11:27 +0200)]
pv: kemi functions for xavu management
Daniel-Constantin Mierla [Thu, 2 Apr 2020 09:26:52 +0000 (11:26 +0200)]
core: function to remove an xavu child value
Gohar Ahmed [Thu, 2 Apr 2020 03:53:00 +0000 (03:53 +0000)]
kex: added process description for rpc command pkg.stats
Armen Babikyan [Tue, 31 Mar 2020 01:19:53 +0000 (18:19 -0700)]
tls: add support for urlencoded cert PVs and select
- new PVs: $tls_peer_raw_cert, $tls_peer_urlencoded_cert, $tls_my_raw_cert, $tls_my_urlencoded_cert
- new selects: @tls.peer.raw_cert, @tls.peer.urlencoded_cert, @tls.my.raw_cert, @tls.my.urlencoded_cert
Kamailio Dev [Wed, 1 Apr 2020 12:01:19 +0000 (14:01 +0200)]
modules: readme files regenerated - pv ... [skip ci]
Daniel-Constantin Mierla [Wed, 1 Apr 2020 11:48:43 +0000 (13:48 +0200)]
pv: docs for pv_xavu_print() function
Daniel-Constantin Mierla [Wed, 1 Apr 2020 11:47:21 +0000 (13:47 +0200)]
pv: config and kemi functions to print xavu vars
Daniel-Constantin Mierla [Wed, 1 Apr 2020 11:43:55 +0000 (13:43 +0200)]
core: exposed xavu_print_list() function
Daniel-Constantin Mierla [Wed, 1 Apr 2020 11:37:08 +0000 (13:37 +0200)]
pv: $xavu(...) config variables implementation
- single (unique) value variables similar to $xavp(...)
- support for root list values: $xavu(x)
- support for child list values: $xavu(x=>y)
- values can be int or string
- assign to $null deletes the $xavu(...)
Daniel-Constantin Mierla [Wed, 1 Apr 2020 11:36:24 +0000 (13:36 +0200)]
core: function to print xavus for debugging
Daniel-Constantin Mierla [Wed, 1 Apr 2020 08:43:21 +0000 (10:43 +0200)]
tm: process xavu list in transaction contexts
Daniel-Constantin Mierla [Wed, 1 Apr 2020 08:42:04 +0000 (10:42 +0200)]
core: receive - reset xavu list after message processing
Daniel-Constantin Mierla [Wed, 1 Apr 2020 08:40:38 +0000 (10:40 +0200)]
core: pv - define xavu types
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
Kamailio Dev [Tue, 31 Mar 2020 09:31:21 +0000 (11:31 +0200)]
modules: readme files regenerated - tcpops ... [skip ci]
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
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
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
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
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)
Daniel-Constantin Mierla [Tue, 31 Mar 2020 07:11:40 +0000 (09:11 +0200)]
core: parser - removed temporarily remark for module reserved internal flags
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.
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.
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
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
Kamailio Dev [Sun, 29 Mar 2020 15:31:14 +0000 (17:31 +0200)]
modules: readme files regenerated - usrloc ... [skip ci]
Daniel-Constantin Mierla [Sun, 29 Mar 2020 15:30:03 +0000 (17:30 +0200)]
usrloc: docs - updates for ka_loglevel and ka_logmsg params
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
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'
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
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
Henning Westerholt [Sun, 29 Mar 2020 09:27:07 +0000 (11:27 +0200)]
lib/srdb1: fix warning about wrong namespace in version.xml
Kamailio Dev [Sat, 28 Mar 2020 09:31:12 +0000 (10:31 +0100)]
modules: readme files regenerated - usrloc ... [skip ci]
Daniel-Constantin Mierla [Sat, 28 Mar 2020 09:11:28 +0000 (10:11 +0100)]
usrloc: docs for ka_loglevel and ka_logmsg params
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