sip-router
3 months agoMerge pull request #2279 from kamailio/grumvalski/dlg_briefing_ext
Federico Cabiddu [Thu, 9 Apr 2020 03:14:47 +0000 (05:14 +0200)]
Merge pull request #2279 from kamailio/grumvalski/dlg_briefing_ext

dialog: add dialog init, start end end timestamps to the output of dl…

3 months agoMerge pull request #2275 from kamailio/grumvalski/ds_outbound_proxy
Federico Cabiddu [Thu, 9 Apr 2020 03:12:58 +0000 (05:12 +0200)]
Merge pull request #2275 from kamailio/grumvalski/ds_outbound_proxy

Grumvalski/ds outbound proxy

3 months agoMerge pull request #2278 from kamailio/grumvalski/siptrace_ack_fix
Federico Cabiddu [Thu, 9 Apr 2020 03:11:06 +0000 (05:11 +0200)]
Merge pull request #2278 from kamailio/grumvalski/siptrace_ack_fix

siptrace: safety check for transaction when checking ACK

3 months agogithub: document precise GPLv2 version that we use in Kamailio (GPLv2 "or later")
Henning Westerholt [Wed, 8 Apr 2020 19:55:14 +0000 (19:55 +0000)]
github: document precise GPLv2 version that we use in Kamailio (GPLv2 "or later")

3 months agodialog: add dialog init, start and end timestamps to the output of dlg.briefing 2279/head
Federico Cabiddu [Wed, 8 Apr 2020 13:52:29 +0000 (15:52 +0200)]
dialog: add dialog init, start and end timestamps to the output of dlg.briefing

3 months agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Wed, 8 Apr 2020 13:01:09 +0000 (15:01 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

3 months agosiptrace: docs for send_sock_name parameter
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)

3 months agosiptrace: send_sock_name - new parameter to specify send socket by name
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

3 months agosiptrace: search the send sock socket modparam in mod init
Daniel-Constantin Mierla [Wed, 8 Apr 2020 12:40:54 +0000 (14:40 +0200)]
siptrace: search the send sock socket modparam in mod init

3 months agosiptrace: safety check for transaction when checking ACK 2278/head
Federico Cabiddu [Wed, 8 Apr 2020 12:40:17 +0000 (14:40 +0200)]
siptrace: safety check for transaction when checking ACK

3 months agomodules: readme files regenerated - rr ... [skip ci]
Kamailio Dev [Wed, 8 Apr 2020 10:46:24 +0000 (12:46 +0200)]
modules: readme files regenerated - rr ... [skip ci]

3 months agorr: docs - updated ids for xref linkend
Daniel-Constantin Mierla [Wed, 8 Apr 2020 10:45:07 +0000 (12:45 +0200)]
rr: docs - updated ids for xref linkend

3 months agorr: exported record_route_advertised_address() to kemi
Daniel-Constantin Mierla [Wed, 8 Apr 2020 06:48:55 +0000 (08:48 +0200)]
rr: exported record_route_advertised_address() to kemi

3 months agosiptrace: skip grepping local socket till sending function
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

3 months agomodules: readme files regenerated - dialog ... [skip ci]
Kamailio Dev [Wed, 8 Apr 2020 02:16:09 +0000 (04:16 +0200)]
modules: readme files regenerated - dialog ... [skip ci]

3 months agoMerge pull request #2272 from kamailio/jchavanton/dlg_dump
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

3 months agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Tue, 7 Apr 2020 16:31:11 +0000 (18:31 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

3 months agosiptrace: docs - fixed missing ending para tag
Daniel-Constantin Mierla [Tue, 7 Apr 2020 16:29:49 +0000 (18:29 +0200)]
siptrace: docs - fixed missing ending para tag

3 months agosiptrace: fixed missing extern declarations of global parameters
Daniel-Constantin Mierla [Tue, 7 Apr 2020 16:27:39 +0000 (18:27 +0200)]
siptrace: fixed missing extern declarations of global parameters

3 months agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Tue, 7 Apr 2020 16:01:17 +0000 (18:01 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

3 months agosiptrace: use the send socket also for duplication via sip
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

3 months agosiptrace: removed storage of xheaders read/write flags in shared memory
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

3 months agodialog: adding dlg.dump 2272/head
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

3 months agosiptrace: docs for trace_init_mode parameter
Daniel-Constantin Mierla [Tue, 7 Apr 2020 15:35:25 +0000 (17:35 +0200)]
siptrace: docs for trace_init_mode parameter

3 months agosiptrace: new parameter trace_init_mode
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

3 months agosiptrace: remove storage of trace_to_database value in shared memory
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

3 months agosiptrace: renamed some global symbols for coherent prefixing
Daniel-Constantin Mierla [Tue, 7 Apr 2020 14:37:38 +0000 (16:37 +0200)]
siptrace: renamed some global symbols for coherent prefixing

3 months agodispatcher: docs for obproxy attr 2275/head
Federico Cabiddu [Tue, 7 Apr 2020 13:18:34 +0000 (15:18 +0200)]
dispatcher: docs for obproxy attr

3 months agodispatcher: add new gateway attr "obproxy"
Federico Cabiddu [Tue, 7 Apr 2020 12:37:29 +0000 (14:37 +0200)]
dispatcher: add new gateway attr "obproxy"

3 months agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Tue, 7 Apr 2020 10:46:16 +0000 (12:46 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

3 months agosiptrace: docs updates for trace_mode parameter
Daniel-Constantin Mierla [Tue, 7 Apr 2020 10:33:04 +0000 (12:33 +0200)]
siptrace: docs updates for trace_mode parameter

3 months agosiptrace: trace_mode can be used to automatically store traffic to db or mirror via...
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

3 months agomodules: readme files regenerated - rr ... [skip ci]
Kamailio Dev [Tue, 7 Apr 2020 08:16:24 +0000 (10:16 +0200)]
modules: readme files regenerated - rr ... [skip ci]

3 months agorr: docs for loose_route_preloaded()
Daniel-Constantin Mierla [Tue, 7 Apr 2020 08:04:54 +0000 (10:04 +0200)]
rr: docs for loose_route_preloaded()

3 months agorr: convenience furnction 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

3 months agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Mon, 6 Apr 2020 19:31:11 +0000 (21:31 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

3 months agosiptrace: docs updates for trace_mode and whitespacing
Daniel-Constantin Mierla [Mon, 6 Apr 2020 18:54:46 +0000 (20:54 +0200)]
siptrace: docs updates for trace_mode and whitespacing

3 months agosiptrace: check trace_on value for core recv/send callbacks
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

3 months agosiptrace: docs - fix siptrace control command example in the overview
Daniel-Constantin Mierla [Mon, 6 Apr 2020 18:43:57 +0000 (20:43 +0200)]
siptrace: docs - fix siptrace control command example in the overview

3 months agotls: init local variables to avoid compile warnings
Daniel-Constantin Mierla [Mon, 6 Apr 2020 17:31:11 +0000 (19:31 +0200)]
tls: init local variables to avoid compile warnings

3 months agoMerge pull request #2273 from kamailio/grumvalski/siptrace_flag_fixes
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

3 months agosiptrace: skip sip_trace for ACK for negative replies if the original transaction... 2273/head
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

3 months agomodules: readme files regenerated - dispatcher ... [skip ci]
Kamailio Dev [Sun, 5 Apr 2020 13:16:08 +0000 (15:16 +0200)]
modules: readme files regenerated - dispatcher ... [skip ci]

3 months agodispatcher: added missing ending tag for para
Daniel-Constantin Mierla [Sun, 5 Apr 2020 13:04:17 +0000 (15:04 +0200)]
dispatcher: added missing ending tag for para

3 months agomodules: readme files regenerated - dispatcher ... [skip ci]
Kamailio Dev [Sun, 5 Apr 2020 12:46:09 +0000 (14:46 +0200)]
modules: readme files regenerated - dispatcher ... [skip ci]

3 months agodispatcher: docs for sockname attribute for destination records
Daniel-Constantin Mierla [Sun, 5 Apr 2020 12:41:15 +0000 (14:41 +0200)]
dispatcher: docs for sockname attribute for destination records

3 months agodispatcher: support for per destination address socket name attribute
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

3 months agotm: local uac support for using socket names
Daniel-Constantin Mierla [Sun, 5 Apr 2020 08:58:31 +0000 (10:58 +0200)]
tm: local uac support for using socket names

3 months agodispatcher: docs for ds_default_sockname parameter
Daniel-Constantin Mierla [Sun, 5 Apr 2020 08:36:16 +0000 (10:36 +0200)]
dispatcher: docs for ds_default_sockname parameter

3 months agodispatcher: new parameter ds_default_sockname
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

3 months agoMerge pull request #2268 from armenb/tls_escaped_ssl_cert
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

3 months agoMerge pull request #2270 from goharahmed/master
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

3 months agomodules: readme files regenerated - nat_traversal ... [skip ci]
Kamailio Dev [Sat, 4 Apr 2020 08:01:12 +0000 (10:01 +0200)]
modules: readme files regenerated - nat_traversal ... [skip ci]

3 months agonat_traversal: docs for contact_match parameter
Daniel-Constantin Mierla [Sat, 4 Apr 2020 07:48:03 +0000 (09:48 +0200)]
nat_traversal: docs for contact_match parameter

3 months agonat_traversal: new marameter contact_match
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 )

3 months agocore: functions for light comparison of uri values
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

3 months agosiptrace: don't trace CANCEL if the cancelled transaction is already being traced
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

3 months agosiptrace: trace incoming CANCEL into a dedicated callback
Federico Cabiddu [Fri, 3 Apr 2020 09:59:50 +0000 (11:59 +0200)]
siptrace: trace incoming CANCEL into a dedicated callback

3 months agosiptrace: don't check if trace is off in ack for negative replies 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

3 months agomodules: readme files regenerated - corex ... [skip ci]
Kamailio Dev [Fri, 3 Apr 2020 07:01:17 +0000 (09:01 +0200)]
modules: readme files regenerated - corex ... [skip ci]

3 months agocorex: docs for new functions to set send socket by name
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

3 months agocorex: functions to set socket by name
Daniel-Constantin Mierla [Fri, 3 Apr 2020 06:42:59 +0000 (08:42 +0200)]
corex: functions to set socket by name

3 months agokamctl: try to locate rpc fifo file in /var/run/ or /run/ folders
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

3 months agorr: try to enforce send socket using name in Route URI params
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

3 months agomodules: readme files regenerated - path ... [skip ci]
Kamailio Dev [Thu, 2 Apr 2020 12:31:10 +0000 (14:31 +0200)]
modules: readme files regenerated - path ... [skip ci]

3 months agorr: docs for sockname_mode param
Daniel-Constantin Mierla [Thu, 2 Apr 2020 12:25:22 +0000 (14:25 +0200)]
rr: docs for sockname_mode param

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

3 months agorr: new param sockname_mode
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

3 months agopath: new param sockname_mode
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

3 months agocore: new conditional lump types SUBST_RCV_ALL_EX and SUBST_SND_ALL_EX
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

3 months agopv: new config variable $fsn - forced send socket name
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";

3 months agocore: function to search socket by name
Daniel-Constantin Mierla [Thu, 2 Apr 2020 10:20:32 +0000 (12:20 +0200)]
core: function to search socket by name

3 months agocorex: print socket name in rpc command output
Daniel-Constantin Mierla [Thu, 2 Apr 2020 09:38:01 +0000 (11:38 +0200)]
corex: print socket name in rpc command output

3 months agocore: support to asign names to listen sockets
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

3 months agopv: kemi functions for xavu management
Daniel-Constantin Mierla [Thu, 2 Apr 2020 09:27:13 +0000 (11:27 +0200)]
pv: kemi functions for xavu management

3 months agocore: function to remove an xavu child value
Daniel-Constantin Mierla [Thu, 2 Apr 2020 09:26:52 +0000 (11:26 +0200)]
core: function to remove an xavu child value

3 months agokex: added process description for rpc command pkg.stats 2270/head
Gohar Ahmed [Thu, 2 Apr 2020 03:53:00 +0000 (03:53 +0000)]
kex: added process description for rpc command pkg.stats

3 months agotls: add support for urlencoded cert PVs and select 2268/head
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

3 months agomodules: readme files regenerated - pv ... [skip ci]
Kamailio Dev [Wed, 1 Apr 2020 12:01:19 +0000 (14:01 +0200)]
modules: readme files regenerated - pv ... [skip ci]

3 months agopv: docs for pv_xavu_print() function
Daniel-Constantin Mierla [Wed, 1 Apr 2020 11:48:43 +0000 (13:48 +0200)]
pv: docs for pv_xavu_print() function

3 months agopv: config and kemi functions to print xavu vars
Daniel-Constantin Mierla [Wed, 1 Apr 2020 11:47:21 +0000 (13:47 +0200)]
pv: config and kemi functions to print xavu vars

3 months agocore: exposed xavu_print_list() function
Daniel-Constantin Mierla [Wed, 1 Apr 2020 11:43:55 +0000 (13:43 +0200)]
core: exposed xavu_print_list() function

3 months agopv: $xavu(...) config variables implementation
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(...)

3 months agocore: function to print xavus for debugging
Daniel-Constantin Mierla [Wed, 1 Apr 2020 11:36:24 +0000 (13:36 +0200)]
core: function to print xavus for debugging

3 months agotm: process xavu list in transaction contexts
Daniel-Constantin Mierla [Wed, 1 Apr 2020 08:43:21 +0000 (10:43 +0200)]
tm: process xavu list in transaction contexts

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]