Daniel-Constantin Mierla [Thu, 19 Apr 2018 15:50:48 +0000 (17:50 +0200)]
core: new core parameter xavp_via_params
- set the name of the xavp whose subfields will be added as via params
Kamailio Dev [Wed, 18 Apr 2018 07:01:33 +0000 (09:01 +0200)]
modules: readme files regenerated - msilo ... [skip ci]
Kamailio Dev [Wed, 18 Apr 2018 06:31:57 +0000 (08:31 +0200)]
modules: readme files regenerated - jsonrpcs ... [skip ci]
Daniel-Constantin Mierla [Wed, 18 Apr 2018 06:28:20 +0000 (08:28 +0200)]
jsonrpcs: set pretty_format param to 1 by default
- kamctl relies on it for some response processing
Daniel-Constantin Mierla [Tue, 17 Apr 2018 06:58:03 +0000 (08:58 +0200)]
drouting: docs - added several section ids
Daniel-Constantin Mierla [Mon, 16 Apr 2018 17:30:09 +0000 (19:30 +0200)]
counters: docs - format section ids
Daniel-Constantin Mierla [Mon, 16 Apr 2018 17:19:22 +0000 (19:19 +0200)]
Merge pull request #1502 from snen/dialog_fix_dmq_flag_value
dialog: typo fix for DLG_IFLAG_DMQ_SYNC flag value
Daniel-Constantin Mierla [Mon, 16 Apr 2018 17:18:48 +0000 (19:18 +0200)]
Merge pull request #1501 from snen/fix_dialog_options_restart
dialog: restore keep-alive after restart
Dmitri Savolainen [Mon, 16 Apr 2018 16:43:50 +0000 (19:43 +0300)]
dialog: typo fix for DLG_IFLAG_DMQ_SYNC flag value
Dmitri Savolainen [Mon, 16 Apr 2018 16:32:05 +0000 (19:32 +0300)]
dialog: restore keep-alive after restart
Kamailio Dev [Sun, 15 Apr 2018 11:16:56 +0000 (13:16 +0200)]
modules: readme files regenerated - app_lua ... [skip ci]
Daniel-Constantin Mierla [Sun, 15 Apr 2018 11:03:14 +0000 (13:03 +0200)]
app_lua: defaut value for reload parameter set to 1
- reload feature enabbled by default, set to 0 to disable
Daniel-Constantin Mierla [Sat, 14 Apr 2018 10:14:37 +0000 (12:14 +0200)]
lcr: docs - added many section ids
Victor Seva [Fri, 13 Apr 2018 08:25:17 +0000 (10:25 +0200)]
ndb_mongodb: fix deprecation warning
Since 1.5.0 mongoc_collection_find() is deprecated
> http://mongoc.org/libmongoc/1.5.0/mongoc_collection_find.html
Henning Westerholt [Fri, 13 Apr 2018 15:57:07 +0000 (17:57 +0200)]
Revert "Makefile.modules: add cfg files in module docs also to Makefile, to re-create README on changes"
- This reverts commit
91c36a1a9251bdd775370878437fcc1293b85ea9.
- needs more testing, will not work for some modules
Henning Westerholt [Fri, 13 Apr 2018 15:47:21 +0000 (17:47 +0200)]
Makefile.modules: add cfg files in module docs also to Makefile, to re-create README on changes
Daniel-Constantin Mierla [Fri, 13 Apr 2018 06:23:18 +0000 (08:23 +0200)]
nat_traversal: use the new function names for basic timer processes
Henning Westerholt [Thu, 12 Apr 2018 19:30:26 +0000 (21:30 +0200)]
msilo: remove not working tm parameter in the example cfg, reported from Abdul Basit
- remove the not working, too small tm parameter in the example cfg
- has been not changed in the last 10 years, probably not valid anymore
- reported from Abdul Basit on sr-users
Henning Westerholt [Thu, 12 Apr 2018 19:14:15 +0000 (21:14 +0200)]
core: small spelling fix in WARN message related to server id functionality
Daniel-Constantin Mierla [Thu, 12 Apr 2018 12:51:15 +0000 (14:51 +0200)]
topos: reuse uuid for requests withing dialog
- related to GH #1496
ng-voice GmbH [Thu, 12 Apr 2018 11:58:54 +0000 (13:58 +0200)]
Merge pull request #1497 from kamailio/vseva/fix_cdp
cdp: fix compilation warning
Victor Seva [Thu, 12 Apr 2018 11:49:12 +0000 (13:49 +0200)]
cdp: fix compilation warning
> CC (clang) [M cdp.so] authstatemachine.o
> authstatemachine.c:748:3: warning: implicit conversion from 'int' to 'char' changes value from 209 to -47 [-Wconstant-conversion]
> set_4bytes(x, AAA_SUCCESS);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> ./diameter.h:77:44: note: expanded from macro 'set_4bytes'
> (_b)[2]=((_v)&0x0000ff00)>>8;(_b)[3]=((_v)&0x000000ff);}
> ~ ~~~~^~~~~~~~~~~
> authstatemachine.c:758:3: warning: implicit conversion from 'int' to 'char' changes value from 209 to -47 [-Wconstant-conversion]
> set_4bytes(x, AAA_SUCCESS);
> ^~~~~~~~~~~~~~~~~~~~~~~~~~
> ./diameter.h:77:44: note: expanded from macro 'set_4bytes'
> (_b)[2]=((_v)&0x0000ff00)>>8;(_b)[3]=((_v)&0x000000ff);}
> ~ ~~~~^~~~~~~~~~~
> ocs_avp_helper.c:329:3: warning: implicit conversion from 'int' to 'char' changes value from 128 to -128 [-Wconstant-conversion]
> set_4bytes(x, 86400);
> ^~~~~~~~~~~~~~~~~~~~
> ./../cdp/diameter.h:77:44: note: expanded from macro 'set_4bytes'
> (_b)[2]=((_v)&0x0000ff00)>>8;(_b)[3]=((_v)&0x000000ff);}
> ~ ~~~~^~~~~~~~~~~
Kamailio Dev [Thu, 12 Apr 2018 10:32:13 +0000 (12:32 +0200)]
modules: readme files regenerated - corex ... [skip ci]
Daniel-Constantin Mierla [Thu, 12 Apr 2018 10:28:33 +0000 (12:28 +0200)]
corex: fixed prototype for few exported xflags functions to config
Daniel-Constantin Mierla [Thu, 12 Apr 2018 10:25:52 +0000 (12:25 +0200)]
corex: documentation for via_add_srvid()
Daniel-Constantin Mierla [Thu, 12 Apr 2018 10:21:52 +0000 (12:21 +0200)]
core: guarded bitwise test
Daniel-Constantin Mierla [Thu, 12 Apr 2018 10:12:23 +0000 (12:12 +0200)]
corex: added via_add_srvid() function
Daniel-Constantin Mierla [Thu, 12 Apr 2018 07:51:10 +0000 (09:51 +0200)]
core: new internal msg flag to add srvid param to local via
Kamailio Dev [Wed, 11 Apr 2018 21:48:06 +0000 (23:48 +0200)]
modules: readme files regenerated - acc ... [skip ci]
Henning Westerholt [Wed, 11 Apr 2018 21:41:24 +0000 (23:41 +0200)]
module docs: remove info for confidential security reports again from module FAQs
Andreas Granig [Wed, 11 Apr 2018 15:28:32 +0000 (17:28 +0200)]
db_redis: Fix scanning large tables
* When querying large tables (e.g. pre-loading location by usrloc),
make sure to use O(1) when adding keys by prepending them to list.
* Increase batch size of redis scan command to reduce number of
redis queries.
* Batch creation of DB_ROW entries to free up memory allocated by
redis in heap regularly.
* Fix more issues reported by coverity.
Kamailio Dev [Wed, 11 Apr 2018 13:46:28 +0000 (15:46 +0200)]
modules: readme files regenerated - tmx ... [skip ci]
Daniel-Constantin Mierla [Wed, 11 Apr 2018 13:41:21 +0000 (15:41 +0200)]
tmx: docs - notes that flush x/flags is not needed when doing tm relay
Daniel-Constantin Mierla [Wed, 11 Apr 2018 13:09:40 +0000 (15:09 +0200)]
tm: resync xflags on new t_newtran() attempt
- have the same behaviour as for flags
- reported by GH #1490
Daniel-Constantin Mierla [Tue, 10 Apr 2018 11:52:14 +0000 (13:52 +0200)]
pv: added new transformation {uri.tosocket}
- converts a sip uri to socket address format
- from sip:address:port;transport=proto to proto:address:port
Daniel-Constantin Mierla [Tue, 10 Apr 2018 11:29:01 +0000 (13:29 +0200)]
pv: new config variable $sas
- return source address in socket format (proto:address:port)
Daniel-Constantin Mierla [Tue, 10 Apr 2018 11:28:34 +0000 (13:28 +0200)]
core: added helper function to retrieve source address in socket format
Kamailio Dev [Tue, 10 Apr 2018 10:46:38 +0000 (12:46 +0200)]
modules: readme files regenerated - corex ... [skip ci]
Daniel-Constantin Mierla [Tue, 10 Apr 2018 10:33:57 +0000 (12:33 +0200)]
corex: added documentation for set_source_address()
Daniel-Constantin Mierla [Tue, 10 Apr 2018 10:28:53 +0000 (12:28 +0200)]
corex: added set_source_address() function
Daniel-Constantin Mierla [Tue, 10 Apr 2018 08:55:58 +0000 (10:55 +0200)]
core: exposed parse_protohostport() prototype
Henning Westerholt [Tue, 10 Apr 2018 05:34:36 +0000 (07:34 +0200)]
ndb_redis: fix error introduced commit in
95cfa343857e4: 'for' loop initial decl.
- fix error related to sentinel patch, introduced in commit
95cfa343857e4
- error: 'for' loop initial declarations are only allowed in C99 mode
Henning Westerholt [Mon, 9 Apr 2018 19:33:41 +0000 (21:33 +0200)]
corex: fix warning about unused ri variable in corex module
Kamailio Dev [Mon, 9 Apr 2018 12:01:30 +0000 (14:01 +0200)]
modules: readme files regenerated - tls ... [skip ci]
aalba6675 [Mon, 9 Apr 2018 11:58:45 +0000 (19:58 +0800)]
Merge pull request #1484 from aalba6675/hsm-support
tls: add support for OpenSSL engine and private keys in HSM
AntonyA [Thu, 15 Mar 2018 13:41:29 +0000 (21:41 +0800)]
tls: add support for OpenSSL engine and private keys in HSM
- add support for OpenSSL engine and loading private keys from HSM
- for when kamailio is a TLS edge proxy and needs to use HSM
- currently we initialize the engine in worker processes as PKCS#11
libraries are not guaranteed to be fork() safe
- new config params
- engine: name the OpenSSL engine
- engine_config: an OpenSSL config format file used to bootstrap engines
- engine_algorithms: list of algorithms to delegate to the engine
- tested with Gemalto SafeNet Luna (AWS CloudHSM) with RSA and EC private keys
TLSv1.2 and PFS cipher suites
Victor Seva [Mon, 9 Apr 2018 10:57:00 +0000 (12:57 +0200)]
db_redis: fix compilation warning
> CC (clang) [M db_redis.so] redis_table.o
> redis_table.c:728:27: warning: comparison of constant -1 with expression of type 'unsigned char' is always false [-Wtautological-constant-out-of-range-compare]
> if (c == EOF) {
> ~ ^ ~~~
> redis_table.c:754:27: warning: comparison of constant -1 with expression of type 'unsigned char' is always false [-Wtautological-constant-out-of-range-compare]
> if (c == EOF) {
> ~ ^ ~~~
> redis_table.c:794:40: warning: comparison of constant -1 with expression of type 'unsigned char' is always true [-Wtautological-constant-out-of-range-compare]
> if (c != '\n' && c != EOF) {
> ~ ^ ~~~
> redis_table.c:807:20: warning: comparison of constant -1 with expression of type 'unsigned char' is always true [-Wtautological-constant-out-of-range-compare]
> } while (c != EOF);
> ~ ^ ~~~
Daniel-Constantin Mierla [Mon, 9 Apr 2018 10:20:12 +0000 (12:20 +0200)]
Merge pull request #1493 from schmurfy/redis_sentinel
ndb_redis: adds support for sentinel
Daniel-Constantin Mierla [Mon, 9 Apr 2018 10:16:48 +0000 (12:16 +0200)]
Merge pull request #1494 from sergey-safarov/spec_update
RPM spec update
Kamailio Dev [Mon, 9 Apr 2018 10:16:26 +0000 (12:16 +0200)]
modules: readme files regenerated - corex ... [skip ci]
Daniel-Constantin Mierla [Mon, 9 Apr 2018 10:11:03 +0000 (12:11 +0200)]
corex: docs for set_send_socket() and set_recv_socket()
Daniel-Constantin Mierla [Mon, 9 Apr 2018 10:04:56 +0000 (12:04 +0200)]
corex: added set_send_socket() and set_recv_socket()
- options to set send and recv sockets with parameters containing
variables
Kamailio Dev [Mon, 9 Apr 2018 08:46:53 +0000 (10:46 +0200)]
modules: readme files regenerated - dialog ... [skip ci]
Daniel-Constantin Mierla [Sun, 8 Apr 2018 07:45:06 +0000 (09:45 +0200)]
dialog: added missing documentation for end_timeout parameter
Daniel-Constantin Mierla [Sat, 7 Apr 2018 06:25:49 +0000 (08:25 +0200)]
dialog: print ref and end_ts in dialog list rpc output
Kamailio Dev [Fri, 6 Apr 2018 07:31:52 +0000 (09:31 +0200)]
modules: readme files regenerated - dialog ... [skip ci]
Daniel-Constantin Mierla [Fri, 6 Apr 2018 07:21:56 +0000 (09:21 +0200)]
dialog: documented dlg_db_load_extra() function
- related to #1274
Daniel-Constantin Mierla [Fri, 6 Apr 2018 07:21:02 +0000 (09:21 +0200)]
dialog: added dlg_db_load_extra() function
- load dialogs from database that are not yet in memory of current
kamailio instance
Kamailio Dev [Thu, 5 Apr 2018 18:16:42 +0000 (20:16 +0200)]
modules: readme files regenerated - textops ... [skip ci]
Daniel-Constantin Mierla [Thu, 5 Apr 2018 18:03:23 +0000 (20:03 +0200)]
textops: documentation for append_body_part_hex()
Daniel-Constantin Mierla [Thu, 5 Apr 2018 17:54:33 +0000 (19:54 +0200)]
textops: added function append_body_part_hex(...)
- add a new part to the body, with its content provided in hexa (it is
converted to decimal before appending)
Kamailio Dev [Thu, 5 Apr 2018 12:31:36 +0000 (14:31 +0200)]
modules: readme files regenerated - rtpengine ... [skip ci]
Claudiu Boriga [Thu, 5 Apr 2018 12:29:37 +0000 (15:29 +0300)]
rtpengine: Add description for metadata flag
Andreas Granig [Thu, 5 Apr 2018 09:18:47 +0000 (11:18 +0200)]
db_redis: Force table scan if no query keys given
Victor Seva [Wed, 4 Apr 2018 14:40:48 +0000 (16:40 +0200)]
pkg/kamailio/deb: remove kamailio-carrierroute-modules package
Victor Seva [Wed, 4 Apr 2018 14:35:29 +0000 (16:35 +0200)]
Makefile.group: move carrierroute to extra modules, don't depend on libconfuse
This reverts commit
2bb65fe9c1d60d3d2f561cba7c8b1fa800a8ecf3.
Victor Seva [Wed, 4 Apr 2018 15:04:22 +0000 (17:04 +0200)]
pkg/kamailio/deb: remove app_java from sid/buster
See #1487
Kamailio Dev [Wed, 4 Apr 2018 16:46:33 +0000 (18:46 +0200)]
modules: readme files regenerated - dialog ... [skip ci]
Daniel-Constantin Mierla [Wed, 4 Apr 2018 16:36:03 +0000 (18:36 +0200)]
dialog: docs - documentation for h_id_start and h_id_step parameters
- related to GH #1274
Daniel-Constantin Mierla [Wed, 4 Apr 2018 16:34:55 +0000 (18:34 +0200)]
dialog: added h_id_start and h_id_step parameters
- allow to control how internal dialog hash id is generated to avoid
overalapping values across many instances of kamailio
Sergey Safarov [Wed, 4 Apr 2018 06:38:17 +0000 (06:38 +0000)]
pkg/kamailio/obs: Removed libconfuse dependency for carrierroute module
Sergey Safarov [Wed, 4 Apr 2018 07:28:32 +0000 (07:28 +0000)]
pkg/kamailio/obs: Added pua_json module
Lucian Balaceanu [Wed, 4 Apr 2018 07:52:56 +0000 (10:52 +0300)]
carrierroute: fixed duplicate options definition error when parsing src file
- added logic to reset_prefix_opts to reset all target_options fields (including "visited")
Kamailio Dev [Wed, 4 Apr 2018 07:01:55 +0000 (09:01 +0200)]
modules: readme files regenerated - dialog ... [skip ci]
Daniel-Constantin Mierla [Wed, 4 Apr 2018 06:47:25 +0000 (08:47 +0200)]
dialog: added end labels needed by dlg_db_load_callid()
- they were removed by commit
27c23f57f70936e557d9566e6122958c2e032970
not being used after a previous commit, but meanwhile this function was
developed
Daniel-Constantin Mierla [Wed, 4 Apr 2018 06:44:42 +0000 (08:44 +0200)]
dialog: documentation for dlg_db_load_callid()
Daniel-Constantin Mierla [Wed, 4 Apr 2018 06:35:22 +0000 (08:35 +0200)]
dialog: added function dlg_db_load_callid(val)
- load dialog from database based on callid parameter
- related to GH #1274
Sergey Safarov [Wed, 4 Apr 2018 06:35:42 +0000 (06:35 +0000)]
pkg/kamailio/obs: Added acc_json module
Sergey Safarov [Wed, 4 Apr 2018 06:27:09 +0000 (06:27 +0000)]
pkg/kamailio/obs: packaged db_redis module
Daniel-Constantin Mierla [Tue, 3 Apr 2018 21:34:05 +0000 (23:34 +0200)]
Revert "Makefile.group: move carrierroute to extra modules, don't depend on libconfuse"
- this reverts commit
8dbfdc7b1213da2b614b4a6d90680ffd0e8a3fc8.
- avoid eventual Jenkins failures when building nightly deb packages
from master
- initial commit should be pushed along with related updates to deb
packaging specs
Henning Westerholt [Tue, 3 Apr 2018 20:03:07 +0000 (22:03 +0200)]
Makefile.group: move carrierroute to extra modules, don't depend on libconfuse
- move carrierroute module to extra module group, as it don't depends on the
libconfuse library anymore
Henning Westerholt [Tue, 3 Apr 2018 19:47:47 +0000 (21:47 +0200)]
dialog: fix warning about wrong function prototype for dmq_send_all_dlgs(..)
Henning Westerholt [Tue, 3 Apr 2018 19:46:18 +0000 (21:46 +0200)]
dialog: fix warning about unused end label, left over from commit
5362d0f78ef
Kamailio Dev [Tue, 3 Apr 2018 19:46:45 +0000 (21:46 +0200)]
modules: readme files regenerated - acc ... [skip ci]
Henning Westerholt [Tue, 3 Apr 2018 19:37:15 +0000 (21:37 +0200)]
modules doc FAQ: change private contact to include only security issues
Daniel-Constantin Mierla [Tue, 3 Apr 2018 16:03:55 +0000 (18:03 +0200)]
core: removed invalid lock release introduced by commit
f775e4000e
Julien Ammous [Tue, 3 Apr 2018 12:08:53 +0000 (12:08 +0000)]
ndb_redis: adds support for sentinel
Daniel-Constantin Mierla [Tue, 3 Apr 2018 08:12:03 +0000 (10:12 +0200)]
app_sqlang: updated to use kemi api sr_kemi_core_set_drop()
Daniel-Constantin Mierla [Tue, 3 Apr 2018 08:11:51 +0000 (10:11 +0200)]
app_lua: updated to use kemi api sr_kemi_core_set_drop()
Daniel-Constantin Mierla [Tue, 3 Apr 2018 08:11:08 +0000 (10:11 +0200)]
app_jsdt: updated to use kemi api sr_kemi_core_set_drop()
Daniel-Constantin Mierla [Tue, 3 Apr 2018 08:08:51 +0000 (10:08 +0200)]
core: kemi - renamed drop prototype to sr_kemi_core_set_drop()
- match the implementation after kemi API update for drop
Daniel-Constantin Mierla [Tue, 3 Apr 2018 07:27:19 +0000 (09:27 +0200)]
ipops: mask subnet address for ipv6 comparison
- coherent with ipv4 behaviour
Daniel-Constantin Mierla [Tue, 3 Apr 2018 07:24:11 +0000 (09:24 +0200)]
ipops: use proper variable for ipv6 subnet comparison
Daniel-Constantin Mierla [Tue, 3 Apr 2018 07:11:37 +0000 (09:11 +0200)]
ipops: mask subnet address when comparing
- allow using full ip address when specifying subnet parameter
- more flexibility on using values from sip message
- GH #1250
Daniel-Constantin Mierla [Mon, 2 Apr 2018 15:57:42 +0000 (17:57 +0200)]
dialog: merged functions related to loading records from db
- select operation was done in a dedicated function without a good
reason, result being processed in another one
Daniel-Constantin Mierla [Mon, 2 Apr 2018 06:46:09 +0000 (08:46 +0200)]
topos: skip local generated request not part of a dialog
Daniel-Constantin Mierla [Sat, 31 Mar 2018 11:07:55 +0000 (13:07 +0200)]
sqlops: exported sql_query_async() to kemi framework
Kamailio Dev [Fri, 30 Mar 2018 19:48:36 +0000 (21:48 +0200)]
modules: readme files regenerated - acc ... [skip ci]
Henning Westerholt [Fri, 30 Mar 2018 19:37:19 +0000 (21:37 +0200)]
module FAQs: fix help for private issues in module FAQs, alter docbook entitity
- fix wording for private issues in module FAQs
- modules: acc, app_perl, cdp, cdp_avp, dialog, dispatcher, ims_dialog,
ims_registrar, ims_usrloc, nathelper, registrar, rtpengine, rtpproxy,
snmpstats
- change docbook entity to a more sensible name "kamailioprivatemail"
Daniel-Constantin Mierla [Fri, 30 Mar 2018 15:15:26 +0000 (17:15 +0200)]
sqlops: proper function prototypes for kemi exports to get num rows and cols