sip-router
5 weeks agoims_ipsec_pcscf: fixed possible use of uninitialized value in ipsec_forward()
Aleksandar Yosifov [Thu, 13 Jun 2019 10:12:06 +0000 (13:12 +0300)]
ims_ipsec_pcscf: fixed possible use of uninitialized value in ipsec_forward()

- related to calling "*ul.unlock_udomain"

5 weeks agoxhttp_prom: imported initial README file
Daniel-Constantin Mierla [Thu, 13 Jun 2019 09:28:42 +0000 (11:28 +0200)]
xhttp_prom: imported initial README file

5 weeks agoMakefile.groups: added xhttp_prom module to extra group
Daniel-Constantin Mierla [Thu, 13 Jun 2019 09:27:50 +0000 (11:27 +0200)]
Makefile.groups: added xhttp_prom module to extra group

5 weeks agoMerge pull request #1976 from kamailio/vhernando/xhttp_prom_branch
Daniel-Constantin Mierla [Thu, 13 Jun 2019 09:26:28 +0000 (11:26 +0200)]
Merge pull request #1976 from kamailio/vhernando/xhttp_prom_branch

xhttp_prom: module to generate Prometheus metrics.

5 weeks agopkg/kamailio/obs: Updated jansson module dependences
Sergey Safarov [Thu, 13 Jun 2019 08:51:17 +0000 (11:51 +0300)]
pkg/kamailio/obs: Updated jansson module dependences

5 weeks agodialog: fixed return type for kemi exports for var rm and is-null
Daniel-Constantin Mierla [Thu, 13 Jun 2019 08:28:37 +0000 (10:28 +0200)]
dialog: fixed return type for kemi exports for var rm and is-null

5 weeks agoCONTRIBUTING.md: note that references to names do not belong to commit messages
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

5 weeks ago pkg/kamailio/deb: version set 5.3.0~dev6 [skip ci]
Victor Seva [Wed, 12 Jun 2019 07:51:53 +0000 (09:51 +0200)]
 pkg/kamailio/deb: version set 5.3.0~dev6 [skip ci]

5 weeks agolib/srutils: removed svn ids
Daniel-Constantin Mierla [Wed, 12 Jun 2019 07:18:35 +0000 (09:18 +0200)]
lib/srutils: removed svn ids

5 weeks agoMakefile.defs: version set to 5.3.0-dev6
Daniel-Constantin Mierla [Wed, 12 Jun 2019 07:07:14 +0000 (09:07 +0200)]
Makefile.defs: version set to 5.3.0-dev6

5 weeks agodialog: kemi functions to remove or test for null vars
Daniel-Constantin Mierla [Tue, 11 Jun 2019 10:10:53 +0000 (12:10 +0200)]
dialog: kemi functions to remove or test for null vars

5 weeks agodialog: exported kemi variants to get empty and print var values
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

5 weeks agodialog: added kemi functions to get/set dialog vars
Daniel-Constantin Mierla [Mon, 10 Jun 2019 07:45:01 +0000 (09:45 +0200)]
dialog: added kemi functions to get/set dialog vars

6 weeks agoxhttp_prom: module to generate Prometheus metrics. 1976/head
Vicente Hernando [Fri, 7 Jun 2019 13:40:55 +0000 (15:40 +0200)]
xhttp_prom: module to generate Prometheus metrics.

6 weeks agopv: fixed name for avp_sets() kemi export
Daniel-Constantin Mierla [Fri, 7 Jun 2019 09:54:55 +0000 (11:54 +0200)]
pv: fixed name for avp_sets() kemi export

6 weeks agomqueue: kemi functions to retrieve key and value from mqueue
Daniel-Constantin Mierla [Fri, 7 Jun 2019 08:36:45 +0000 (10:36 +0200)]
mqueue: kemi functions to retrieve key and value from mqueue

6 weeks agoexec: debug message with number of results for exec_avp()
Daniel-Constantin Mierla [Fri, 7 Jun 2019 07:55:04 +0000 (09:55 +0200)]
exec: debug message with number of results for exec_avp()

6 weeks agopv: exported kemi functions to set root xavp values
Daniel-Constantin Mierla [Fri, 7 Jun 2019 07:14:43 +0000 (09:14 +0200)]
pv: exported kemi functions to set root xavp values

6 weeks agotm: detect local uac transaction not inserted in the hash table
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

6 weeks agomodules: readme files regenerated - pv ... [skip ci]
Kamailio Dev [Thu, 6 Jun 2019 10:32:47 +0000 (12:32 +0200)]
modules: readme files regenerated - pv ... [skip ci]

6 weeks agopv: docs - updated xavp management functions names
Daniel-Constantin Mierla [Thu, 6 Jun 2019 10:09:41 +0000 (12:09 +0200)]
pv: docs - updated xavp management functions names

6 weeks agopv: renamed xavp child management functions
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

6 weeks agopv: added kemi functions to test if xavp is null
Daniel-Constantin Mierla [Thu, 6 Jun 2019 09:33:14 +0000 (11:33 +0200)]
pv: added kemi functions to test if xavp is null

6 weeks agopv: added kemi functions to manage avps
Daniel-Constantin Mierla [Thu, 6 Jun 2019 09:07:58 +0000 (11:07 +0200)]
pv: added kemi functions to manage avps

6 weeks agop_usrloc: fix a few more missing line breaks for log statements
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

6 weeks agokazoo: add missing log line breaks, partially by conversion to mem log helper
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

6 weeks agodb_postgres: add missing line breaks to log statements
Henning Westerholt [Wed, 5 Jun 2019 20:26:09 +0000 (22:26 +0200)]
db_postgres: add missing line breaks to log statements

6 weeks agotm: add missing line breaks in log statements
Henning Westerholt [Wed, 5 Jun 2019 20:24:09 +0000 (22:24 +0200)]
tm: add missing line breaks in log statements

6 weeks agop_usrloc: add missing linebreak in log statement
Henning Westerholt [Wed, 5 Jun 2019 20:09:14 +0000 (22:09 +0200)]
p_usrloc: add missing linebreak in log statement

6 weeks agoims_ipsec_pcscf: add back the README file
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

6 weeks agocore: kemi - added KSR.hdr.get/e/w(...) functions
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

6 weeks agokemix: renamed functions that return empty and null string for r-uri user and host
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

6 weeks agokemix: added kemi functions to return user-agent header body
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

6 weeks agoMerge pull request #1974 from alexyosifov/ipsec_tcp
Tsvetomir Dimitrov [Wed, 5 Jun 2019 06:53:50 +0000 (09:53 +0300)]
Merge pull request #1974 from alexyosifov/ipsec_tcp

Ipsec tcp

6 weeks agoDelete README 1974/head
alexyosifov [Wed, 5 Jun 2019 06:32:58 +0000 (09:32 +0300)]
Delete README

Will be autogenerated.

6 weeks agopv: exposed kemi functions for getting xavp empty and print variants
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

6 weeks agopv: kemi functions to get xavp value from root and child lists
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

6 weeks agokemix: kemi function to get print and empty variants for r-uri user and host
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

6 weeks agohtable: kemi functions to get the value of an hash table item
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

6 weeks agoims_usrloc_pcscf: get_pcontact changes for IPv6
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.

6 weeks agoims_ipsec_pcscf: IPv6 support
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.

6 weeks agoapp_sqlang: removed local implementation for KSR.pv sub-module
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

6 weeks agoapp_ruby: removed local implementation for KSR.pv sub-module
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

7 weeks agoapp_python: removed unused function to return str variants
Daniel-Constantin Mierla [Mon, 3 Jun 2019 07:53:49 +0000 (09:53 +0200)]
app_python: removed unused function to return str variants

7 weeks agoapp_python3: removed local implementation for KSR.pv sub-module
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

7 weeks agoapp_python: removed local implementation for KSR.pv sub-module
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

7 weeks agoapp_lua/utils/app_lua_ctl: updated include file name
Daniel-Constantin Mierla [Mon, 3 Jun 2019 07:04:50 +0000 (09:04 +0200)]
app_lua/utils/app_lua_ctl: updated include file name

7 weeks agohtable: fix a possible null pointer dereference in dmq startup error case
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

7 weeks agoMakefile.groups: add new module app_lua_sr to lua group
Henning Westerholt [Thu, 30 May 2019 15:29:20 +0000 (17:29 +0200)]
Makefile.groups: add new module app_lua_sr to lua group

7 weeks agomodules: readme files regenerated - app_lua ... [skip ci]
Kamailio Dev [Wed, 29 May 2019 12:02:05 +0000 (14:02 +0200)]
modules: readme files regenerated - app_lua ... [skip ci]

7 weeks agoapp_lua_sr: new module split from app_lua to export old Lua sr lib
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

7 weeks agoapp_lua: docs - removed register modparam, relocated to app_lua_sr
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

7 weeks agoapp_lua: exposed inter-module api
Daniel-Constantin Mierla [Wed, 29 May 2019 11:32:04 +0000 (13:32 +0200)]
app_lua: exposed inter-module api

7 weeks agoapp_lua: removed old Lua sr module exports
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

7 weeks agomodules: readme files regenerated - siptrace ... [skip ci]
Kamailio Dev [Tue, 28 May 2019 20:01:49 +0000 (22:01 +0200)]
modules: readme files regenerated - siptrace ... [skip ci]

7 weeks agosiptrace: document usage of trace_info xavp to prevent overlapping
iionita [Mon, 27 May 2019 08:09:13 +0000 (11:09 +0300)]
siptrace: document usage of trace_info xavp to prevent overlapping

7 weeks agosiptrace: avoid flooding logs with unnecessary errors on common scenarios
iionita [Thu, 23 May 2019 08:27:41 +0000 (11:27 +0300)]
siptrace: avoid flooding logs with unnecessary errors on common scenarios

7 weeks agosiptrace: use xavps to pass data for the duration of transaction/dialog
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.

7 weeks agoMakefile.defs: detect gcc 9.0+
Daniel-Constantin Mierla [Tue, 28 May 2019 12:27:34 +0000 (14:27 +0200)]
Makefile.defs: detect gcc 9.0+

- reported by GH #1965

7 weeks agokemix: functions to return directly user and host from ruri
Daniel-Constantin Mierla [Tue, 28 May 2019 12:05:16 +0000 (14:05 +0200)]
kemix: functions to return directly user and host from ruri

7 weeks agocore: kemi - defines for modes used to return null string
Daniel-Constantin Mierla [Tue, 28 May 2019 12:04:07 +0000 (14:04 +0200)]
core: kemi - defines for modes used to return null string

7 weeks agoMerge pull request #1964 from alexyosifov/registrar_pcscf_sec_agree
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

7 weeks agoMerge pull request #1967 from alishir/master
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.

7 weeks agokamdbctl: fixes name of ims_charging sql script. 1967/head
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

7 weeks agousrloc: clone xavp list in contact struct in memory mode
Daniel-Constantin Mierla [Tue, 28 May 2019 06:44:32 +0000 (08:44 +0200)]
usrloc: clone xavp list in contact struct in memory mode

7 weeks agokemix: exported functions to get common URI values via KSR.kx
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

8 weeks agokemix: new module to collect KEMI specific collections
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.

8 weeks agocore: kemi - exposed sr_kemi_xval_null() function prototype
Daniel-Constantin Mierla [Fri, 24 May 2019 10:30:12 +0000 (12:30 +0200)]
core: kemi - exposed sr_kemi_xval_null() function prototype

8 weeks agomisc/examples/kemi: fix another small copy and paste error
Henning Westerholt [Thu, 23 May 2019 19:34:01 +0000 (21:34 +0200)]
misc/examples/kemi: fix another small copy and paste error

8 weeks agomisc/examples/kemi: fixed copy&paste error with type of language
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

8 weeks agomisc/examples/kemi: added python3 and ruby as options to basic example
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

8 weeks agoapp_lua: set reload parameter to 0 value if given via modparam
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

8 weeks agoapp_jsdt: removed local implementation for KSR.pv sub-module
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

8 weeks agoapp_jsdt: handle functions that return xval and have up to two params
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

8 weeks agocore: kemi - prototypes for functions returning xval with 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

8 weeks agoims_registrar_pcscf: parse security verify header 1964/head
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.

8 weeks agocore: xavp - updated comments about vptr filed
Daniel-Constantin Mierla [Thu, 23 May 2019 08:01:14 +0000 (10:01 +0200)]
core: xavp - updated comments about vptr filed

8 weeks agocore: xvavp - new data type SR_XTYPE_SPTR
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()

2 months agocore: added a few variants for parsing IPv4/6 addresses
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

2 months agoims_registrar_scscf: changed str r_reginfo_s format: from 'version=%s ' to 'version...
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.

2 months agoapp_sqlang: skip registering KSR.pv from global list
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

2 months agoapp_ruby: skip registering KSR.pv from global list
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

2 months agoapp_python3: skip registering KSR.pv from global list
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

2 months agoapp_python: skip registering KSR.pv from global list
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

2 months agoapp_lua: skip registering KSR.pv from global list
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

2 months agoapp_jsdt: skip registering KSR.pv from global list
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

2 months agocore: kemi - added KSR.pv module in the global list
Daniel-Constantin Mierla [Wed, 22 May 2019 07:46:43 +0000 (09:46 +0200)]
core: kemi - added KSR.pv module in the global list

2 months agocore: copy discovered interface name only when its len is > 0
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

2 months agocore: kemi - functions for KSR.pv module implemented in core
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

2 months agocore: pv - exposed the function to return the str empty static variable
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

2 months agocore: kemi - changed SR_KEMIP_INTSTR to SR_KEMIP_XVAL
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

2 months agolcr: pass gw struct by pointer to dump_gw() function
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)

2 months agomodules: readme files regenerated - dispatcher ... [skip ci]
Kamailio Dev [Mon, 20 May 2019 15:16:42 +0000 (17:16 +0200)]
modules: readme files regenerated - dispatcher ... [skip ci]

2 months agodispatcher: docs - fixed typo in description for reload_delta
Daniel-Constantin Mierla [Mon, 20 May 2019 15:11:21 +0000 (17:11 +0200)]
dispatcher: docs - fixed typo in description for reload_delta

2 months agomodules: readme files regenerated - dispatcher ... [skip ci]
Kamailio Dev [Mon, 20 May 2019 09:46:45 +0000 (11:46 +0200)]
modules: readme files regenerated - dispatcher ... [skip ci]

2 months agortp_media_server: removed execution flag from source files and makefile
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

2 months agodispatcher: docs for reload_delta parameter
Daniel-Constantin Mierla [Mon, 20 May 2019 09:34:16 +0000 (11:34 +0200)]
dispatcher: docs for reload_delta parameter

- GH #1939

2 months agodispatcher: added reload_delta parameter
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)

2 months agotls: register SNI callback for server default profile
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

2 months agoMerge pull request #1958 from sergey-safarov/mips
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