kamailio
10 months agoapp_ruby: proper push of int values to Ruby for xval function return
Daniel-Constantin Mierla [Tue, 6 Aug 2019 14:44:25 +0000 (16:44 +0200)]
app_ruby: proper push of int values to Ruby for xval function return

10 months agocorex: fix parser for alias_subdomain modparam, extend debugging output
Henning Westerholt [Tue, 6 Aug 2019 07:44:38 +0000 (09:44 +0200)]
corex: fix parser for alias_subdomain modparam, extend debugging output

- fix parser for alias_subdomain modparam, it was not working correctly for
  all proto:hostname:port combinations (e.g. hostname/proto mixed up)
- extend debugging output for alias adding and also alias matching

11 months agomodules: readme files regenerated - app_ruby ... [skip ci]
Kamailio Dev [Mon, 5 Aug 2019 16:31:42 +0000 (18:31 +0200)]
modules: readme files regenerated - app_ruby ... [skip ci]

11 months agoapp_ruby: docs - fix rpc command name for listing the api
Daniel-Constantin Mierla [Mon, 5 Aug 2019 16:29:42 +0000 (18:29 +0200)]
app_ruby: docs - fix rpc command name for listing the api

11 months agoapp_ruby: print pointers in error log message
Daniel-Constantin Mierla [Mon, 5 Aug 2019 16:11:00 +0000 (18:11 +0200)]
app_ruby: print pointers in error log message

11 months agouac: debug messages when restoring from/to headers
Daniel-Constantin Mierla [Mon, 5 Aug 2019 16:03:47 +0000 (18:03 +0200)]
uac: debug messages when restoring from/to headers

11 months agodomain: fix memory leak on domain reload (related to domain_attr table, struct domain...
Henning Westerholt [Sun, 4 Aug 2019 19:12:48 +0000 (21:12 +0200)]
domain: fix memory leak on domain reload (related to domain_attr table, struct domain_list)

- fix memory leak on domain reload, reported by Mack Hendricks
- related to domain_attr table, structure domain_list

11 months agotm: remove CANCEL_REASON_SUPPORT #define, activated as default since 2010
Henning Westerholt [Fri, 2 Aug 2019 19:36:05 +0000 (21:36 +0200)]
tm: remove CANCEL_REASON_SUPPORT #define, activated as default since 2010

- remove CANCEL_REASON_SUPPORT #define from module
- remove now unneeded defs.h include file
- activated as default since commit bf5d1d6f1df303019ccf4 in 2010
- tm does not compile anymore if deactivated

11 months agotm: removed unused error label in prepare_new_uac()
Daniel-Constantin Mierla [Fri, 2 Aug 2019 11:43:36 +0000 (13:43 +0200)]
tm: removed unused error label in prepare_new_uac()

11 months agocore: kemi - functions to get headers by name and index
Daniel-Constantin Mierla [Fri, 2 Aug 2019 11:10:10 +0000 (13:10 +0200)]
core: kemi - functions to get headers by name and index

11 months agotm: proper resoring of backup lumps in case of cloning failure
Daniel-Constantin Mierla [Thu, 1 Aug 2019 11:54:21 +0000 (13:54 +0200)]
tm: proper resoring of backup lumps in case of cloning failure

11 months agobuild: Call make via $(MAKE)
Guillem Jover [Mon, 29 Jul 2019 18:15:47 +0000 (20:15 +0200)]
build: Call make via $(MAKE)

When we need to call make from within a Makefile, we should do so by
using the MAKE variable, which has special meaning for make itself.
This makes sure, it will get marked as recursive command, and will
make it possible to use the make jobserver.

Change-Id: I6829f3ee0a830fc8273e1dffe696382fccc6a093

11 months agokemix: functions to get status code for reply
Daniel-Constantin Mierla [Thu, 1 Aug 2019 09:15:26 +0000 (11:15 +0200)]
kemix: functions to get status code for reply

11 months agokemix: exported KSR.kx.get_method() - return sip method string
Daniel-Constantin Mierla [Thu, 1 Aug 2019 09:08:38 +0000 (11:08 +0200)]
kemix: exported KSR.kx.get_method() - return sip method string

11 months agokemix: fix for get protoid function
Daniel-Constantin Mierla [Thu, 1 Aug 2019 09:01:22 +0000 (11:01 +0200)]
kemix: fix for get protoid function

11 months agocore: kemi - exported KSR.get_debug()
Daniel-Constantin Mierla [Wed, 31 Jul 2019 15:16:26 +0000 (17:16 +0200)]
core: kemi - exported KSR.get_debug()

- return debug level for config

11 months agocore: helper function to get debug level for logging from config
Daniel-Constantin Mierla [Wed, 31 Jul 2019 13:45:16 +0000 (15:45 +0200)]
core: helper function to get debug level for logging from config

11 months agomodules: readme files regenerated - htable ... [skip ci]
Kamailio Dev [Wed, 31 Jul 2019 10:46:44 +0000 (12:46 +0200)]
modules: readme files regenerated - htable ... [skip ci]

11 months agomisc/examples/kemi: updated lua script to use dedicated functions
Daniel-Constantin Mierla [Wed, 31 Jul 2019 10:42:23 +0000 (12:42 +0200)]
misc/examples/kemi: updated lua script to use dedicated functions

- replaced fetch of variables with dedicated functions for flood
detection

11 months agohtable: docs - updates to new function names for matching items
Daniel-Constantin Mierla [Wed, 31 Jul 2019 10:40:45 +0000 (12:40 +0200)]
htable: docs - updates to new function names for matching items

11 months agohtable: renamed the new functions to match on name or value of items
Daniel-Constantin Mierla [Wed, 31 Jul 2019 10:40:17 +0000 (12:40 +0200)]
htable: renamed the new functions to match on name or value of items

11 months agomodules: readme files regenerated - db_redis ... [skip ci]
Kamailio Dev [Wed, 31 Jul 2019 09:17:27 +0000 (11:17 +0200)]
modules: readme files regenerated - db_redis ... [skip ci]

11 months agodb_redis: note about defining key when updating table content
Daniel-Constantin Mierla [Wed, 31 Jul 2019 09:04:21 +0000 (11:04 +0200)]
db_redis: note about defining key when updating table content

11 months agousrloc: use static record for expires callback in db-only mode
Daniel-Constantin Mierla [Tue, 30 Jul 2019 14:58:45 +0000 (16:58 +0200)]
usrloc: use static record for expires callback in db-only mode

11 months agoutils/kamcmd: default port is 2049, adapt help and README
Henning Westerholt [Tue, 30 Jul 2019 14:37:20 +0000 (16:37 +0200)]
utils/kamcmd: default port is 2049, adapt help and README

11 months agomodules: readme files regenerated - tm ... [skip ci]
Kamailio Dev [Tue, 30 Jul 2019 11:46:54 +0000 (13:46 +0200)]
modules: readme files regenerated - tm ... [skip ci]

11 months agotm: remove TM_DIFF_RT_TIMEOUT #define, default since 2007 (commit c0ff60b6887248)
Henning Westerholt [Tue, 30 Jul 2019 11:37:19 +0000 (13:37 +0200)]
tm: remove TM_DIFF_RT_TIMEOUT #define, default since 2007 (commit c0ff60b6887248)

- remove TM_DIFF_RT_TIMEOUT #define, this was enabled and default since 2007
- this define could be used to deactivate different timeouts per transaction
- introduced in commit c0ff60b6887248

11 months agomodules: readme files regenerated - tm ... [skip ci]
Kamailio Dev [Tue, 30 Jul 2019 11:16:57 +0000 (13:16 +0200)]
modules: readme files regenerated - tm ... [skip ci]

11 months agotm: remove obselete parameter delete_timer after cleanup in commit 3eeec9a7ec11ae
Henning Westerholt [Tue, 30 Jul 2019 11:13:35 +0000 (13:13 +0200)]
tm: remove obselete parameter delete_timer after cleanup in commit 3eeec9a7ec11ae

11 months agotm: remove old timer based transaction delete functionality, not active since 2007
Henning Westerholt [Tue, 30 Jul 2019 11:06:48 +0000 (13:06 +0200)]
tm: remove old timer based transaction delete functionality, not active since 2007

- remove old timer based transaction delete functionality
- the current implementation is active since 2007 (commit e67d950955e5dc3d)
- remove related TM_DEL_UNREF #defines and #ifdef

11 months agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Tue, 30 Jul 2019 07:32:15 +0000 (09:32 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

11 months agosiptrace: fix order of parameter for sip_trace function, add listitem structure
Henning Westerholt [Tue, 30 Jul 2019 07:22:25 +0000 (09:22 +0200)]
siptrace: fix order of parameter for sip_trace function, add listitem structure

11 months agopkg/kamailio/deb: version set 5.3.0~dev7
Victor Seva [Mon, 29 Jul 2019 15:30:29 +0000 (17:30 +0200)]
pkg/kamailio/deb: version set 5.3.0~dev7

11 months agocore: skip to-tag when computing via branch for invite, ack and cancel
Daniel-Constantin Mierla [Mon, 29 Jul 2019 11:51:57 +0000 (13:51 +0200)]
core: skip to-tag when computing via branch for invite, ack and cancel

- proper functionality for stateless proxy in case of negative ACK (in
this case the INVITE has no To-tag, but ACK has it and resulted in
different via branch, making downstream proxy to not match transaction)

11 months agokamctl: option to enable kamctl test from shell variable
Daniel-Constantin Mierla [Mon, 29 Jul 2019 10:25:17 +0000 (12:25 +0200)]
kamctl: option to enable kamctl test from shell variable

- set KAMCTL_TEST variable in shell

11 months agousrloc: delete contact attributes in db-only mode
Daniel-Constantin Mierla [Mon, 29 Jul 2019 08:54:41 +0000 (10:54 +0200)]
usrloc: delete contact attributes in db-only mode

11 months agousrloc: coherent indentation and whitespacing
Daniel-Constantin Mierla [Mon, 29 Jul 2019 08:40:56 +0000 (10:40 +0200)]
usrloc: coherent indentation and whitespacing

11 months agoMakefile.defs: version set to 5.3.0-dev7
Daniel-Constantin Mierla [Mon, 29 Jul 2019 08:02:31 +0000 (10:02 +0200)]
Makefile.defs: version set to 5.3.0-dev7

11 months agoapp_sqlang: disabled unused static function
Daniel-Constantin Mierla [Mon, 29 Jul 2019 07:46:53 +0000 (09:46 +0200)]
app_sqlang: disabled unused static function

11 months agokemix: fix export of gete_fhost()
Daniel-Constantin Mierla [Mon, 29 Jul 2019 07:44:18 +0000 (09:44 +0200)]
kemix: fix export of gete_fhost()

11 months agomodules: readme files regenerated - db_text ... [skip ci]
Kamailio Dev [Sun, 28 Jul 2019 19:46:42 +0000 (21:46 +0200)]
modules: readme files regenerated - db_text ... [skip ci]

11 months agodb_text: small fix in docs
Henning Westerholt [Sun, 28 Jul 2019 19:44:50 +0000 (21:44 +0200)]
db_text: small fix in docs

11 months agomodules: readme files regenerated - async ... [skip ci]
Kamailio Dev [Sun, 28 Jul 2019 18:01:40 +0000 (20:01 +0200)]
modules: readme files regenerated - async ... [skip ci]

11 months agoasync: small extension of the description for the ms_timer parameter
Henning Westerholt [Sun, 28 Jul 2019 17:52:44 +0000 (19:52 +0200)]
async: small extension of the description for the ms_timer parameter

11 months agoasync: small adaption of new ms timer to the existing timer logging
Henning Westerholt [Sun, 28 Jul 2019 17:51:29 +0000 (19:51 +0200)]
async: small adaption of new ms timer to the existing timer logging

11 months agomodules: readme files regenerated - async ... [skip ci]
Kamailio Dev [Sun, 28 Jul 2019 14:46:37 +0000 (16:46 +0200)]
modules: readme files regenerated - async ... [skip ci]

11 months agoasync: docs - use > instead of > in example for valid xml syntax
Daniel-Constantin Mierla [Sun, 28 Jul 2019 14:41:04 +0000 (16:41 +0200)]
async: docs - use > instead of > in example for valid xml syntax

- coherent white spacing

11 months agoasync: coherent indentation and white spacing
Daniel-Constantin Mierla [Sun, 28 Jul 2019 14:40:25 +0000 (16:40 +0200)]
async: coherent indentation and white spacing

11 months agomodules: readme files regenerated - async ... [skip ci]
Kamailio Dev [Sun, 28 Jul 2019 14:31:36 +0000 (16:31 +0200)]
modules: readme files regenerated - async ... [skip ci]

11 months agosync: added support for millisecond resolution sleep
Paweł Pierścionek [Sun, 28 Jul 2019 12:45:16 +0000 (14:45 +0200)]
sync: added support for millisecond resolution sleep

- new ms_timer parameter to enable millisecond precision timer
- new async_ms_route and async_ms_sleep functions with milliseconds as a param
- implementation:
  Each async_ms_sleep adds an entry to a linked list sorted by expiry time.
  List is checked every ms_timer ms for expired entries.
  All expired entries are pushed for execution on a pool of async workers.

11 months agoasync: added support for millisecond resolution sleep
Paweł Pierścionek [Sat, 27 Jul 2019 21:07:10 +0000 (23:07 +0200)]
async: added support for millisecond resolution sleep

- new ms_timer parameter to enable millisecond precision timer
- new async_ms_route and async_ms_sleep functions with milliseconds as a param
- implementation:
  Each async_ms_sleep adds an entry to a linked list sorted by expiry time.
  List is checked every ms_timer ms for expired entries.
  All expired entries are pushed for execution on a pool of async workers.

11 months agopkg/kamailio/alpine: backported python3 ruby openrc subpackaging from alpine repo
Sergey Safarov [Mon, 22 Jul 2019 10:55:55 +0000 (13:55 +0300)]
pkg/kamailio/alpine: backported python3 ruby openrc subpackaging from alpine repo

Reference commit
https://github.com/alpinelinux/aports/commit/280b4b05da6dff3980267a0d27b228f0e47a5755#diff-75216d130f5872b5775d4e035eadd419

11 months agomodules: readme files regenerated - mohqueue ... [skip ci]
Kamailio Dev [Fri, 26 Jul 2019 17:47:18 +0000 (19:47 +0200)]
modules: readme files regenerated - mohqueue ... [skip ci]

11 months agomohqueue: small fixes for header check
Robert Boisvert [Fri, 26 Jul 2019 17:41:04 +0000 (13:41 -0400)]
mohqueue: small fixes for header check

- updated to v1.6
- handle change to register_tmcb ()
- updated copyright
- header check stops at semicolon

11 months agomodules: readme files regenerated - tm ... [skip ci]
Kamailio Dev [Tue, 23 Jul 2019 08:36:04 +0000 (10:36 +0200)]
modules: readme files regenerated - tm ... [skip ci]

11 months agotm: add missing docs about event_route[tm:local-request], GH #980
Henning Westerholt [Mon, 22 Jul 2019 19:13:54 +0000 (21:13 +0200)]
tm: add missing docs about event_route[tm:local-request], GH #980

11 months agopkg/docker: Updated alpine docker submodule [skip ci]
Sergey Safarov [Mon, 22 Jul 2019 14:26:13 +0000 (17:26 +0300)]
pkg/docker: Updated alpine docker submodule [skip ci]

11 months agouac: minor spelling fix in docs
Henning Westerholt [Sun, 21 Jul 2019 09:51:01 +0000 (11:51 +0200)]
uac: minor spelling fix in docs

11 months agokemix: exported functions to get auth username
Daniel-Constantin Mierla [Sun, 21 Jul 2019 06:56:39 +0000 (08:56 +0200)]
kemix: exported functions to get auth username

11 months agoevapi: adjust log message when no client connected for dispatching
Daniel-Constantin Mierla [Fri, 19 Jul 2019 08:03:53 +0000 (10:03 +0200)]
evapi: adjust log message when no client connected for dispatching

11 months agoMerge pull request #2013 from surendratiwari3/no_evapi_client_send_failed
Daniel-Constantin Mierla [Fri, 19 Jul 2019 07:56:45 +0000 (09:56 +0200)]
Merge pull request #2013 from surendratiwari3/no_evapi_client_send_failed

evapi:return code and log fixed for no evapi client while sending

11 months agocore: pv - increased the size for vars and transformations tables
Daniel-Constantin Mierla [Fri, 19 Jul 2019 07:50:21 +0000 (09:50 +0200)]
core: pv - increased the size for vars and transformations tables

11 months agoevapi:return code and log fixed for no evapi client while sending 2013/head
Surendra Tiwari [Fri, 19 Jul 2019 07:37:32 +0000 (13:07 +0530)]
evapi:return code and log fixed for no evapi client while sending

11 months agocorex: debug message for set rcv/snd sock functions
Daniel-Constantin Mierla [Thu, 18 Jul 2019 06:46:27 +0000 (08:46 +0200)]
corex: debug message for set rcv/snd sock functions

11 months agocore: debug message for forcing send socket action
Daniel-Constantin Mierla [Thu, 18 Jul 2019 06:41:29 +0000 (08:41 +0200)]
core: debug message for forcing send socket action

11 months agopv: debug message when seting $fs (send socket)
Daniel-Constantin Mierla [Thu, 18 Jul 2019 06:34:31 +0000 (08:34 +0200)]
pv: debug message when seting $fs (send socket)

11 months agomodules: readme files regenerated - dialog ... [skip ci]
Kamailio Dev [Tue, 16 Jul 2019 10:21:20 +0000 (12:21 +0200)]
modules: readme files regenerated - dialog ... [skip ci]

11 months agodialog: fix another issue (wrong section) in docs
Henning Westerholt [Tue, 16 Jul 2019 10:02:19 +0000 (12:02 +0200)]
dialog: fix another issue (wrong section) in docs

11 months agodialog: fix syntax error in doc after commit 0b3562ace82e0
Henning Westerholt [Tue, 16 Jul 2019 09:56:29 +0000 (11:56 +0200)]
dialog: fix syntax error in doc after commit 0b3562ace82e0

11 months agomodules: readme files regenerated - acc ... [skip ci]
Kamailio Dev [Tue, 16 Jul 2019 09:23:08 +0000 (11:23 +0200)]
modules: readme files regenerated - acc ... [skip ci]

11 months agotcpops: Fix the example documentation for tcp_get_conid
Niall McAndrew [Mon, 15 Jul 2019 22:53:47 +0000 (10:53 +1200)]
tcpops: Fix the example documentation for tcp_get_conid

11 months agodialog: Add setting to loop BYE through proxy
Alex Hermann [Thu, 10 Jul 2014 10:56:49 +0000 (12:56 +0200)]
dialog: Add setting to loop BYE through proxy

The setting "keep_proxy_rr" will add the Record-Route headers added by the
proxy to the route_set stored in the dialog. When in use, sending locally
generated in-dialog requests will loop back to the proxy with a proper
Record-Route header, including any parameters.

11 months agoims_usrloc_pcscf: fix code formatting after merge commit 57961c9f
Henning Westerholt [Mon, 15 Jul 2019 19:03:39 +0000 (21:03 +0200)]
ims_usrloc_pcscf: fix code formatting after merge commit 57961c9f

11 months agoims_ipsec_pcscf: fix code formatting after merge commit 57961c9f
Henning Westerholt [Mon, 15 Jul 2019 18:52:41 +0000 (20:52 +0200)]
ims_ipsec_pcscf: fix code formatting after merge commit 57961c9f

11 months agoims_ipsec_pcscf: remove commented out code after merge commit 57961c9f
Henning Westerholt [Mon, 15 Jul 2019 18:52:03 +0000 (20:52 +0200)]
ims_ipsec_pcscf: remove commented out code after merge commit 57961c9f

11 months agoims_registrar_pcscf: remove commented out code after merge 57961c9f
Henning Westerholt [Mon, 15 Jul 2019 18:37:46 +0000 (20:37 +0200)]
ims_registrar_pcscf: remove commented out code after merge 57961c9f

11 months agoims_registrar_pcscf: fix code formatting after merge 57961c9f
Henning Westerholt [Mon, 15 Jul 2019 18:35:45 +0000 (20:35 +0200)]
ims_registrar_pcscf: fix code formatting after merge 57961c9f

11 months agoMerge pull request #2001 from alexyosifov/ipsec_tcp_multiple_conns
Tsvetomir Dimitrov [Mon, 15 Jul 2019 16:41:34 +0000 (19:41 +0300)]
Merge pull request #2001 from alexyosifov/ipsec_tcp_multiple_conns

Ipsec tcp multiple conns

11 months agosiputils: log method ids on mismatch for options_reply()
Daniel-Constantin Mierla [Mon, 15 Jul 2019 15:24:14 +0000 (17:24 +0200)]
siputils: log method ids on mismatch for options_reply()

11 months agosiputils: exported options_reply() to kemi framework
Daniel-Constantin Mierla [Mon, 15 Jul 2019 14:41:22 +0000 (16:41 +0200)]
siputils: exported options_reply() to kemi framework

11 months agortpengine: fix error output on send_rtpp_command()
Victor Seva [Mon, 15 Jul 2019 10:09:00 +0000 (12:09 +0200)]
rtpengine: fix error output on send_rtpp_command()

* rename out variable to cmd due to We already have an out goto label

11 months agodispatcher: small spelling fix in docs
Henning Westerholt [Sun, 14 Jul 2019 10:25:28 +0000 (12:25 +0200)]
dispatcher: small spelling fix in docs

11 months agotravis: use buster instead of stretch
Victor Seva [Thu, 11 Jul 2019 08:52:35 +0000 (10:52 +0200)]
travis: use buster instead of stretch

* buster is now Debian stable!! :-)

11 months agoregistrar: docs for reg_send_reply()
Daniel-Constantin Mierla [Wed, 10 Jul 2019 07:05:17 +0000 (09:05 +0200)]
registrar: docs for reg_send_reply()

11 months agoregistrar: export reg_send_reply() to scripting languages
Daniel-Constantin Mierla [Wed, 10 Jul 2019 06:56:39 +0000 (08:56 +0200)]
registrar: export reg_send_reply() to scripting languages

- useful with save(location, 0x2) to send later same reply like save(...)
  without flag 0x2

11 months agokamctl: relaxed regex check on aor and sip uri
Daniel-Constantin Mierla [Tue, 9 Jul 2019 07:35:08 +0000 (09:35 +0200)]
kamctl: relaxed regex check on aor and sip uri

- it required a dot (.), not valid for ipv6 and single word domains
(e.g., localhost)
- now just match on USERNAME_RE@.+

11 months agortp_media_server: fix crash in sdp payload pasring
Julien Chavanton [Mon, 8 Jul 2019 19:46:06 +0000 (19:46 +0000)]
rtp_media_server: fix crash in sdp payload pasring

11 months agortp_media_server: drop in-dialog messages for
Julien Chavanton [Mon, 8 Jul 2019 19:19:05 +0000 (19:19 +0000)]
rtp_media_server: drop in-dialog messages for

disconnected calls

11 months agokemix: added functions to get proto string and id
Daniel-Constantin Mierla [Mon, 8 Jul 2019 15:28:46 +0000 (17:28 +0200)]
kemix: added functions to get proto string and id

12 months agousrloc: coherence for int type of parameters
Daniel-Constantin Mierla [Sat, 6 Jul 2019 07:00:06 +0000 (09:00 +0200)]
usrloc: coherence for int type of parameters

- it was combination of int and integer, now all int
- fix examples for int params, related to GH #1999

12 months agouac: docs - note about frequency limit for rpc reload command
Daniel-Constantin Mierla [Fri, 5 Jul 2019 11:22:03 +0000 (13:22 +0200)]
uac: docs - note about frequency limit for rpc reload command

12 months agokamctl: added new fields in ims_usrloc_pcscf db 2001/head
Aleksandar Yosifov [Thu, 4 Jul 2019 06:49:43 +0000 (09:49 +0300)]
kamctl: added new fields in ims_usrloc_pcscf db

- Added new fields in mysql ims_usrloc_pcscf location table.
  There is no related xml file for this table in srdb2/schema,
  because of that I added the new fields directly in the sql file.

12 months agoims_usrloc_pcscf: added a new match key for ipsec location tbl
Aleksandar Yosifov [Fri, 28 Jun 2019 14:37:15 +0000 (17:37 +0300)]
ims_usrloc_pcscf: added a new match key for ipsec location tbl

- ipsec location table: added a new match key for ipsec location
  table. The added key is "received_port" column. It's necessary
  because after successful re-registration into the table are
  stored two contacts withe the same AOR. Before the changes only
  the AOR was contact's match key.
- ul callbacks: added a method delete_ulcb(), wich is used to delete
  the pending IPSEC tunnels for the unsuccessfuly registered contacts.
- udomain: adde a new method unreg_pending_contacts_cb(). Used to search
  and delete user callbacks for all pending contacts with default SIP
  port (5060) after successful contact registration.
- ipsec structure: added a new vars in ipsec_t - port_pc (port proxy
  client) and port_ps (port proxy server). Used to keep proxy ports
  for already created IPSEC tunnels.

12 months agoims_registrar_pcscf: update contacts with user callbacks
Aleksandar Yosifov [Fri, 28 Jun 2019 14:30:32 +0000 (17:30 +0300)]
ims_registrar_pcscf: update contacts with user callbacks

- save pending: save temp security params only for the pending contacts.
- update contacts: register user callback for successfuly registered
  contact to destroy the tunnels after contact deregistration or expiration.

12 months agoims_ipsec_pcscf: support for multiple TCP connections
Aleksandar Yosifov [Fri, 28 Jun 2019 13:59:57 +0000 (16:59 +0300)]
ims_ipsec_pcscf: support for multiple TCP connections

- spi list : fixed a bug with infinity loop.
- port generator: added port generator based on SPI list.
  The port generator is used to generate free Client and Server
  ports for IPSEC UDP/TCP connections.
- Added a method for parsing of the security parameters.
  Used for Re-registration process.
- Remove SA/Policy: Fixed the methods for removing
  SA/Policy. Now created SA/Policy are removed properly based
  on their IPs, Ports, SPIs.
- Added a configurable parameter for IPSEC maximum connections.
  It's necessary because all listen sockets should be initialized
  in mod_init().
- Changes in ipsec_create(): Register user callback only for
  initial Registration. For Re-registration through IPSEC, it's
  not needed to register a user callback for contact expire/delete.
- Set search flag for contact depending of msg type - Request or Reply.
- Added description of a new parameter used for
  the IPSec connections - ipsec_max_connections.

12 months agoacc: extend description in docs for log_missed_calls flag
Henning Westerholt [Wed, 3 Jul 2019 20:09:40 +0000 (22:09 +0200)]
acc: extend description in docs for log_missed_calls flag

12 months agosl: small fix in module README
Henning Westerholt [Wed, 3 Jul 2019 19:04:19 +0000 (21:04 +0200)]
sl: small fix in module README

12 months agomodules: readme files regenerated - call_control ... [skip ci]
Kamailio Dev [Wed, 3 Jul 2019 15:06:18 +0000 (17:06 +0200)]
modules: readme files regenerated - call_control ... [skip ci]

12 months agocall_control: docs - link to mailing list discussion about MI to RPC control
Daniel-Constantin Mierla [Wed, 3 Jul 2019 15:05:11 +0000 (17:05 +0200)]
call_control: docs - link to mailing list discussion about MI to RPC control

12 months agomodules: readme files regenerated - call_control ... [skip ci]
Kamailio Dev [Wed, 3 Jul 2019 14:55:18 +0000 (16:55 +0200)]
modules: readme files regenerated - call_control ... [skip ci]