Daniel-Constantin Mierla [Thu, 13 Jun 2019 07:40:32 +0000 (09:40 +0200)]
CONTRIBUTING.md: note that references to names do not belong to commit messages
Victor Seva [Wed, 12 Jun 2019 07:51:53 +0000 (09:51 +0200)]
pkg/kamailio/deb: version set 5.3.0~dev6 [skip ci]
Daniel-Constantin Mierla [Wed, 12 Jun 2019 07:18:35 +0000 (09:18 +0200)]
lib/srutils: removed svn ids
Daniel-Constantin Mierla [Wed, 12 Jun 2019 07:07:14 +0000 (09:07 +0200)]
Makefile.defs: version set to 5.3.0-dev6
Daniel-Constantin Mierla [Tue, 11 Jun 2019 10:10:53 +0000 (12:10 +0200)]
dialog: kemi functions to remove or test for null vars
Daniel-Constantin Mierla [Tue, 11 Jun 2019 08:39:11 +0000 (10:39 +0200)]
dialog: exported kemi variants to get empty and print var values
Daniel-Constantin Mierla [Mon, 10 Jun 2019 07:45:01 +0000 (09:45 +0200)]
dialog: added kemi functions to get/set dialog vars
Daniel-Constantin Mierla [Fri, 7 Jun 2019 09:54:55 +0000 (11:54 +0200)]
pv: fixed name for avp_sets() kemi export
Daniel-Constantin Mierla [Fri, 7 Jun 2019 08:36:45 +0000 (10:36 +0200)]
mqueue: kemi functions to retrieve key and value from mqueue
Daniel-Constantin Mierla [Fri, 7 Jun 2019 07:55:04 +0000 (09:55 +0200)]
exec: debug message with number of results for exec_avp()
Daniel-Constantin Mierla [Fri, 7 Jun 2019 07:14:43 +0000 (09:14 +0200)]
pv: exported kemi functions to set root xavp values
Daniel-Constantin Mierla [Fri, 7 Jun 2019 06:48:34 +0000 (08:48 +0200)]
tm: detect local uac transaction not inserted in the hash table
Kamailio Dev [Thu, 6 Jun 2019 10:32:47 +0000 (12:32 +0200)]
modules: readme files regenerated - pv ... [skip ci]
Daniel-Constantin Mierla [Thu, 6 Jun 2019 10:09:41 +0000 (12:09 +0200)]
pv: docs - updated xavp management functions names
Daniel-Constantin Mierla [Thu, 6 Jun 2019 10:05:35 +0000 (12:05 +0200)]
pv: renamed xavp child management functions
- coherent pattern to reflect the operations
Daniel-Constantin Mierla [Thu, 6 Jun 2019 09:33:14 +0000 (11:33 +0200)]
pv: added kemi functions to test if xavp is null
Daniel-Constantin Mierla [Thu, 6 Jun 2019 09:07:58 +0000 (11:07 +0200)]
pv: added kemi functions to manage avps
Henning Westerholt [Wed, 5 Jun 2019 20:51:23 +0000 (22:51 +0200)]
p_usrloc: fix a few more missing line breaks for log statements
Henning Westerholt [Wed, 5 Jun 2019 20:46:02 +0000 (22:46 +0200)]
kazoo: add missing log line breaks, partially by conversion to mem log helper
Henning Westerholt [Wed, 5 Jun 2019 20:26:09 +0000 (22:26 +0200)]
db_postgres: add missing line breaks to log statements
Henning Westerholt [Wed, 5 Jun 2019 20:24:09 +0000 (22:24 +0200)]
tm: add missing line breaks in log statements
Henning Westerholt [Wed, 5 Jun 2019 20:09:14 +0000 (22:09 +0200)]
p_usrloc: add missing linebreak in log statement
Daniel-Constantin Mierla [Wed, 5 Jun 2019 10:20:03 +0000 (12:20 +0200)]
ims_ipsec_pcscf: add back the README file
- it was removed completely with the merge of PR #1974
Daniel-Constantin Mierla [Wed, 5 Jun 2019 10:16:21 +0000 (12:16 +0200)]
core: kemi - added KSR.hdr.get/e/w(...) functions
- return the body of a SIP header, with variants to return empty and
null strings
Daniel-Constantin Mierla [Wed, 5 Jun 2019 09:49:40 +0000 (11:49 +0200)]
kemix: renamed functions that return empty and null string for r-uri user and host
- set a common pattern with gete and getw in function names
Daniel-Constantin Mierla [Wed, 5 Jun 2019 09:40:12 +0000 (11:40 +0200)]
kemix: added kemi functions to return user-agent header body
- shortcut to improve tests for security in scripts
Tsvetomir Dimitrov [Wed, 5 Jun 2019 06:53:50 +0000 (09:53 +0300)]
Merge pull request #1974 from alexyosifov/ipsec_tcp
Ipsec tcp
alexyosifov [Wed, 5 Jun 2019 06:32:58 +0000 (09:32 +0300)]
Delete README
Will be autogenerated.
Daniel-Constantin Mierla [Wed, 5 Jun 2019 06:30:49 +0000 (08:30 +0200)]
pv: exposed kemi functions for getting xavp empty and print variants
Daniel-Constantin Mierla [Tue, 4 Jun 2019 11:16:23 +0000 (13:16 +0200)]
pv: kemi functions to get xavp value from root and child lists
Daniel-Constantin Mierla [Tue, 4 Jun 2019 10:37:06 +0000 (12:37 +0200)]
kemix: kemi function to get print and empty variants for r-uri user and host
Daniel-Constantin Mierla [Tue, 4 Jun 2019 06:54:13 +0000 (08:54 +0200)]
htable: kemi functions to get the value of an hash table item
Aleksandar Yosifov [Mon, 3 Jun 2019 14:37:03 +0000 (17:37 +0300)]
ims_usrloc_pcscf: get_pcontact changes for IPv6
- Sometimes IPv6 address is coming with square brackets
and can not be found in userloc database. The search
algorithm is not changed, only used methods are changed.
Aleksandar Yosifov [Thu, 23 May 2019 09:06:45 +0000 (12:06 +0300)]
ims_ipsec_pcscf: IPv6 support
- Set authentication algorithm for SA depending of
parsed security-client info from REGISTER request msg.
For now, the supported algorithms are md5 and sha1,
the default algorithm is sha1.
- fill_contact() changes:
No significant changes, but added a debug message
and code is more readable.
- Added support for IPv6.
A new parameter IPSEC_LISTEN_ADDR6 is added in pcscf.cfg
file that describe IPv6 listen address.
A new module parameter ipsec_listen_addr6 is added in
kamailio.cfg to pass IPv6 listen address into the ipsec module.
- mode_init() changes:
Add ipv4 and/or ipv6 listen interfaces depending of configured
parameters in pcscf/kamailio config files.
- create_ipsec_tunnel() changes:
Update temp security parameters for contact.
Add 4 SAs and polisies (UE client->Proxy server, Proxy client->
UE server, Proxy server->UE client and UE server->Proxy client).
Server->client SAs are used for TCP connections.
- destroy_ipsec_tunnel() changes:
Remove all SAs and policies.
- ipsec_forward() changes:
Refactored to use both UDP and TCP protocols. Selects the protocol
type, sourse and destination ports based on message type.
- Removed unused method convert_ip_address(). Replaced by core methods
str2ipbuf() and str2ip6buf().
- changes in README
README regenerated via ims_ipsec_pscscf_admin.xml.
Added a new parameter for listen IPv6 address.
Daniel-Constantin Mierla [Mon, 3 Jun 2019 16:16:21 +0000 (18:16 +0200)]
app_sqlang: removed local implementation for KSR.pv sub-module
- switch to use the one from core
Daniel-Constantin Mierla [Mon, 3 Jun 2019 10:25:45 +0000 (12:25 +0200)]
app_ruby: removed local implementation for KSR.pv sub-module
- switch to use the one from core
Daniel-Constantin Mierla [Mon, 3 Jun 2019 07:53:49 +0000 (09:53 +0200)]
app_python: removed unused function to return str variants
Daniel-Constantin Mierla [Mon, 3 Jun 2019 07:52:33 +0000 (09:52 +0200)]
app_python3: removed local implementation for KSR.pv sub-module
- switch to use the one from core
Daniel-Constantin Mierla [Mon, 3 Jun 2019 07:27:48 +0000 (09:27 +0200)]
app_python: removed local implementation for KSR.pv sub-module
- switch to use the one from core
Daniel-Constantin Mierla [Mon, 3 Jun 2019 07:04:50 +0000 (09:04 +0200)]
app_lua/utils/app_lua_ctl: updated include file name
Henning Westerholt [Fri, 31 May 2019 10:42:21 +0000 (12:42 +0200)]
htable: fix a possible null pointer dereference in dmq startup error case
Henning Westerholt [Thu, 30 May 2019 15:29:20 +0000 (17:29 +0200)]
Makefile.groups: add new module app_lua_sr to lua group
Kamailio Dev [Wed, 29 May 2019 12:02:05 +0000 (14:02 +0200)]
modules: readme files regenerated - app_lua ... [skip ci]
Daniel-Constantin Mierla [Wed, 29 May 2019 11:55:26 +0000 (13:55 +0200)]
app_lua_sr: new module split from app_lua to export old Lua sr lib
Daniel-Constantin Mierla [Wed, 29 May 2019 11:54:01 +0000 (13:54 +0200)]
app_lua: docs - removed register modparam, relocated to app_lua_sr
Daniel-Constantin Mierla [Wed, 29 May 2019 11:32:04 +0000 (13:32 +0200)]
app_lua: exposed inter-module api
Daniel-Constantin Mierla [Wed, 29 May 2019 09:18:20 +0000 (11:18 +0200)]
app_lua: removed old Lua sr module exports
- exporting only KSR via KEMI framework
- Lua sr module is relocated to app_lua_sr kamailio module, to be
obsoleted and removed over the time
- export KSR.pv submodule using implementation from core
Kamailio Dev [Tue, 28 May 2019 20:01:49 +0000 (22:01 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]
iionita [Mon, 27 May 2019 08:09:13 +0000 (11:09 +0300)]
siptrace: document usage of trace_info xavp to prevent overlapping
iionita [Thu, 23 May 2019 08:27:41 +0000 (11:27 +0300)]
siptrace: avoid flooding logs with unnecessary errors on common scenarios
iionita [Wed, 22 May 2019 14:31:47 +0000 (17:31 +0300)]
siptrace: use xavps to pass data for the duration of transaction/dialog
Before this data was serialized in order to fit a normal AVP and
be passed to DLGCB_CREATED callback. Moreover for transaction tracing
data was allocated in current process memory which would have crashed
if the reply were to be recieved in a different process. With the
current implementation data is allocated in shared memory, all processes
having access to it.
For dialogs data is passed through xavp to dlgcb created. From
there all dialog callbacks are registered and they receive argument
the pointer to siptrace info. For transactions the pointer is passed
as dialog callback parameter.
Daniel-Constantin Mierla [Tue, 28 May 2019 12:27:34 +0000 (14:27 +0200)]
Makefile.defs: detect gcc 9.0+
- reported by GH #1965
Daniel-Constantin Mierla [Tue, 28 May 2019 12:05:16 +0000 (14:05 +0200)]
kemix: functions to return directly user and host from ruri
Daniel-Constantin Mierla [Tue, 28 May 2019 12:04:07 +0000 (14:04 +0200)]
core: kemi - defines for modes used to return null string
Daniel-Constantin Mierla [Tue, 28 May 2019 11:27:24 +0000 (13:27 +0200)]
Merge pull request #1964 from alexyosifov/registrar_pcscf_sec_agree
ims_registrar_pcscf: parse security verify header
Daniel-Constantin Mierla [Tue, 28 May 2019 11:26:55 +0000 (13:26 +0200)]
Merge pull request #1967 from alishir/master
kamdbctl: Fixes name of ims_charging sql script.
Ali Shirvani [Tue, 28 May 2019 08:26:48 +0000 (12:56 +0430)]
kamdbctl: fixes name of ims_charging sql script.
- ims_charging_create renamed to ims_charging-create
Daniel-Constantin Mierla [Tue, 28 May 2019 06:44:32 +0000 (08:44 +0200)]
usrloc: clone xavp list in contact struct in memory mode
Daniel-Constantin Mierla [Mon, 27 May 2019 09:56:52 +0000 (11:56 +0200)]
kemix: exported functions to get common URI values via KSR.kx
Daniel-Constantin Mierla [Fri, 24 May 2019 10:44:16 +0000 (12:44 +0200)]
kemix: new module to collect KEMI specific collections
- avoid pushing code in core for alternatives to core keywords,
conditions, a.s.o.
Daniel-Constantin Mierla [Fri, 24 May 2019 10:30:12 +0000 (12:30 +0200)]
core: kemi - exposed sr_kemi_xval_null() function prototype
Henning Westerholt [Thu, 23 May 2019 19:34:01 +0000 (21:34 +0200)]
misc/examples/kemi: fix another small copy and paste error
Daniel-Constantin Mierla [Thu, 23 May 2019 09:50:55 +0000 (11:50 +0200)]
misc/examples/kemi: fixed copy&paste error with type of language
Daniel-Constantin Mierla [Thu, 23 May 2019 09:38:44 +0000 (11:38 +0200)]
misc/examples/kemi: added python3 and ruby as options to basic example
Daniel-Constantin Mierla [Thu, 23 May 2019 09:37:45 +0000 (11:37 +0200)]
app_lua: set reload parameter to 0 value if given via modparam
Daniel-Constantin Mierla [Thu, 23 May 2019 09:21:47 +0000 (11:21 +0200)]
app_jsdt: removed local implementation for KSR.pv sub-module
- switch to use the one from core
Daniel-Constantin Mierla [Thu, 23 May 2019 08:51:33 +0000 (10:51 +0200)]
app_jsdt: handle functions that return xval and have up to two params
Daniel-Constantin Mierla [Thu, 23 May 2019 08:49:50 +0000 (10:49 +0200)]
core: kemi - prototypes for functions returning xval with up to two params
Aleksandar Yosifov [Thu, 23 May 2019 08:05:12 +0000 (11:05 +0300)]
ims_registrar_pcscf: parse security verify header
- Parse 'security verify' header from REGISTER request message
and save updated parameters into the database.
- Added debug messages in save_pendign and save for easy debugging.
Daniel-Constantin Mierla [Thu, 23 May 2019 08:01:14 +0000 (10:01 +0200)]
core: xavp - updated comments about vptr filed
Daniel-Constantin Mierla [Thu, 23 May 2019 07:30:51 +0000 (09:30 +0200)]
core: xvavp - new data type SR_XTYPE_SPTR
- store a shm pointer that has to be freed at destroy with shm_free()
Daniel-Constantin Mierla [Wed, 22 May 2019 10:26:09 +0000 (12:26 +0200)]
core: added a few variants for parsing IPv4/6 addresses
- store parsed structure directly in a provided buffer
- wrapper for parsing either IPv4 or IPv6
Aleksandar Yosifov [Wed, 22 May 2019 08:31:49 +0000 (10:31 +0200)]
ims_registrar_scscf: changed str r_reginfo_s format: from 'version=%s ' to 'version=%d'. (GH #1961)
- changed str r_reginfo_s format: from 'version=%s ' to 'version=%d'. (GH #1961)
- In NOTIFY message from S-CSCF to UE, Message Body contains different xml parameters
and one of them can be a contact parameter with list of unknown-params. In some
cases unknown-param has value with '%' inside. Before the fix, adding of reginfo
version breaks the string of unknown-param. Adding reginfo version before contact
parameters keeps unknown-param string unchanged.
Daniel-Constantin Mierla [Wed, 22 May 2019 07:56:15 +0000 (09:56 +0200)]
app_sqlang: skip registering KSR.pv from global list
- for now is still done with the custom functions from the module
Daniel-Constantin Mierla [Wed, 22 May 2019 07:55:43 +0000 (09:55 +0200)]
app_ruby: skip registering KSR.pv from global list
- for now is still done with the custom functions from the module
Daniel-Constantin Mierla [Wed, 22 May 2019 07:55:24 +0000 (09:55 +0200)]
app_python3: skip registering KSR.pv from global list
- for now is still done with the custom functions from the module
Daniel-Constantin Mierla [Wed, 22 May 2019 07:54:54 +0000 (09:54 +0200)]
app_python: skip registering KSR.pv from global list
- for now is still done with the custom functions from the module
Daniel-Constantin Mierla [Wed, 22 May 2019 07:54:27 +0000 (09:54 +0200)]
app_lua: skip registering KSR.pv from global list
- for now is still done with the custom functions from the module
Daniel-Constantin Mierla [Wed, 22 May 2019 07:47:33 +0000 (09:47 +0200)]
app_jsdt: skip registering KSR.pv from global list
- for now is still done with the custom functions from the module
Daniel-Constantin Mierla [Wed, 22 May 2019 07:46:43 +0000 (09:46 +0200)]
core: kemi - added KSR.pv module in the global list
Daniel-Constantin Mierla [Tue, 21 May 2019 15:26:14 +0000 (17:26 +0200)]
core: copy discovered interface name only when its len is > 0
Daniel-Constantin Mierla [Tue, 21 May 2019 12:56:40 +0000 (14:56 +0200)]
core: kemi - functions for KSR.pv module implemented in core
- to replace those implemented in each interpreter module for better
coherence and make it easier to extend the KSR.pv sub-module in the future
Daniel-Constantin Mierla [Tue, 21 May 2019 12:55:53 +0000 (14:55 +0200)]
core: pv - exposed the function to return the str empty static variable
Daniel-Constantin Mierla [Tue, 21 May 2019 11:35:21 +0000 (13:35 +0200)]
core: kemi - changed SR_KEMIP_INTSTR to SR_KEMIP_XVAL
- added also SR_KEMIP_NULL to mark null values
Daniel-Constantin Mierla [Tue, 21 May 2019 11:11:01 +0000 (13:11 +0200)]
lcr: pass gw struct by pointer to dump_gw() function
- passing the struct value is inneficient due to its large size (688 bytes)
Kamailio Dev [Mon, 20 May 2019 15:16:42 +0000 (17:16 +0200)]
modules: readme files regenerated - dispatcher ... [skip ci]
Daniel-Constantin Mierla [Mon, 20 May 2019 15:11:21 +0000 (17:11 +0200)]
dispatcher: docs - fixed typo in description for reload_delta
Kamailio Dev [Mon, 20 May 2019 09:46:45 +0000 (11:46 +0200)]
modules: readme files regenerated - dispatcher ... [skip ci]
Daniel-Constantin Mierla [Mon, 20 May 2019 09:38:24 +0000 (11:38 +0200)]
rtp_media_server: removed execution flag from source files and makefile
Daniel-Constantin Mierla [Mon, 20 May 2019 09:34:16 +0000 (11:34 +0200)]
dispatcher: docs for reload_delta parameter
- GH #1939
Daniel-Constantin Mierla [Mon, 20 May 2019 09:15:48 +0000 (11:15 +0200)]
dispatcher: added reload_delta parameter
- limit the frequency of rpc reload commands to try to avoid races of
parallel reload operations
- default value is 5 seconds (no more than one reload command every 5
seconds)
Daniel-Constantin Mierla [Mon, 20 May 2019 08:56:08 +0000 (10:56 +0200)]
tls: register SNI callback for server default profile
- make SNI work for other profile when the default one does not have
server_name
- GH #1938
Daniel-Constantin Mierla [Mon, 20 May 2019 07:16:49 +0000 (09:16 +0200)]
Merge pull request #1958 from sergey-safarov/mips
src/Makefile.defs: fix build on mips
Daniel-Constantin Mierla [Mon, 20 May 2019 07:13:55 +0000 (09:13 +0200)]
app_python3, auth, ims_auth: chmod to 0644 for source code file with exec flag
- GH #1957
Sergey Safarov [Sat, 18 May 2019 20:00:38 +0000 (23:00 +0300)]
pkg/kamailio/obs: Packaged app_python3
Sergey Safarov [Sat, 18 May 2019 16:29:51 +0000 (19:29 +0300)]
pkg/kamailio/obs: Added openssl_mutex_shared into TLS module package [skip ci]
Sergey Safarov [Sat, 18 May 2019 16:27:56 +0000 (19:27 +0300)]
pkg/kamailio/obs: Fixed packaging on Fedora 30 [skip ci]
Sergey Safarov [Sat, 18 May 2019 09:56:08 +0000 (12:56 +0300)]
pkg/kamailio/alpine: Packaged pua_json, db_redis, ims_ocs, acc_json [skip ci]
Sergey Safarov [Sat, 18 May 2019 09:24:40 +0000 (12:24 +0300)]
src/Makefile.defs: fix build on mips
Daniel-Constantin Mierla [Fri, 17 May 2019 08:31:22 +0000 (10:31 +0200)]
core: allow to set advertised address to -l command line parameter
* -l listen-address/advertised-address
* -l udp:10.0.0.10:5080/1.2.3.4:5060