sip-router
20 months agoMerge pull request #1707 from dunst0/fix/ims_diameter_server
Daniel-Constantin Mierla [Mon, 5 Nov 2018 13:49:05 +0000 (14:49 +0100)]
Merge pull request #1707 from dunst0/fix/ims_diameter_server

ims_diameter_server: fixing avp nested list #1686

20 months agoregex: fixed section ids for functions
Daniel-Constantin Mierla [Mon, 5 Nov 2018 11:53:06 +0000 (12:53 +0100)]
regex: fixed section ids for functions

- removed trailing whitespaces

20 months agoims_diameter_server: safety check for diameter message parameter
Daniel-Constantin Mierla [Mon, 5 Nov 2018 09:44:58 +0000 (10:44 +0100)]
ims_diameter_server: safety check for diameter message parameter

- GH #1686

20 months agoMerge pull request #1705 from sergey-safarov/mongodb
Daniel-Constantin Mierla [Mon, 5 Nov 2018 09:28:51 +0000 (10:28 +0100)]
Merge pull request #1705 from sergey-safarov/mongodb

pkg/kamailio/ops: Added MongoDB rpm package

20 months agorabbitmq: call function to release the amqp buffers
Daniel-Constantin Mierla [Mon, 5 Nov 2018 09:20:02 +0000 (10:20 +0100)]
rabbitmq: call function to release the amqp buffers

20 months agorabbitmq: renamed global variable, same name being used in some functions
Daniel-Constantin Mierla [Mon, 5 Nov 2018 08:29:01 +0000 (09:29 +0100)]
rabbitmq: renamed global variable, same name being used in some functions

- global variables made static

20 months agomisc/examples: use dedicated functions to test method types in kemi lua script
Daniel-Constantin Mierla [Sun, 4 Nov 2018 07:56:34 +0000 (08:56 +0100)]
misc/examples: use dedicated functions to test method types in kemi lua script

20 months agomisc/examples: check return code for has_totag() in kemi lua script
Daniel-Constantin Mierla [Sat, 3 Nov 2018 07:17:01 +0000 (08:17 +0100)]
misc/examples: check return code for has_totag() in kemi lua script

20 months agopkg/kamailio/obs: Fixed bdb module build on fedora dists 1705/head
Sergey Safarov [Sun, 4 Nov 2018 08:49:23 +0000 (08:49 +0000)]
pkg/kamailio/obs: Fixed bdb module build on fedora dists

20 months agoims_diameter_server: fixing avp nested list #1686 1707/head
Rick Barenthin [Sun, 4 Nov 2018 09:48:17 +0000 (10:48 +0100)]
ims_diameter_server: fixing avp nested list #1686

20 months agopkg/kamailio/ops: Added MongoDB rpm package
Sergey Safarov [Sat, 3 Nov 2018 22:15:26 +0000 (22:15 +0000)]
pkg/kamailio/ops: Added MongoDB rpm package

20 months agopkg/kamailio/obs: Updated obs meta
Sergey Safarov [Sun, 4 Nov 2018 00:00:44 +0000 (00:00 +0000)]
pkg/kamailio/obs: Updated obs meta

20 months agopkg/kamailio/obs: Removed end of life dist
Sergey Safarov [Sun, 4 Nov 2018 00:13:14 +0000 (00:13 +0000)]
pkg/kamailio/obs: Removed end of life dist

20 months agokazoo: add kz prefix to str_split utility function
Henning Westerholt [Thu, 1 Nov 2018 21:51:39 +0000 (22:51 +0100)]
kazoo: add kz prefix to str_split utility function

- add kz prefix to str_split utility function, to prevent overlapping with a
  function with similar name in the json module

20 months agopkg/kamailio/deb: version set to 5.2.0~pre2
Victor Seva [Fri, 2 Nov 2018 14:25:49 +0000 (15:25 +0100)]
pkg/kamailio/deb: version set to 5.2.0~pre2

20 months agoMerge pull request #1704 from micmac1/dp_replace
Daniel-Constantin Mierla [Fri, 2 Nov 2018 10:11:49 +0000 (11:11 +0100)]
Merge pull request #1704 from micmac1/dp_replace

dialplan: fix dp_replace() in cmd_export_t struct

20 months agoMakefile.defs: version set to 5.2.0-pre2
Daniel-Constantin Mierla [Fri, 2 Nov 2018 09:27:46 +0000 (10:27 +0100)]
Makefile.defs: version set to 5.2.0-pre2

20 months agodialplan: fix dp_replace() in cmd_export_t struct 1704/head
Sebastian Kemper [Fri, 2 Nov 2018 09:10:38 +0000 (10:10 +0100)]
dialplan: fix dp_replace() in cmd_export_t struct

In the struct 'int param_no' is set to '2'. But dp_replace() has actually three
parameters (dpid, inval, outvar), so kamailio's cfg parser fails when
dp_replace() is called:

yyparse(): cfg. parser: failed to find command dp_replace (params 3)
yyerror_at(): parse error in config file /etc/kamailio/kamailio.cfg, line 366, column 45: unknown command, missing loadmodule?

This commit fixes 'int param_no' to address this.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
20 months agomodules: readme files regenerated - db_redis ... [skip ci]
Kamailio Dev [Fri, 2 Nov 2018 08:16:27 +0000 (09:16 +0100)]
modules: readme files regenerated - db_redis ... [skip ci]

20 months agodb_redis: docs - added note that keys parameter must be specified
Daniel-Constantin Mierla [Fri, 2 Nov 2018 08:11:11 +0000 (09:11 +0100)]
db_redis: docs - added note that keys parameter must be specified

20 months agoacc_radius: fix generating duplicates for missed calls
Henning Westerholt [Thu, 1 Nov 2018 20:22:53 +0000 (21:22 +0100)]
acc_radius: fix generating duplicates for missed calls

- fix generating duplicates for missed calls (#GH1674)
- patch from Julien Chavanton jchavanton at gmail dot com

20 months agoacc_json: fix generating duplicates for missed calls
Henning Westerholt [Thu, 1 Nov 2018 20:22:42 +0000 (21:22 +0100)]
acc_json: fix generating duplicates for missed calls

- fix generating duplicates for missed calls (#GH1674)
- patch from Julien Chavanton jchavanton at gmail dot com

20 months agoacc_diameter: fix generating duplicates for missed calls
Henning Westerholt [Thu, 1 Nov 2018 20:22:26 +0000 (21:22 +0100)]
acc_diameter: fix generating duplicates for missed calls

- fix generating duplicates for missed calls (#GH1674)
- patch from Julien Chavanton jchavanton at gmail dot com

20 months agoacc: fix generating duplicates for missed calls
Henning Westerholt [Thu, 1 Nov 2018 20:21:28 +0000 (21:21 +0100)]
acc: fix generating duplicates for missed calls

- fix generating duplicates for missed calls (#GH1674)
- patch from Julien Chavanton jchavanton at gmail dot com

20 months agocore: add helper function for flag reset
Henning Westerholt [Thu, 1 Nov 2018 20:19:41 +0000 (21:19 +0100)]
core: add helper function for flag reset

- add helper function for flag reset (needed for bugfix in #GH1674)
- patch from: Julien Chavanton jchavanton at gmail dot com

20 months agoims_ipsec_pcscf: Fix a memory leak in add_security_server_header()
Tsvetomir Dimitrov [Wed, 31 Oct 2018 16:43:34 +0000 (18:43 +0200)]
ims_ipsec_pcscf: Fix a memory leak in add_security_server_header()

20 months agousrloc: call contact expired call back for a domain with db_mode: DB_ONLY (#1683)
adil-mafzool [Tue, 30 Oct 2018 20:23:23 +0000 (20:23 +0000)]
usrloc: call contact expired call back for a domain with db_mode: DB_ONLY (#1683)

* usrloc: call contact expired call back for a domain with db_mode: DB_ONLY
* usrloc: only execute funtion udomain_contact_expired_cb when db_mode is set as DB_ONLY
* usrloc: removed redundant function call mem_insert_urecord from udomain_contact_expired_cb

20 months agoMerge pull request #1693 from lbalaceanu/pdb_fixabrt
Lucian Balaceanu [Tue, 30 Oct 2018 08:38:29 +0000 (01:38 -0700)]
Merge pull request #1693 from lbalaceanu/pdb_fixabrt

pdb: fix SIGABRT in case of too long uris

20 months agorabbitmq: use fixup spve all
Daniel-Constantin Mierla [Tue, 30 Oct 2018 06:21:48 +0000 (07:21 +0100)]
rabbitmq: use fixup spve all

- allow tracking parameter number
- prefix to avoid conflict of common name function

20 months agopdb: fix SIGABRT in case of too long uris 1693/head
Lucian Balaceanu [Mon, 29 Oct 2018 09:54:45 +0000 (11:54 +0200)]
pdb: fix SIGABRT in case of too long uris

buf in pdb_msg_dbg should correctly accomodate for pdb_bdy size
pdb_hdr + pdb_bdy should add to pdb_hdr.length (max 255)

20 months agodialog: handle alias in contact address for local bye only when no route headers
Daniel-Constantin Mierla [Mon, 29 Oct 2018 06:27:58 +0000 (07:27 +0100)]
dialog: handle alias in contact address for local bye only when no route headers

- GH #1689

20 months agomodules: readme files regenerated - nsq ... [skip ci]
Kamailio Dev [Sat, 27 Oct 2018 13:46:44 +0000 (15:46 +0200)]
modules: readme files regenerated - nsq ... [skip ci]

20 months agoMerge pull request #1685 from kamailio/nsq-deprecate-duplicate-func
Emmanuel Schmidbauer [Sat, 27 Oct 2018 13:37:33 +0000 (09:37 -0400)]
Merge pull request #1685 from kamailio/nsq-deprecate-duplicate-func

nsq: deprecate json and pua funcs for json api and pua_json modules

20 months agouac: test if qop field has a list of values for remote auth challenge
Daniel-Constantin Mierla [Fri, 26 Oct 2018 07:21:57 +0000 (09:21 +0200)]
uac: test if qop field has a list of values for remote auth challenge

- GH #1684

20 months agocore: variables declared in the config file could cause memory corruption
mtirpak [Thu, 25 Oct 2018 11:43:36 +0000 (13:43 +0200)]
core: variables declared in the config file could cause memory corruption

The config variables that are declared in the config file were recorded
in the reverse order as their padding was calculated, which could cause
the allocated memory block to be smaller as required at the end.

Credits go to vinesinha.

20 months agoevapi: minor fix in tag length compare
dnadares [Thu, 25 Oct 2018 01:28:12 +0000 (22:28 -0300)]
evapi: minor fix in tag length compare

It was assigning the length instead of comparing it.

20 months agokex: safety check for accessing CSeq in per method stats
Daniel-Constantin Mierla [Thu, 25 Oct 2018 05:06:21 +0000 (07:06 +0200)]
kex: safety check for accessing CSeq in per method stats

- GH #1687

20 months agonsq: deprecate json and pua funcs for json api and pua_json modules nsq-deprecate-duplicate-func 1685/head
Emmanuel Schmidbauer [Wed, 24 Oct 2018 15:20:19 +0000 (11:20 -0400)]
nsq: deprecate json and pua funcs for json api and pua_json modules

20 months agomodules: readme files regenerated - topos ... [skip ci]
Kamailio Dev [Wed, 24 Oct 2018 13:01:48 +0000 (15:01 +0200)]
modules: readme files regenerated - topos ... [skip ci]

20 months agotopos: docs - replaced c&p topoh with topos
Daniel-Constantin Mierla [Wed, 24 Oct 2018 12:49:10 +0000 (14:49 +0200)]
topos: docs - replaced c&p topoh with topos

20 months agocore: cfg select - safety check accessing vars before initialization
Daniel-Constantin Mierla [Fri, 19 Oct 2018 09:33:18 +0000 (11:33 +0200)]
core: cfg select - safety check accessing vars before initialization

20 months agopkg/kamailio/deb: version set to 5.2.0~pre1
Victor Seva [Fri, 19 Oct 2018 08:36:52 +0000 (10:36 +0200)]
pkg/kamailio/deb: version set to 5.2.0~pre1

20 months agoMakefile.defs: version set to 5.2.0-pre1
Daniel-Constantin Mierla [Fri, 19 Oct 2018 07:50:46 +0000 (09:50 +0200)]
Makefile.defs: version set to 5.2.0-pre1

20 months agoims_ipsec_pcscf: free memory on errors and variable supported
Daniel-Constantin Mierla [Fri, 19 Oct 2018 07:36:00 +0000 (09:36 +0200)]
ims_ipsec_pcscf: free memory on errors and variable supported

20 months agocore: fake msg - added sip schema to From/To URIs
Daniel-Constantin Mierla [Fri, 19 Oct 2018 06:20:54 +0000 (08:20 +0200)]
core: fake msg - added sip schema to From/To URIs

20 months agocore: dns_cache - NAPTR rr_preference set to number for rpc output
Daniel-Constantin Mierla [Thu, 18 Oct 2018 16:10:33 +0000 (18:10 +0200)]
core: dns_cache - NAPTR rr_preference set to number for rpc output

- it was set to string, causing a crash
- reported by GH #1680

20 months agocore: info log at startup with number of precesses, pkg and shm sizes
Daniel-Constantin Mierla [Thu, 18 Oct 2018 08:13:08 +0000 (10:13 +0200)]
core: info log at startup with number of precesses, pkg and shm sizes

- useful to see if needed to troubleshoot by analyzing log messages

20 months agocore: init cfg framework before executing event_route[core:worker-one-init]
Daniel-Constantin Mierla [Thu, 18 Oct 2018 06:34:32 +0000 (08:34 +0200)]
core: init cfg framework before executing event_route[core:worker-one-init]

20 months agocore: [cfg] reset routename properly
Victor Seva [Wed, 17 Oct 2018 10:07:53 +0000 (12:07 +0200)]
core: [cfg] reset routename properly

solution for #1536 was not working

fix #1668

20 months agomodules: readme files regenerated - pipelimit ... [skip ci]
Kamailio Dev [Wed, 17 Oct 2018 11:46:27 +0000 (13:46 +0200)]
modules: readme files regenerated - pipelimit ... [skip ci]

20 months agopipelimit: docs - moved algoritm section out of overview
Daniel-Constantin Mierla [Wed, 17 Oct 2018 11:37:35 +0000 (13:37 +0200)]
pipelimit: docs - moved algoritm section out of overview

20 months agomodules: readme files regenerated - pipelimit ... [skip ci]
Kamailio Dev [Wed, 17 Oct 2018 11:01:32 +0000 (13:01 +0200)]
modules: readme files regenerated - pipelimit ... [skip ci]

20 months agopipelimit: docs for load_fetch parameter
Daniel-Constantin Mierla [Wed, 17 Oct 2018 10:50:58 +0000 (12:50 +0200)]
pipelimit: docs for load_fetch parameter

20 months agopipelimit: allow to disable fetching cpu and network load
Daniel-Constantin Mierla [Wed, 17 Oct 2018 10:47:16 +0000 (12:47 +0200)]
pipelimit: allow to disable fetching cpu and network load

- prevent usage of high cpu when related algoritms are not used
- can be controlled via load_fetch parameter
- GH #1675

20 months agomodules: readme files regenerated - pipelimit ... [skip ci]
Kamailio Dev [Wed, 17 Oct 2018 07:31:37 +0000 (09:31 +0200)]
modules: readme files regenerated - pipelimit ... [skip ci]

20 months agopipelimit: docs for timer_mode parameter
Daniel-Constantin Mierla [Wed, 17 Oct 2018 07:20:25 +0000 (09:20 +0200)]
pipelimit: docs for timer_mode parameter

20 months agopipelimit: allow offloading timer routine from fast timer to secondary wheel timer
Daniel-Constantin Mierla [Wed, 17 Oct 2018 07:13:59 +0000 (09:13 +0200)]
pipelimit: allow offloading timer routine from fast timer to secondary wheel timer

- reading cpu and network load from /proc/ file can be demanding
- can be controlled via timer_mode parameter
- GH #1675

20 months agopipelimit: execute timer routine per timer_interval
Daniel-Constantin Mierla [Wed, 17 Oct 2018 06:51:50 +0000 (08:51 +0200)]
pipelimit: execute timer routine per timer_interval

- reported by GH #1675 and GH #1671

20 months agosiputils: fixed condition for alphanum matching
Daniel-Constantin Mierla [Tue, 16 Oct 2018 10:04:02 +0000 (12:04 +0200)]
siputils: fixed condition for alphanum matching

20 months agomodules: readme files regenerated - siputils ... [skip ci]
Kamailio Dev [Tue, 16 Oct 2018 10:01:40 +0000 (12:01 +0200)]
modules: readme files regenerated - siputils ... [skip ci]

20 months agosiputils: docs - added missing parenthesis in example
Daniel-Constantin Mierla [Tue, 16 Oct 2018 09:45:51 +0000 (11:45 +0200)]
siputils: docs - added missing parenthesis in example

20 months agosmsops: free allocated structure in case of error handling
Daniel-Constantin Mierla [Mon, 15 Oct 2018 10:58:08 +0000 (12:58 +0200)]
smsops: free allocated structure in case of error handling

20 months agosiputils: exported to kemi the functions to check alpha numeric values
Daniel-Constantin Mierla [Mon, 15 Oct 2018 10:41:46 +0000 (12:41 +0200)]
siputils: exported to kemi the functions to check alpha numeric values

20 months agokamctl: man page - note about prefixing number params with 's:' to enforce string
Daniel-Constantin Mierla [Mon, 15 Oct 2018 10:20:23 +0000 (12:20 +0200)]
kamctl: man page - note about prefixing number params with 's:' to enforce string

20 months agoutils/kamcmd: man page - note about the suto-conversion of number parameters
Daniel-Constantin Mierla [Mon, 15 Oct 2018 10:03:43 +0000 (12:03 +0200)]
utils/kamcmd: man page - note about the suto-conversion of number parameters

20 months agomodules: readme files regenerated - dialplan ... [skip ci]
Kamailio Dev [Mon, 15 Oct 2018 06:31:54 +0000 (08:31 +0200)]
modules: readme files regenerated - dialplan ... [skip ci]

20 months agodialplan: note and example for prefixing string param with s: for rpc dialplan.translate
Daniel-Constantin Mierla [Mon, 15 Oct 2018 06:23:23 +0000 (08:23 +0200)]
dialplan: note and example for prefixing string param with s: for rpc dialplan.translate

20 months agopkg/kamailio: Fixed db_redis RPM packaging after ee95675177466a7ae5f9575db300df32e42661f2
Sergey Safarov [Sun, 14 Oct 2018 15:51:35 +0000 (15:51 +0000)]
pkg/kamailio: Fixed db_redis RPM packaging after ee95675177466a7ae5f9575db300df32e42661f2
Please look ticket #1676

20 months agoims_ipsec_pcscf: Fixes for some memory related issues
Tsvetomir Dimitrov [Fri, 12 Oct 2018 10:53:14 +0000 (10:53 +0000)]
ims_ipsec_pcscf: Fixes for some memory related issues

20 months agomodules: readme files regenerated - db_postgres ... [skip ci]
Kamailio Dev [Fri, 12 Oct 2018 00:16:29 +0000 (02:16 +0200)]
modules: readme files regenerated - db_postgres ... [skip ci]

20 months agodb_postgres: docs for bytea_output_escape
Daniel-Constantin Mierla [Fri, 12 Oct 2018 00:12:18 +0000 (02:12 +0200)]
db_postgres: docs for bytea_output_escape

20 months agodb_postgres: new parameter bytea_output_escape
Daniel-Constantin Mierla [Fri, 12 Oct 2018 00:09:21 +0000 (02:09 +0200)]
db_postgres: new parameter bytea_output_escape

- control escaping output for bytea fields
- default 1 (do the escape)

20 months agoMerge pull request #1672 from sergey-safarov/psql
Daniel-Constantin Mierla [Fri, 12 Oct 2018 00:02:24 +0000 (02:02 +0200)]
Merge pull request #1672 from sergey-safarov/psql

db_postgres: Fixed blob hex encoding (#1255)

20 months agoMerge pull request #1669 from micmac1/master-jsonrpc-portable
Daniel-Constantin Mierla [Thu, 11 Oct 2018 22:33:54 +0000 (00:33 +0200)]
Merge pull request #1669 from micmac1/master-jsonrpc-portable

kamctl: make jsonrpc filter portable

20 months agoadd code of conduct, as decided from the Kamailio management and admin team
Henning Westerholt [Thu, 11 Oct 2018 07:47:29 +0000 (09:47 +0200)]
add code of conduct, as decided from the Kamailio management and admin team

- add code of conduct, as decided from the Kamailio management and admin team
- this code of conduct was adapted from the Debian Code of Conduct
- several edits have been made from the team for readability and to fit to our project scope

20 months agoRevert "sl: new pv $ltt(key) - return local generated to tag"
Daniel-Constantin Mierla [Wed, 10 Oct 2018 10:01:22 +0000 (12:01 +0200)]
Revert "sl: new pv $ltt(key) - return local generated to tag"

This reverts commit 5d0494f9444b73a639a90c4ff2da933fb2d11d5d.

- mistakenly pushed in master, not personal branch

20 months agodb_postgres: Fixed blob hex encoding (#1255) 1672/head
Sergey Safarov [Sun, 7 Oct 2018 21:06:59 +0000 (21:06 +0000)]
db_postgres: Fixed blob hex encoding (#1255)

20 months agosl: new pv $ltt(key) - return local generated to tag
Daniel-Constantin Mierla [Tue, 9 Oct 2018 20:17:13 +0000 (22:17 +0200)]
sl: new pv $ltt(key) - return local generated to tag

- the to-tag used when kamailio sends a reply
- $ltt(s) - the to-tag used in stateless replies
- $ltt(t) - the to-tag used in transaction stateful replies (transaction
has to be created at that time, eg., by t_newtran() or in a
branch/failure route, otherwise it returns $null)
- $ltt(x) - $ltt(t) if the transaction was created already, otherwise
$ltt(s)

21 months agosiputils: exported is_user() and uri_param() variants to kemi framework
Daniel-Constantin Mierla [Mon, 8 Oct 2018 09:55:47 +0000 (11:55 +0200)]
siputils: exported is_user() and uri_param() variants to kemi framework

21 months agosiputils: exported is_uri() to kemi interface
Daniel-Constantin Mierla [Sun, 7 Oct 2018 07:59:01 +0000 (09:59 +0200)]
siputils: exported is_uri() to kemi interface

21 months agopkg/kamailio/deb: version set to 5.2.0~pre0
Victor Seva [Mon, 8 Oct 2018 07:12:24 +0000 (09:12 +0200)]
pkg/kamailio/deb: version set to 5.2.0~pre0

21 months agoMakefile.defs: improve and extend comment about compilation mode
Henning Westerholt [Sun, 7 Oct 2018 20:49:58 +0000 (22:49 +0200)]
Makefile.defs: improve and extend comment about compilation mode

21 months agokamctl: make jsonrpc filter portable 1669/head
Sebastian Kemper [Sun, 7 Oct 2018 16:54:39 +0000 (18:54 +0200)]
kamctl: make jsonrpc filter portable

The filter has a regex looking for a literal '{' in the beginning of a
line. Some awk implementations interpret this as a meta character, so
the regex is deemed broken. Example with busybox awk (POSIX):

root@hank2:~# kamctl ps
awk: bad regex '^{.+"id"[  ]*:[  ]*[0-9]+[  ]*}$': Invalid contents of {}
root@hank2:~#

To fix this enclose the character in square brackets. This always
matches for a literal '{' and is portable.

Signed-off-by: Sebastian Kemper <sebastian_ml@gmx.net>
21 months agocore: remove obselete parse_hostport functionality, deactivated since 2003
Henning Westerholt [Sun, 7 Oct 2018 08:29:46 +0000 (10:29 +0200)]
core: remove obselete parse_hostport functionality, deactivated since 2003

21 months agoenum: remove old and not compiling code block, deactivated with #ifdef since 2006
Henning Westerholt [Sun, 7 Oct 2018 08:02:03 +0000 (10:02 +0200)]
enum: remove old and not compiling code block, deactivated with #ifdef since 2006

21 months agocore: remove old code for BRANCH_IGNORE_3261_VIA and BRANCH_INCLUDE_FROMTO_BODY
Henning Westerholt [Sun, 7 Oct 2018 07:56:59 +0000 (09:56 +0200)]
core: remove old code for BRANCH_IGNORE_3261_VIA and BRANCH_INCLUDE_FROMTO_BODY

- remove old code for BRANCH_IGNORE_3261_VIA and BRANCH_INCLUDE_FROMTO_BODY
- this was used in pre-3.1 version times and deactivated in #ifdef since 2010

21 months agocore: remove a code block related to hash functions, deactivated with #ifdef since...
Henning Westerholt [Sun, 7 Oct 2018 07:48:05 +0000 (09:48 +0200)]
core: remove a code block related to hash functions, deactivated with #ifdef since 2002

21 months agocore: remove old and not working function, deactivated with an #ifdef since 2003
Henning Westerholt [Sun, 7 Oct 2018 07:38:24 +0000 (09:38 +0200)]
core: remove old and not working function, deactivated with an #ifdef since 2003

21 months agocore: MOD_KAMAILIO/MOD_SER DB URL defines, cleanup after commit #1f70d062b0b9cf1e
Henning Westerholt [Sun, 7 Oct 2018 07:28:39 +0000 (09:28 +0200)]
core: MOD_KAMAILIO/MOD_SER DB URL defines, cleanup after commit #1f70d062b0b9cf1e

21 months agoMakefile.modules: SER_MOD_INTERFACE/KAMAILIO_MOD_INTERFACE cleanup after commit ...
Henning Westerholt [Sun, 7 Oct 2018 07:27:30 +0000 (09:27 +0200)]
Makefile.modules: SER_MOD_INTERFACE/KAMAILIO_MOD_INTERFACE cleanup after commit #1f70d062b0b9cf1e

21 months agocdp: remove a SER_MOD_INTERFACE usage, cleanup after commit #1f70d062b0b9cf1e
Henning Westerholt [Sun, 7 Oct 2018 07:25:44 +0000 (09:25 +0200)]
cdp: remove a SER_MOD_INTERFACE usage, cleanup after commit #1f70d062b0b9cf1e

21 months agokam_to_sr.sh: add a note that this script is now obselete
Henning Westerholt [Sun, 7 Oct 2018 07:16:20 +0000 (09:16 +0200)]
kam_to_sr.sh: add a note that this script is now obselete

21 months agosiputils: use spve fixup instead of pvar
Daniel-Constantin Mierla [Sat, 6 Oct 2018 20:34:41 +0000 (22:34 +0200)]
siputils: use spve fixup instead of pvar

- it includes the later, plus more flexibility to allow static or
dynamic strings

21 months agoMakefile.defs: cleanup the CPUTYPE/mtune definitions for i386 and x86_64
Henning Westerholt [Sat, 6 Oct 2018 16:04:00 +0000 (18:04 +0200)]
Makefile.defs: cleanup the CPUTYPE/mtune definitions for i386 and x86_64

- Makefile.defs: cleanup the CPUTYPE/mtune definitions for i386 and x86_64
- revert change c925278b8ee3492f71a from 2011 for gcc SUSE 4.5.x, now not needed
- use for current gcc (>= gcc 4.2) the generic mtune, which is now available
- From the gcc manual:
  "Produce code optimized for the most common IA32/AMD64/EM64T processors.
  If you know the CPU on which your code will run, then you should use the
  corresponding -mtune or -march option instead of -mtune=generic. But, if
  you do not know exactly what CPU users of your application will have, then
  you should use this option.
  As new processors are deployed in the marketplace, the behavior of this
  option will change. Therefore, if you upgrade to a newer version of GCC,
  code generation controlled by this option will change to reflect the
  processors that are most common at the time that version of GCC is released.
- unify opteron usage, use equivalent athlon64 mtune for old compilers instead
- simplify x86_64 gcc logic, remove now redundant 4.2.x if case
- there should be no performance implications, as we compile without debugging
- we prefer right now to have proper debugging, this would break with agressive
  optimization

21 months agomodules: readme files regenerated - dispatcher ... [skip ci]
Kamailio Dev [Fri, 5 Oct 2018 19:46:30 +0000 (21:46 +0200)]
modules: readme files regenerated - dispatcher ... [skip ci]

21 months agopresence: small spelling fix (bellow -> below)
Henning Westerholt [Fri, 5 Oct 2018 19:39:37 +0000 (21:39 +0200)]
presence:  small spelling fix (bellow -> below)

21 months agotm: small spelling fix (bellow -> below)
Henning Westerholt [Fri, 5 Oct 2018 19:39:25 +0000 (21:39 +0200)]
tm: small spelling fix (bellow -> below)

21 months agodispatcher: small spelling fix (bellow -> below)
Henning Westerholt [Fri, 5 Oct 2018 19:39:10 +0000 (21:39 +0200)]
dispatcher:  small spelling fix (bellow -> below)

21 months agocore: small spelling fix (bellow -> below)
Henning Westerholt [Fri, 5 Oct 2018 19:38:27 +0000 (21:38 +0200)]
core:  small spelling fix (bellow -> below)

21 months agomisc: small spelling fix (bellow -> below)
Henning Westerholt [Fri, 5 Oct 2018 19:38:14 +0000 (21:38 +0200)]
misc:  small spelling fix (bellow -> below)