sip-router
5 years agomodules: readme files regenerated - rtpengine ... [skip ci]
Kamailio Dev [Thu, 4 May 2017 16:01:43 +0000 (18:01 +0200)]
modules: readme files regenerated - rtpengine ... [skip ci]

5 years agortpengine: Allow override of call_id, from/to tags
Huseyin Dikme [Thu, 4 May 2017 14:52:48 +0000 (10:52 -0400)]
rtpengine: Allow override of call_id, from/to tags

closes #1103

5 years agokazoo: split exchange/queue declarations
lazedo [Thu, 4 May 2017 14:53:17 +0000 (15:53 +0100)]
kazoo: split exchange/queue declarations

5 years agoauth: exported has_credentials() to kemi framework
Daniel-Constantin Mierla [Thu, 4 May 2017 05:31:41 +0000 (07:31 +0200)]
auth: exported has_credentials() to kemi framework

5 years agocall_control: exported functions to kemi framework
Daniel-Constantin Mierla [Thu, 4 May 2017 05:31:01 +0000 (07:31 +0200)]
call_control: exported functions to kemi framework

5 years agomodules: readme files regenerated - auth_ephemeral ... [skip ci]
Kamailio Dev [Wed, 3 May 2017 12:16:19 +0000 (14:16 +0200)]
modules: readme files regenerated - auth_ephemeral ... [skip ci]

5 years agoauth_ephemeral: Some more safety checks, added SHA384 as an option
Carsten Bock [Wed, 3 May 2017 12:15:56 +0000 (14:15 +0200)]
auth_ephemeral: Some more safety checks, added SHA384 as an option

5 years agostatsd: functions exported to kemi interface
Daniel-Constantin Mierla [Wed, 3 May 2017 06:37:39 +0000 (08:37 +0200)]
statsd: functions exported to kemi interface

5 years agostatsc: exported functions to kemi interface
Daniel-Constantin Mierla [Wed, 3 May 2017 06:23:25 +0000 (08:23 +0200)]
statsc: exported functions to kemi interface

5 years agostatistics: exported functions to kemi interface
Daniel-Constantin Mierla [Wed, 3 May 2017 06:18:57 +0000 (08:18 +0200)]
statistics: exported functions to kemi interface

5 years agosst: exported functions to kemi interface
Daniel-Constantin Mierla [Wed, 3 May 2017 06:07:03 +0000 (08:07 +0200)]
sst: exported functions to kemi interface

5 years agokazoo : fix json keys
lazedo [Wed, 3 May 2017 00:12:06 +0000 (01:12 +0100)]
kazoo : fix json keys

size of key and some refactoring

5 years agoMerge pull request #1115 from claudiupb/fix_redis_pipeline
Daniel-Constantin Mierla [Tue, 2 May 2017 15:48:52 +0000 (17:48 +0200)]
Merge pull request #1115 from claudiupb/fix_redis_pipeline

Fix redis pipeline

5 years agondb_redis: fix memory leak 1115/head
Claudiu Boriga [Fri, 28 Apr 2017 07:00:11 +0000 (10:00 +0300)]
ndb_redis: fix memory leak
  - fix memory leak when re-using a reply-id

5 years agondb_redis: fix connection problems with pipelining
Claudiu Boriga [Thu, 27 Apr 2017 14:05:25 +0000 (17:05 +0300)]
ndb_redis: fix connection problems with pipelining
  -fix problem when a connection with a REDIS server
   fails and the pipelined command line is lost,
   while a new connection will not be established

5 years agomodules: readme files regenerated - ndb_redis ... [skip ci]
Kamailio Dev [Tue, 2 May 2017 14:16:21 +0000 (16:16 +0200)]
modules: readme files regenerated - ndb_redis ... [skip ci]

5 years agoMerge pull request #1112 from claudiupb/redis_rm_execute
Daniel-Constantin Mierla [Tue, 2 May 2017 14:06:42 +0000 (16:06 +0200)]
Merge pull request #1112 from claudiupb/redis_rm_execute

Redis remove redis_execute() command with no arguments

5 years agouac: updates to fix compile time warnings
Daniel-Constantin Mierla [Tue, 2 May 2017 13:11:42 +0000 (15:11 +0200)]
uac: updates to fix compile time warnings

5 years agotm: fix warnings for compilation
Daniel-Constantin Mierla [Tue, 2 May 2017 13:11:23 +0000 (15:11 +0200)]
tm: fix warnings for compilation

5 years agotextopsx: remove unused variables
Daniel-Constantin Mierla [Tue, 2 May 2017 13:10:53 +0000 (15:10 +0200)]
textopsx: remove unused variables

5 years agoregistrar: fix compilation warnings
Daniel-Constantin Mierla [Tue, 2 May 2017 13:10:17 +0000 (15:10 +0200)]
registrar: fix compilation warnings

5 years agoevrexec: fixed the compile time warnings
Daniel-Constantin Mierla [Tue, 2 May 2017 13:09:49 +0000 (15:09 +0200)]
evrexec: fixed the compile time warnings

5 years agodomain: fix compilation warnings for kemi updates
Daniel-Constantin Mierla [Tue, 2 May 2017 13:09:22 +0000 (15:09 +0200)]
domain: fix compilation warnings for kemi updates

5 years agodiversion: fix compilation warnings
Daniel-Constantin Mierla [Tue, 2 May 2017 13:08:45 +0000 (15:08 +0200)]
diversion: fix compilation warnings

5 years agoalias_db: get rid of compilation warnings
Daniel-Constantin Mierla [Tue, 2 May 2017 13:08:20 +0000 (15:08 +0200)]
alias_db: get rid of compilation warnings

5 years agokazoo: missing sender alternative for presence
lazedo [Tue, 2 May 2017 12:15:08 +0000 (13:15 +0100)]
kazoo: missing sender alternative for presence

5 years agondb_redis: make redis_execute() return negative value on error 1112/head
Claudiu Boriga [Tue, 2 May 2017 12:13:55 +0000 (15:13 +0300)]
ndb_redis: make redis_execute() return negative value on error

5 years agondb_redis: remove redis_execute command with no arguments
Claudiu Boriga [Tue, 2 May 2017 08:09:00 +0000 (11:09 +0300)]
ndb_redis: remove redis_execute command with no arguments

5 years agoMerge pull request #1105 from sergey-safarov/spec_update9
Daniel-Constantin Mierla [Tue, 2 May 2017 12:09:31 +0000 (14:09 +0200)]
Merge pull request #1105 from sergey-safarov/spec_update9

pkg/kamailio/centos/7: mod kazoo enabled default build

5 years agocore: new parameter ip_free_bind
Daniel-Constantin Mierla [Tue, 2 May 2017 09:05:21 +0000 (11:05 +0200)]
core: new parameter ip_free_bind

- control if binding to non local ip should be attempted
- default is 0 (do not try to bind to non local ip address)

5 years agocore, sctp: check if IP_FREEBIND is defined
Daniel-Constantin Mierla [Tue, 2 May 2017 08:37:41 +0000 (10:37 +0200)]
core, sctp: check if IP_FREEBIND is defined

- not all os-es have it

5 years agoMerge pull request #1104 from sergey-safarov/FREEBIND
Daniel-Constantin Mierla [Tue, 2 May 2017 08:24:30 +0000 (10:24 +0200)]
Merge pull request #1104 from sergey-safarov/FREEBIND

src/core: Added IP_FREEBIND flag durring socket initialization

5 years agoMerge pull request #1110 from khoegh/master
Daniel-Constantin Mierla [Tue, 2 May 2017 08:17:11 +0000 (10:17 +0200)]
Merge pull request #1110 from khoegh/master

htable: Fix memory leak when reloading an empty htable from database

5 years agotm: retransmission management functions exported to kemi framework
Daniel-Constantin Mierla [Tue, 2 May 2017 06:26:14 +0000 (08:26 +0200)]
tm: retransmission management functions exported to kemi framework

5 years agodialog: exported dlg flags functions to kemi framework
Daniel-Constantin Mierla [Tue, 2 May 2017 06:25:37 +0000 (08:25 +0200)]
dialog: exported dlg flags functions to kemi framework

5 years agosqlops: exported functions to kemi framework
Daniel-Constantin Mierla [Tue, 2 May 2017 06:25:10 +0000 (08:25 +0200)]
sqlops: exported functions to kemi framework

5 years agoss7ops: exported functions to kemi framework
Daniel-Constantin Mierla [Tue, 2 May 2017 06:24:32 +0000 (08:24 +0200)]
ss7ops: exported functions to kemi framework

5 years agohtable: Fix memory leak when reloading an empty htable from database 1110/head
Kristian Høgh [Tue, 2 May 2017 05:43:54 +0000 (07:43 +0200)]
htable: Fix memory leak when reloading an empty htable from database

5 years agosst: fix flag condtion in sst_check_min()
Daniel-Constantin Mierla [Mon, 1 May 2017 20:20:32 +0000 (22:20 +0200)]
sst: fix flag condtion in sst_check_min()

5 years agouac: exported uac_reg functions to kemi interface
Daniel-Constantin Mierla [Mon, 1 May 2017 07:29:18 +0000 (09:29 +0200)]
uac: exported uac_reg functions to kemi interface

5 years agoregistrar: fixed typo in reg_free_contacts() kemi exports
Daniel-Constantin Mierla [Mon, 1 May 2017 07:14:27 +0000 (09:14 +0200)]
registrar: fixed typo in reg_free_contacts() kemi exports

5 years agouac: uac_reg functions use spve and igp fixup helpers
Daniel-Constantin Mierla [Mon, 1 May 2017 07:09:25 +0000 (09:09 +0200)]
uac: uac_reg functions use spve and igp fixup helpers

5 years agodiversion: fixed error log message
Daniel-Constantin Mierla [Mon, 1 May 2017 07:08:55 +0000 (09:08 +0200)]
diversion: fixed error log message

5 years agocore: fixup helper functions for spve and pvar parameters
Daniel-Constantin Mierla [Mon, 1 May 2017 07:06:01 +0000 (09:06 +0200)]
core: fixup helper functions for spve and pvar parameters

5 years agouac: exported replace from/to functions to kemi interface
Daniel-Constantin Mierla [Mon, 1 May 2017 06:44:51 +0000 (08:44 +0200)]
uac: exported replace from/to functions to kemi interface

5 years agoregistrar: more functions exported to kemi framework
Daniel-Constantin Mierla [Mon, 1 May 2017 06:08:28 +0000 (08:08 +0200)]
registrar: more functions exported to kemi framework

5 years agouac: uac_auth() and uac_req_send() exported to kemi framework
Daniel-Constantin Mierla [Mon, 1 May 2017 06:07:03 +0000 (08:07 +0200)]
uac: uac_auth() and uac_req_send() exported to kemi framework

5 years agoregistrar: extended docs about add_sock_hdr()
Daniel-Constantin Mierla [Sun, 30 Apr 2017 06:42:46 +0000 (08:42 +0200)]
registrar: extended docs about add_sock_hdr()

5 years agoregistrar: add_sock_hdr() uses spve fixup
Daniel-Constantin Mierla [Sun, 30 Apr 2017 06:40:23 +0000 (08:40 +0200)]
registrar: add_sock_hdr() uses spve fixup

5 years agopv: exported sbranch functions to kemi framework
Daniel-Constantin Mierla [Sun, 30 Apr 2017 06:28:00 +0000 (08:28 +0200)]
pv: exported sbranch functions to kemi framework

5 years agosrc/core: Added IP_FREEBIND flag durring socket initialization 1104/head
Sergey Safarov [Sat, 29 Apr 2017 14:08:53 +0000 (10:08 -0400)]
src/core: Added IP_FREEBIND flag durring socket initialization

5 years agopkg/kamailio/centos/7: mod kazoo enabled default build 1105/head
Sergey Safarov [Sat, 29 Apr 2017 15:19:51 +0000 (11:19 -0400)]
pkg/kamailio/centos/7: mod kazoo enabled default build

5 years agomodules: readme files regenerated - presence ... [skip ci]
Kamailio Dev [Sat, 29 Apr 2017 09:31:26 +0000 (11:31 +0200)]
modules: readme files regenerated - presence ... [skip ci]

5 years agopresence: more functions exported to kemi framework
Daniel-Constantin Mierla [Sat, 29 Apr 2017 09:25:51 +0000 (11:25 +0200)]
presence: more functions exported to kemi framework

5 years agopresence: documentation updates for pres_auth_status()
Daniel-Constantin Mierla [Sat, 29 Apr 2017 09:21:35 +0000 (11:21 +0200)]
presence: documentation updates for pres_auth_status()

5 years agopresence: use spve fixup for pres_auth_status()
Daniel-Constantin Mierla [Sat, 29 Apr 2017 09:07:46 +0000 (11:07 +0200)]
presence: use spve fixup for pres_auth_status()

- flexibility to provide static string values or variable parameters

5 years agotls: exported functions to kemi framework
Daniel-Constantin Mierla [Sat, 29 Apr 2017 06:33:34 +0000 (08:33 +0200)]
tls: exported functions to kemi framework

5 years agopua_usrloc: exported functions to kemi framework
Daniel-Constantin Mierla [Sat, 29 Apr 2017 06:33:07 +0000 (08:33 +0200)]
pua_usrloc: exported functions to kemi framework

5 years agopua: exported functions to kemi framework
Daniel-Constantin Mierla [Sat, 29 Apr 2017 06:32:21 +0000 (08:32 +0200)]
pua: exported functions to kemi framework

5 years agopresence_xml: exported functions to kemi framework
Daniel-Constantin Mierla [Sat, 29 Apr 2017 06:31:36 +0000 (08:31 +0200)]
presence_xml: exported functions to kemi framework

5 years agopresence: exported functions to kemi framework
Daniel-Constantin Mierla [Sat, 29 Apr 2017 06:31:15 +0000 (08:31 +0200)]
presence: exported functions to kemi framework

5 years agotopos: proper storing of b-side record routing
Daniel-Constantin Mierla [Fri, 28 Apr 2017 14:10:59 +0000 (16:10 +0200)]
topos: proper storing of b-side record routing

- special credits to Sergey Basov for troubleshooting

5 years agoutils: exported functions to kemi framework
Daniel-Constantin Mierla [Fri, 28 Apr 2017 09:20:17 +0000 (11:20 +0200)]
utils: exported functions to kemi framework

5 years agoutils: use spve fixup - more flexibility in allowing strings and variables
Daniel-Constantin Mierla [Fri, 28 Apr 2017 09:16:26 +0000 (11:16 +0200)]
utils: use spve fixup - more flexibility in allowing strings and variables

5 years agoxmlrpc: exported functions to kemi interface
Daniel-Constantin Mierla [Fri, 28 Apr 2017 08:55:50 +0000 (10:55 +0200)]
xmlrpc: exported functions to kemi interface

5 years agodb_cluster: free allocated structure at init time
Daniel-Constantin Mierla [Fri, 28 Apr 2017 07:35:41 +0000 (09:35 +0200)]
db_cluster: free allocated structure at init time

- avoid reopening driver db connections if already set

5 years agotls: add a level of libressl compatibility
Timo Teräs [Fri, 28 Apr 2017 07:06:01 +0000 (10:06 +0300)]
tls: add a level of libressl compatibility

libressl is the openbsd openssl fork that is getting more popular.
It defines OPENSSL_VERSION_NUMBER 0x20000000L and introduces a new
LIBRESSL_VERSION_NUMBER that reflects the true libressl version.

As openssl made major changes between 1.0.1 and 1.1.0, and libressl
being closer to 1.0.1 series, it needs to be specifically detected
in certain cases.

This commit updates the compat logic to implement missing api
functions as inline function where sensible needed in order to
minimize the #ifdef clutter and make the code more readable and
less prone to bugs.

5 years agohtable: close db connection in some error cases for rpc command
Daniel-Constantin Mierla [Fri, 28 Apr 2017 07:10:04 +0000 (09:10 +0200)]
htable: close db connection in some error cases for rpc command

5 years agoAdd and fix #includes for more strict POSIX compliance
Timo Teräs [Fri, 28 Apr 2017 06:58:50 +0000 (09:58 +0300)]
Add and fix #includes for more strict POSIX compliance

- sys/poll.h is non-standard, posix defines poll.h
- sys/time.h is needed in addition to time.h for e.g. struct timeval

Notable this fixes some build errors against musl libc

5 years agoMerge pull request #1101 from codyherzog/master
Daniel-Constantin Mierla [Fri, 28 Apr 2017 06:35:55 +0000 (08:35 +0200)]
Merge pull request #1101 from codyherzog/master

core: Don't terminate on harmless SIGCHLD.

5 years agoPackaging: Update Centos 7 Spec file
Carsten Bock [Fri, 28 Apr 2017 06:05:28 +0000 (08:05 +0200)]
Packaging: Update Centos 7 Spec file

5 years agocore: Don't terminate on harmless SIGCHLD. 1101/head
codyherzog [Thu, 27 Apr 2017 21:04:35 +0000 (14:04 -0700)]
core: Don't terminate on harmless SIGCHLD.

If it appears that no child process has stopped, then do not terminate
on SIGCHLD. Certain modules like app_python can run external scripts
which cause child processes to be started and stopped. That can result
in SIGCHLD being received even though there is no real problem.
Therefore, we do not terminate Kamailio unless we can find the child
process which has stopped.

5 years agoMerge pull request #1092 from sergey-safarov/spec_update8
Daniel-Constantin Mierla [Thu, 27 Apr 2017 21:02:35 +0000 (23:02 +0200)]
Merge pull request #1092 from sergey-safarov/spec_update8

pkg/kamailio/centos/7: Updated dependency lib name (librabbitmq)

5 years agousrloc: add more attributes to the result of ul.dump
shuntongzhang [Thu, 27 Apr 2017 20:55:52 +0000 (22:55 +0200)]
usrloc: add more attributes to the result of ul.dump

5 years agoimc: exported functions to kemi framework
Daniel-Constantin Mierla [Thu, 27 Apr 2017 19:43:33 +0000 (21:43 +0200)]
imc: exported functions to kemi framework

5 years agopkg/kamailio/deb: set LIBDIR for all rules
Victor Seva [Thu, 27 Apr 2017 17:05:35 +0000 (19:05 +0200)]
pkg/kamailio/deb: set LIBDIR for all rules

* default path to modules was wrong

Fix #1096

5 years agoexec: exported functions to kemi framework
Daniel-Constantin Mierla [Thu, 27 Apr 2017 06:26:54 +0000 (08:26 +0200)]
exec: exported functions to kemi framework

5 years agomodules: readme files regenerated - http_async_client ... [skip ci]
Kamailio Dev [Wed, 26 Apr 2017 20:46:22 +0000 (22:46 +0200)]
modules: readme files regenerated - http_async_client ... [skip ci]

5 years agohttp_async_client: doc review (request body setting)
Giacomo Vacca [Wed, 26 Apr 2017 20:35:58 +0000 (22:35 +0200)]
http_async_client: doc review (request body setting)

5 years agomodules: readme files regenerated - http_async_client ... [skip ci]
Kamailio Dev [Wed, 26 Apr 2017 20:16:22 +0000 (22:16 +0200)]
modules: readme files regenerated - http_async_client ... [skip ci]

5 years agohttp_async_client: doc review (payload setting)
Giacomo Vacca [Wed, 26 Apr 2017 20:12:43 +0000 (22:12 +0200)]
http_async_client: doc review (payload setting)

5 years agomodules: readme files regenerated - http_async_client ... [skip ci]
Kamailio Dev [Wed, 26 Apr 2017 08:01:27 +0000 (10:01 +0200)]
modules: readme files regenerated - http_async_client ... [skip ci]

5 years agoMerge pull request #1093 from kamailio/giavac/http_async_client_doc
Giacomo Vacca [Wed, 26 Apr 2017 07:47:17 +0000 (09:47 +0200)]
Merge pull request #1093 from kamailio/giavac/http_async_client_doc

http_async_client: doc review (old functions)

5 years agoenum: exported functions to kemi framework
Daniel-Constantin Mierla [Wed, 26 Apr 2017 05:53:18 +0000 (07:53 +0200)]
enum: exported functions to kemi framework

5 years agodiversion: fixed kemi parameter for add diversion with uri
Daniel-Constantin Mierla [Wed, 26 Apr 2017 05:52:54 +0000 (07:52 +0200)]
diversion: fixed kemi parameter for add diversion with uri

5 years agomodules: readme files regenerated - enum ... [skip ci]
Kamailio Dev [Wed, 26 Apr 2017 05:31:49 +0000 (07:31 +0200)]
modules: readme files regenerated - enum ... [skip ci]

5 years agoenum: updated docs about parameters of the functions
Daniel-Constantin Mierla [Wed, 26 Apr 2017 05:22:29 +0000 (07:22 +0200)]
enum: updated docs about parameters of the functions

5 years agoenum: use spve fixup to allow variables or static strings in functions
Daniel-Constantin Mierla [Wed, 26 Apr 2017 05:16:03 +0000 (07:16 +0200)]
enum: use spve fixup to allow variables or static strings in functions

5 years agodomain: exported functions to kemi framework
Daniel-Constantin Mierla [Wed, 26 Apr 2017 05:15:25 +0000 (07:15 +0200)]
domain: exported functions to kemi framework

5 years agocore: added helper function to free spve fixup parameters
Daniel-Constantin Mierla [Tue, 25 Apr 2017 20:08:48 +0000 (22:08 +0200)]
core: added helper function to free spve fixup parameters

5 years agoenum: coherent indentation and whitespacing using clang format
Daniel-Constantin Mierla [Tue, 25 Apr 2017 20:04:08 +0000 (22:04 +0200)]
enum: coherent indentation and whitespacing using clang format

5 years agohttp_async_client: doc review (old functions) 1093/head
Giacomo Vacca [Tue, 25 Apr 2017 20:36:14 +0000 (22:36 +0200)]
http_async_client: doc review (old functions)

5 years agomodules: readme files regenerated - domain ... [skip ci]
Kamailio Dev [Tue, 25 Apr 2017 16:31:21 +0000 (18:31 +0200)]
modules: readme files regenerated - domain ... [skip ci]

5 years agodomain: coheren indentation and whitespacing
Daniel-Constantin Mierla [Tue, 25 Apr 2017 16:17:56 +0000 (18:17 +0200)]
domain: coheren indentation and whitespacing

- formatted to clang-format specs

5 years agodomain: clarifications about string parameters in the docs
Daniel-Constantin Mierla [Tue, 25 Apr 2017 16:12:36 +0000 (18:12 +0200)]
domain: clarifications about string parameters in the docs

5 years agodomain: added section ids for parameters and functions in docs
Daniel-Constantin Mierla [Tue, 25 Apr 2017 16:07:19 +0000 (18:07 +0200)]
domain: added section ids for parameters and functions in docs

5 years agodomain: use core fixup helper functions for string parameters
Daniel-Constantin Mierla [Tue, 25 Apr 2017 16:02:25 +0000 (18:02 +0200)]
domain: use core fixup helper functions for string parameters

- simplifies getting the values and it is more flexible allowing static
  strings as well

5 years agodiversion: fixed name of cfg wrapper function
Daniel-Constantin Mierla [Tue, 25 Apr 2017 15:40:13 +0000 (17:40 +0200)]
diversion: fixed name of cfg wrapper function

5 years agodiversion: exported functions to kemi framework
Daniel-Constantin Mierla [Tue, 25 Apr 2017 14:34:57 +0000 (16:34 +0200)]
diversion: exported functions to kemi framework

5 years agocore: kemi - handle the case when a module is reloaded with different flags
Daniel-Constantin Mierla [Tue, 25 Apr 2017 13:36:48 +0000 (15:36 +0200)]
core: kemi - handle the case when a module is reloaded with different flags

- avoid having same module exported twice